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
IVprobit with Cluster option and F testDear Statalist users, I have a panel dataset for 15 years and my dependent variable is binary in na…
For each i, calculate median value of observations in the dataset whose value falls within an interval defined by i's valueHello! I have 430 observations, each of whom declare a GOAL time (in seconds), and whose FINISH tim…
How to select/specify variables to include in a table with descriptive statistics?Dear Stata Users, I run the following code to generate a table: Code: unab stubs : *_X local st…
How to convert timing format MM:SS:MS into numeric?Hi. I have trouble converting a timing format in MM:SS:MS into a numeric? -For example converting it…
Accumulating results with two conditionsHello, I have data about the video game industry and I would like to add a control variable that re…
Subscribe to:
Post Comments (Atom)
0 Response to Creating new variables by combining others on a Likert-scale
Post a Comment