Hi guys,
I need to create a descriptive statistics table on a dummy variable. With the tab(...), sum(...) I am able to get to the mean and st. deviations, but I also want the number of observations, minimums and maximums. This I get by just summarizing the variables, but then it is not sorted by the dummy (1 or 0).
So is there an expansion to this tab, sum command to get to the more detailed summary statistics?
Related Posts with Detailed summary statistics with dummy variables
How to get AIC/BIC after fitting mixed lear regression on imputed dataI am wondering if any body would help me in getting AIC?BIC for multiple imputed data and analyzed u…
If else loop in StataHi, I wrote a code like if x=="x1"|x=="x2" { replace z=y replace a=b } However, it did not work. I…
How to construct a 95% confidence interval for a solved regression equation?I have solved a regression equation in order to find a CEO's salary after ten years. The equation is…
How can I make a look to count the number of household member whose age is under 18?Hello, I am trying to generate the variable that captures the number of members whose age is under …
SEM: Panel analysesDear all, I´m using data from a Panel Study and working with two main latent variables (X and Y) th…
Subscribe to:
Post Comments (Atom)
0 Response to Detailed summary statistics with dummy variables
Post a Comment