Dear altruists,
I am working on a dataset and to assess depression, we asked respondents 9 questions (adapted from brief PHQ-9). I have those 9 questions response in my dataset now. I want to generate a continuous variable from these 9 responses to calculate the mean score. Any help? I have attached the picture for better understanding.
*Pardon me if I have used any term/word wrongly. I am a new stata learner. Thanks in advance.
Array
Related Posts with Generating continuous variable from categorical responses
Stata commmands to analyze data where each record contains monthly totals: aggregate data problem but not really a wide to long solutionHi, I have some health centre data from Africa where each record consists of fields that represent …
Predictive Modeling using StataAny in depth books or tutorials on modeling with Stata that might be recommended? …
Dummy VariableHi, So I created a dummy variable by the following code: gen YearGroup = 0 replace YearGroup = 1 i…
How to handle missing data?Hi all, I am investigating health disparities in some Sub-Saharan Africa countries. Ethnicity is one…
Converting data to numericHi All, I have the following dataset: Code: * Example generated by -dataex-. To install: ssc ins…
Subscribe to:
Post Comments (Atom)
0 Response to Generating continuous variable from categorical responses
Post a Comment