I'm wondering if I did this correct.
I have 26 variables that are on a likert scale but only score from 0-3. I want to make three different groups out of these 26 questions and then calculate the mean, and sd. This is what I did:
gen Bulimia = c016c + c016d + c016i + c016r + c016u + c016y
gen Anorexia = c016a+ c016f+ c016g+ c016j+ c016k + c016l+ c016n+ c016p+ c016q + c016v + c016w + c016x + c016z
gen Binge = c016b +c016e+ c016m+ c016o + c016s +c016t
Did I do this correct and is this going to give me the desired outcome, or did I miss something?
In addition I would like to scale the variables like but I'm not sure how to do this, so if someone can give me a hint that would be amazing.
0-7 normal
8-11 mild
12-20 significant tendency
21-39 severe tendency
Thank you for your kind answer.
Best regards
Anna
Related Posts with Creating new variables by combining others on a Likert-scale
How margins handles the atmeans optionAsking my students to use the margins command after mlogit for computing marginal effects (using dyd…
egen mean_var = mean(var), by(xx & xx)Hi How do I generate a mean variable sorted by both year and origin? I want to generate the mean v…
-list- all variables but selected ones?I'm wondering if there is a way to -list- all variables excluding those that I select. Let's say, I …
Distribution of firms by industry (based on SIC codes)Hello, I wanted to see the distribution of firms in the various industry areas (based on the first 2…
Need help with destring/encode variable without changing name of the variableIs it possible to destring/encode a variable from string to numeric without changing the variable na…
Subscribe to:
Post Comments (Atom)
0 Response to Creating new variables by combining others on a Likert-scale
Post a Comment