Why does the result of 'ci proportions x' depend on the format of variable x? Very strange. Using version 15. See below:
. describe x
storage display value
variable name type format label variable label
-------------------------------------------------------------------------------------
x byte %8.0f Example variable
. tab x, missing
Example |
variable | Freq. Percent Cum.
------------+-----------------------------------
0 | 86,913 98.73 98.73
1 | 1,119 1.27 100.00
------------+-----------------------------------
Total | 88,032 100.00
. ci proportions x
-- Binomial Exact --
Variable | Obs Proportion Std. Err. [95% Conf. Interval]
-------------+---------------------------------------------------------------
x | 88,032 0 0 0 0
. format x %10.0g
. ci proportions x
-- Binomial Exact --
Variable | Obs Proportion Std. Err. [95% Conf. Interval]
-------------+---------------------------------------------------------------
x | 88,032 .0127113 .0003776 .0119817 .0134733
0 Response to Output of 'ci proportions' depends on variable format
Post a Comment