Dear all,
I am trying to calculate the standard deviation for 14 variables ( Q1, Q2,,Q14) and I use this command:
egen CFV_STD=sd inrange(Q1:Q14) but it is not working.
would anyone know the correct code in this case?
thank you so much for your help in advance.
0 Response to how to calculate the standard deviation for many variables in STATA
Post a Comment