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.
Related Posts with how to calculate the standard deviation for many variables in STATA
DateI am trying to generate a date in my work. I am only working with year intermissions between dates f…
system limit exceededOkay, so I have Stata version 16.0 and is running a firm-level innovation data of Zimbabwe. I have t…
Very high numbers when holding time fixed in regressionHi everyone, I am not sure if this is a coding question or not, but maybe I do something wrong when…
Using replace produces wrong resultDear all, I have this simplified dataset Code: * Example generated by -dataex-. To install: ssc in…
R-sqaured in multilevel analysisHi! For multilevel analysis, do you recommend to use AIC instead of mltrsq (Snijders-Bosker R-Square…
Subscribe to:
Post Comments (Atom)
0 Response to how to calculate the standard deviation for many variables in STATA
Post a Comment