Hello everyone,
browsing through the Stata manuals and the forum I could not find a way yet (without user-written commands) to display only selected summary statistics for a variable. Although I get all the information I need by using the summarize command, I would like to have a handy way to only display the data I really need. Namely: mean, median (=50th percentile), min, max, st. dev., number of observations. How would you do that?
Secondly, is there a way to change the summarize output from exponential to decimal? The variables are already formatted (format payments %10.2fc). Is it a limitation within Stata or would it be possible to display the full decimal value in the summarize output?
My output (with exponential values):
Thank you!
Best
browsing through the Stata manuals and the forum I could not find a way yet (without user-written commands) to display only selected summary statistics for a variable. Although I get all the information I need by using the summarize command, I would like to have a handy way to only display the data I really need. Namely: mean, median (=50th percentile), min, max, st. dev., number of observations. How would you do that?
Secondly, is there a way to change the summarize output from exponential to decimal? The variables are already formatted (format payments %10.2fc). Is it a limitation within Stata or would it be possible to display the full decimal value in the summarize output?
My output (with exponential values):
Code:
. sum payments, d f
Payments
-------------------------------------------------------------
Percentiles Smallest
1% 34.67 0.00
5% 201.93 0.00
10% 498.73 0.00 Obs 87501
25% 2,207.84 0.00 Sum of Wgt. 87501
50% 9,054.53 Mean 52,282.45
Largest Std. Dev. 300768.14
75% 30,926.83 1.51e+07
90% 88,559.99 1.56e+07 Variance 9.05e+10
95% 169976.95 1.56e+07 Skewness 29.88
99% 753000.00 1.61e+07 Kurtosis 1,277.10
Best

Comment