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
Holtz-Eakin, Newey and Rosen regression on a lagged variableI have a variable operating income and I want to auto regress it on lagged operating income using th…
support - neophyte stataHello everybody! Can you please help me with the following problem? I have created an easy example…
Display p-values with psmatch2 commandDear Statalist, I am using Stata 16 and want to use the propensity score matching algorithm provide…
Creating a variable that is chosen from two different distributions with probability=0.5Hi there, I am trying to create a variable u with 1000 observations that is distributed according t…
Lagrange MultiplierWhat is the purpose of Lagrange Multiplication in Heteroscedasticity? …
Subscribe to:
Post Comments (Atom)
0 Response to Output of 'ci proportions' depends on variable format
Post a Comment