Skip to content
Prev 306088 / 398506 Next

Exactly Replicating Stata's Survey Data Confidence Intervals in R

On Sat, Sep 22, 2012 at 2:51 AM, Anthony Damico <ajdamico at gmail.com> wrote:

            
This matches
2.5%   97.5%
I(ell == 0)  0.0218579 -0.0266624 0.07038

as does this
2.5 %        97.5 %
I(ell == 0)FALSE  0.92962174505 1.02666240796
I(ell == 0)TRUE  -0.02666240796 0.07037825495

The df= argument is not explicitly documented in ?svyciprop, but it is
in ?confint.svystat and ?svymean

[I was slowed down a bit by the claim that the Stata intervals were
asymmetric, but in fact they aren't]

   -thomas