Dear Forum Users;
I have been trying to calculate the absolute coefficient of variation for two different variables and need to keep the results as new variables to be used in the regression.
The following command seemingly works yet I cannot store the outcome as a variable.
tabstat var, statistics(n mean cv) by(group_var1)
Could you please help me about how to keep the results as a new variable?
I hope my question makes sense to you.
Related Posts with Absolute coefficient of variation as a new variable
Collapsing observations in different rowsHi everybody I have some data this way: SP_E_CONSECUTIVO SP_Y_ESP_ENSEÑAR SP_Y_ESP_EVALUAR SP_Y_…
PPML estimation with bilateral trade agreement dummies.Hello everyone! I am applying PPML estimation to analyze the impact of two trade agreements (both b…
Seeking help with unbalanced panel data analysisHi, I have recently analyzed an unbalanced panel data, but since it is my first time to work with su…
How to deal with treatment assignment times vary problem in STATA17?Dear all Statalist experts, today I read the new function of Difference-in-Difference test from STAT…
Confusion about the example in STATA help file of didregressToday I read the detail description of didregress from STATA. from page 6 and 7, there is a point th…
Subscribe to:
Post Comments (Atom)
0 Response to Absolute coefficient of variation as a new variable
Post a Comment