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
Hardware to optimize Stata speedHello. I am wondering what hardware specifications (CPU, HDD, RAM, etc.) one should aim to optimize …
Bar Chart QuestionHello, I'm looking to create a bar chart that represents the distribution of 3-year recidivism perc…
Coding a variable that takes account of previous observationsHi Statalist. I have created a categorical variable that represents the marital status of all coupl…
Instrumental Variable - Difference between included and excluded instrumentsHello all, I am trying to run an IV regression with the ivreg2 command I want to instument esg with…
Panel data estimator with small sample size, which to use?Dear all, I have an unbalanced panel (xtset id year) of 22 countries for 25 years (with total obser…
Subscribe to:
Post Comments (Atom)
0 Response to how to calculate the standard deviation for many variables in STATA
Post a Comment