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
Related Posts with Output of 'ci proportions' depends on variable format
Splitting a string variable into observations (instead of variables)Hi everyone I have two datasets. The master data include, among others, a list of (numeric) zip cod…
table with coefficients from regressionsHello With the following code I am able to run the regressions and get the constant and the t-stati…
Measuring the strength of instruments using WeakivtestI'm interesting in estimating Montiel-Pflueger-style 'effective' F stats for a series of panel model…
Program to label variables from list of words - How to use fewer single and double quotesI am used to make reusable programs, and find myself having issues with how I use the local single q…
syntax of forecast errorHi all, I am currently working on a state-dependent fiscal multiplier using forecast error to ident…
Subscribe to:
Post Comments (Atom)
0 Response to Output of 'ci proportions' depends on variable format
Post a Comment