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
Creating space between bar chartsHi, I am using Stata 17 and need help in bar charts. Below is an example of my dataset: Code: * E…
parsing a variable based on digitsDear All, I try to create a new variable (let's say caseid_copy) based on the original caseid. Howe…
Multilevel model with olog?I usally use the command: mixed dep_var || country_var: Problem is that my dependent variable is o…
how to calculate pseudo-R2 using imputed data in a multinomial logistic regressionDear all, I would like to calculate the pseudo-R2 for my multinomial logistic regression in multipl…
Replicating Excel Intercept/SlopeI have four variables, y1-y4 that I would like to regress on four fixed x's, x1-x4. (I have taken th…
Subscribe to:
Post Comments (Atom)
0 Response to Creating new variables by combining others on a Likert-scale
Post a Comment