Hello - hoping that someone could advise on the best coding for determining a "dimension" scoring on patient safety that is comprised of 12 sets of grouped survey questions on a Likert Scale.
In short, we have questions labelled A1, A3, A4, A11 on a 5-point Likert scale (responses 1-5) called "dimension 1). We are following a patient safety model in which each question is scored 1-5 and then a means is created for each question. Thus, I am able to create a means for each question using "mean A1" but am unable to add these means for a first dimension (d1).
Thus far, we've looked at the manuals and online and have tried:
by idnum, sort: egen d1 = mean(A1) ---> this works, but unable to add the other means for A3, A4, A11, and STATA does not output d1.
by idnum, sort: egen d1 = mean(A1)
This also does not work well:
generate d1 = mean A1 + mean A3 + mean A4 + mean A11
generage d1=sum (mean A1 A3 A4 A11)
Each respondent (n=80) has a unique value from 1-5, and we're trying to get a "mean of the mean" for the collective dimension 1.
Thank you for any insights.
In short, we have questions labelled A1, A3, A4, A11 on a 5-point Likert scale (responses 1-5) called "dimension 1). We are following a patient safety model in which each question is scored 1-5 and then a means is created for each question. Thus, I am able to create a means for each question using "mean A1" but am unable to add these means for a first dimension (d1).
Thus far, we've looked at the manuals and online and have tried:
by idnum, sort: egen d1 = mean(A1) ---> this works, but unable to add the other means for A3, A4, A11, and STATA does not output d1.
by idnum, sort: egen d1 = mean(A1)
This also does not work well:
generate d1 = mean A1 + mean A3 + mean A4 + mean A11
generage d1=sum (mean A1 A3 A4 A11)
Each respondent (n=80) has a unique value from 1-5, and we're trying to get a "mean of the mean" for the collective dimension 1.
Thank you for any insights.
Comment