Hi
I'm trying to use Stata's Tables.
But somehow I am getting the standard deviation twice:
What am I doing wrong?
I'm trying to use Stata's Tables.
But somehow I am getting the standard deviation twice:
Code:
. sysuse auto
(1978 automobile data)
. table rep78, stat(mean price) stat(sd price) command(_r_ci:mean price)
------------------------------------------------------------------------------------------------
| Mean Standard deviation mean price
| Mean Standard deviation Standard deviation 95% CI
-------------------+----------------------------------------------------------------------------
Repair record 1978 |
1 | 4564.5 522.5519 522.5519 -130.4427 9259.443
2 | 5967.625 3579.357 3579.357 2975.208 8960.042
3 | 6429.233 3525.14 3525.14 5112.924 7745.542
4 | 6071.5 1709.608 1709.608 5221.332 6921.668
5 | 5913 2615.763 2615.763 4155.707 7670.293
Total | 6146.043 2912.44 2912.44 5446.399 6845.688
------------------------------------------------------------------------------------------------


Comment