/* Code for SF-6D from version 2 of the SF-12. Uses values from Brazier JE, Roberts JR. The Estimation of a Preference-Based Measure of Health From the SF-12. Medical Care. 42:9;851-859 This code uses values from table 4. Presumes the conversion from 5 to 2 role categories is the same as for the SF-36 version. sf2 = moderate activities where 1="limited a lot" to 3="not limited at all" sf5 = physical limits kind of work where 1="all of the time" to 5="none of the time" sf6 = emotional accomplish less where 1="all of the time" to 5="none of the time" sf8 = pain interferes with work where 1="not at all" to 5="extremely" sf10 = lots of energy where 1="all the time" to 5="none of the time" sf11 = downhearted where 1="all the time" to 5="none of the time" sf12 = social activities where 1="all the time" to 5="none of the time" */ data sf6d12 ; set 'C:\. . .'; run; /*recode 5 item response in version2 to 2 item response of version1 */ data sf6d12; set sf6d12; if 0