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
Estpost summarize yields wrong number of observationsHello all, I ran this simple command below to create a table of summary statistics. My data set has…
why I would have different number of cases between models with MI'd data (possibly because of collinear dependencies of one varaible)? Hi Statalist, I am running three logistic models with the same DV with Stata 12. Model 1 has all va…
subset of local marcoDear all, I want to test the equality of coefficients in quantile regression model using loop. The c…
How to create a time dimension in one cross-sectional dataset with individual ID, more than one job, each with a starting and ending yearHow to create a time dimension in one cross-sectional dataset with individual ID, more than one job,…
Problem of handling missing dataHi everyone, I am currently working on looking at the impact of intellectual property rights on the …
Subscribe to:
Post Comments (Atom)
0 Response to Absolute coefficient of variation as a new variable
Post a Comment