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
Industry as a control variablesHello, I'm doing my master thesis and I'm using a multitple linear regression. I'm regressing CSR pe…
Identifying duplicates within groups based on two variables in reverse orderDear all, I matched 2 datasets using the joinby command on the variable "project_id". The result is…
IVprobit (opposit signs of first step regression to a simple regression)Hi All Code: ivprobit Y (X=religioniv) CONTROLS i.isic i.ccode, vce(robust) When I use ivprobit mo…
Missing variables when downloading with wbopendataHi all, I am trying to re-download the complete WDI dataset, so as to have data from more recent yea…
Problem with ConditionsDear Statalist, I am analyzing a dataset that incorporates a directed-dyad year unit of analysis. Bu…
Subscribe to:
Post Comments (Atom)
0 Response to how to calculate the standard deviation for many variables in STATA
Post a Comment