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
Problem with Mundlak approachDear all, I am pretty new to Stata and just beginning my research journey. I am trying to estimate…
Interpreting a time variant covariate in a linear mixed effects modelHello, I am looking for some help with interpreting the coefficients in a linear mixed effects mode…
Creating a new date variable and converting it to %td formatHi all, I have a hopefully simple formatting question for dates. Most resources I've found on dates…
In space placebo error: variable does not existHi all, First of all, the best wishes for 2023! I am struggling with my last placebo test (in-sp…
Collinearity problem DiDHello, I have this data. I'm trying to run a placebo DiD. Pre-treatment =2018. Some of the drugs go…
Subscribe to:
Post Comments (Atom)
0 Response to how to calculate the standard deviation for many variables in STATA
Post a Comment