Dear Statalists,
I have a survey data that contains categorical variables in the Likert scale (typically 5 categories between strongly agree- strongly disagree). I would like to calculate a kind of average weighted scores by assigning values for each response categories, then, dividing it by a total number of observations. The values assigned as follows:
Category The value that will be assigned
1 - Strongly disagree -2
2 – Disagree -1
3 – Neither disagree nor agree 0
4 – Agree +1
5 – Disagree +2
Now I want to calculate an average weighted score for each variable like this:
Average weighted score = (All Strongly disagrees * -2) +(All Disagrees * -1)+ (All NDNAs * 0)+ (All Agrees * +1)+ (All Strongly agrees * +2) / Total number of frequency
I could not figure out how to do that easily in Stata.
I will be grateful for any help and advice.
Best regards,
Savas
Related Posts with average weighted scores
Fixed Effects Poisson Cluster at Higher LevelDear Community, I need to run a Poisson regression, control for firm fixed effects, year fixed effe…
Repeated Measures mlogitHi there, I have been reading the forum on repeated measures/panel style data and the use of mlogit.…
higher polynomial1) Y= X1+ X1*X1+X2 + X1*X2 + (X2)*(X1*X1) i.e. adding not only the interaction with the low level X1…
For excel outputs related to pwcorr command.Dear all I have done a correlation analysis based on "pwcorr" command for my panel data. I used the …
unzipfile issueHello to all, I am trying to unzip a file, "LFSDATA2010-2014.zip" . I am using Stata 14.0. But Stata…
Subscribe to:
Post Comments (Atom)
0 Response to average weighted scores
Post a Comment