Hi all,
I'm trying to combine the responses of several variables into one like a Guttman scale of sorts. I've been trying to search the internet, but I can't find anything that is working the way I want it to! Basically, I'd like to create a variable that shows if people support abortion with the following three questions. Each question asks if they would support abortion under different circumstances (1=yes and 2=no). I'd like to produce a variable that adds up all the responses so I can get a variable that tells me an overall support or against of abortion with these three questions. How can I do this? I read that I could use the group command, but my stata couldn't find this command! THANK YOU
. tab abany
ABORTION IF |
WOMAN WANTS |
FOR ANY |
REASON | Freq. Percent Cum.
------------+-----------------------------------
1 | 547 36.93 36.93
no | 934 63.07 100.00
------------+-----------------------------------
Total | 1,481 100.00
. tab abrape
PREGNANT AS |
RESULT OF |
RAPE | Freq. Percent Cum.
------------+-----------------------------------
1 | 1,197 81.21 81.21
no | 277 18.79 100.00
------------+-----------------------------------
Total | 1,474 100.00
. tab absingle
NOT MARRIED | Freq. Percent Cum.
------------+-----------------------------------
1 | 612 41.18 41.18
no | 874 58.82 100.00
------------+-----------------------------------
Total | 1,486 100.00
I'm trying to combine the responses of several variables into one like a Guttman scale of sorts. I've been trying to search the internet, but I can't find anything that is working the way I want it to! Basically, I'd like to create a variable that shows if people support abortion with the following three questions. Each question asks if they would support abortion under different circumstances (1=yes and 2=no). I'd like to produce a variable that adds up all the responses so I can get a variable that tells me an overall support or against of abortion with these three questions. How can I do this? I read that I could use the group command, but my stata couldn't find this command! THANK YOU
. tab abany
ABORTION IF |
WOMAN WANTS |
FOR ANY |
REASON | Freq. Percent Cum.
------------+-----------------------------------
1 | 547 36.93 36.93
no | 934 63.07 100.00
------------+-----------------------------------
Total | 1,481 100.00
. tab abrape
PREGNANT AS |
RESULT OF |
RAPE | Freq. Percent Cum.
------------+-----------------------------------
1 | 1,197 81.21 81.21
no | 277 18.79 100.00
------------+-----------------------------------
Total | 1,474 100.00
. tab absingle
NOT MARRIED | Freq. Percent Cum.
------------+-----------------------------------
1 | 612 41.18 41.18
no | 874 58.82 100.00
------------+-----------------------------------
Total | 1,486 100.00
Comment