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
Error message "Maximum numbers of iterations exceeded"Hello, I am in the process of building a regression model with a DV (q_tot), an IV (rdalliances), a…
Test for heteroskedasticity after spxtregressThe spatial Stata manual (https://www.stata.com/manuals/sp.pdf) makes clear that heteroskedasticity …
How to replace value of a variable in one round with its value in a previous round ?Hi all, Please consider the following sample data Code: * Example generated by -dataex-. To insta…
How To Count Identical Values As One Without DroppingDear Stata Community, I'm trying to 'count the number of years each person attended the conference …
Multiple subgroup meta-analysisGood evening, I want to do a meta-analysis of multiple subgroups. Code: * Example generated by -da…
Subscribe to:
Post Comments (Atom)
0 Response to Absolute coefficient of variation as a new variable
Post a Comment