Displaying 1 result from an estimated 1 matches for "ell0".
Did you mean:
ell
2012 Sep 21
1
Exactly Replicating Stata's Survey Data Confidence Intervals in R
...nd then displays a number of my failed attempts at hitting the numbers
right on the nose.
Thanks!!
Anthony Damico
Kaiser Family Foundation
* Stata/MP 11.2
* example stata code to replicate in R
use http://www.ats.ucla.edu/stat/stata/library/apiclus1, clear
svyset dnum [pw=pw], fpc(fpc)
gen ell0 = 1
replace ell0 = 0 if ell != 0
svy: mean ell0
* results of the final command above:
(running mean on estimation sample)
Survey: Mean estimation
Number of strata = 1 Number of obs = 183
Number of PSUs = 15 Population size = 9235.4...