|
Post by khangkhong on Nov 17, 2019 14:55:01 GMT
Hi, I would like to have two different scoring and interpretation of a single questionnaire. The options are:
Original coding. 0 = Did not happen/not applicable to me
1 = It happened, and it bothered me NOT AT ALL
2 = It happened, and it bothered me A LITTLE BIT
3 = It happened, and it bothered me MODERATELY
4 = It happened, and it bothered me QUITE A BIT
5 = It happened, and it bothered me EXTREMELY
RECODE: A. 0 = Did not happen/not applicable to me
1 = It happened, and it bothered me NOT AT ALL
1 = It happened, and it bothered me A LITTLE BIT
1 = It happened, and it bothered me MODERATELY
1 = It happened, and it bothered me QUITE A BIT
1 = It happened, and it bothered me EXTREMELY
B. 1 = Did not happen/not applicable to me
1 = It happened, and it bothered me NOT AT ALL
2 = It happened, and it bothered me A LITTLE BIT
3 = It happened, and it bothered me MODERATELY
4 = It happened, and it bothered me QUITE A BIT
5 = It happened, and it bothered me EXTREMELY
The instructions are:
Scoring: The measure can be scored two ways:
1. Occurrence: Responses are recoded 0 = 0 (did not occur) and 1 through 5 = 1 (did occur). Items are then summed for a total score indicating how many of these experiences participants have had.
2. Distress: Responses are recoded so that 0 and 1 = 1 (did not bother) and the rest of the responses remain the same. A mean is then computed for responses to all items, indicating the mean level of distress participant feels related to these experiences.
I would like to score the questionnaire both ways and would show the scoring for Occurrence and Distress.
How do I go about coding this?
|
|
|
Post by PsyToolkit on Nov 19, 2019 10:45:25 GMT
To do this, you need to use the "set" question type. So first you have your scale question. Then you would have set questions, see documentation here: www.psytoolkit.org/doc2.6.1/online-survey-syntax.html#scoringFor example, for your recoding of 0 vs 1, you could do this: scale: - Did not happen/not applicable to me - It happened, and it bothered me NOT AT ALL - It happened, and it bothered me A LITTLE BIT - It happened, and it bothered me MODERATELY - It happened, and it bothered me QUITE A BIT - It happened, and it bothered me EXTREMELY
l: my_question t: scale - Dogs bit me - Being attacked by bullies - Arrested by police
l: dogs_bit_me_recoded t: set - if $my_question.1 == 1 then 0 - if $my_question.1 > 1 then 1etcetera
Please check if that works. If not contact me via psytoolkit@gmx.com
|
|
|
Post by khangkhong on Nov 21, 2019 3:32:33 GMT
This is what I made this based on your example.
scale: one - Did not happen - It happened - It always happens
l: my_question t: scale one o: width 65% q: choices - Dogs bit me - Being attacked by bullies - Arrested by police
l: dogs_bit_me_recoded t: set - sum $my_question.1 $my_question.2 $my_question.3
l: recode t: set - if $my_question.1 == 1 then 0 - if $my_question.1 > 1 then 1 - if $my_question.2 == 1 then 0 - if $my_question.2 > 1 then 1 - if $my_question.3 == 1 then 0 - if $my_question.3 > 1 then 1 - sum $my_question.1 $my_question.2 $my_question.3
l: feedback0 t: info q: Your score is <b>{$dogs_bit_me_recoded}.</b><br> Your recoded score is <b>{$recode}.</b><br>
The output for $dogs_bit_me_recoded is 4.0 and 0 for $recode. I chose 1. Did not happen, 2.Did not happen, and 3. It happened
My code does not work. I want the $recode to output 1.0 based on my choices.
What I want to do is output the $recode to reflect the recoded score. From what I understood in the code I did was if I answered "Did not happen" in any of the questions it should count as 0 in the "recode" part and 1 if I choose the other two choices. But it doesn't work. $recode only outputs 0. Please help.
What I want to do is compute the original responses and print it on the screen and have another computation of the scores based on the same responses printed on the screen. So basically a respondent does a single questionnaire and have 2 different results.
Please help.
|
|