Anyone could help understand and make sense of a standard code below? I have a survey data that has 8 items (series of questions). I chose one of them (PF=physical functionality) for demo purpose and attached for sample data. It's consisted of 10 questions (PF01-PF10) and has 3 response options. 0-No, not limited at all 1-Yes, limited a little 2-Yes, limited a lot I'd like to score the responses and below is the standard code recommended. ARRAY PFI(10) PF01-PF10;
PFNUM = N(OF PF01-PF10);
IF PFNUM GE 5 THEN RAWPF = SUM(OF PF01-PF10);
PF = ((RAWPF - 10)/(30-10)) * 100;
LABEL PF = 'PHYSICAL FUNCTIONING (0-100)'
RAWPF = 'RAW PHYSICAL FUNCTIONING'; i'm fine with this part to treat the subject's response for the item missing unless responded to mor ethan 5 out of 10 questions. IF PFNUM GE 5 THEN However, the code part below doesn't make sense to me. PF = ((RAWPF - 10)/(30-10)) * 100; I keep asking myself: Overall, how part: PF = ((RAWPF - 10)/(30-10)) * 100; make sense, conceptually? Why would you subtract levels of series of question (10) from the total amount of response values (RAWPF) ? Why would you subtract levels of series of question (10) from the total number of possible responses (10*3=30)? Anyone experienced in scoring survey data? and let me know if this approach makes sense to you? if yes, do you mind explaining how? if not, any better approach you'd recommend? I did a lit review with no success yet. Once all responses are scored I will Z-transform them so that standardized response scores can be summed across different items.
... View more