Hello,
I need to combine these two variables, sdh ( depression) and thsuci (suicide), to create one variable. In sdh and thsuci, 1 indicates "No," and 2 " Indicates "Yes".
. tab sdh
Felt sad, |
depressed |
or hopeless | Freq. Percent Cum.
------------+-----------------------------------
No | 231 40.03 40.03
Yes | 346 59.97 100.00
------------+-----------------------------------
Total | 577 100.00
. tab thsuci
Thought to |
commit |
suicide | Freq. Percent Cum.
------------+-----------------------------------
No | 534 92.07 92.07
Yes | 46 7.93 100.00
------------+-----------------------------------
Total | 580 100.00
Thank you for your help.
I need to combine these two variables, sdh ( depression) and thsuci (suicide), to create one variable. In sdh and thsuci, 1 indicates "No," and 2 " Indicates "Yes".
. tab sdh
Felt sad, |
depressed |
or hopeless | Freq. Percent Cum.
------------+-----------------------------------
No | 231 40.03 40.03
Yes | 346 59.97 100.00
------------+-----------------------------------
Total | 577 100.00
. tab thsuci
Thought to |
commit |
suicide | Freq. Percent Cum.
------------+-----------------------------------
No | 534 92.07 92.07
Yes | 46 7.93 100.00
------------+-----------------------------------
Total | 580 100.00
Thank you for your help.
Comment