Skip to content
Prev 176217 / 398506 Next

Survey Package with Binary Data (no Standard Errors reported)

On Fri, 3 Apr 2009, Paul Jones wrote:

            
Are you sure you don't have any NA values in the data? If you do, the 
na.rm=TRUE option to svymean() will fix your problem. If you don't, 
something mysterious is happening. You could try svytable(~Curriculum, 
survey), which will give a tabulation and might show up what is strange 
about your data.

As a separate issue, you might want to look at svyciprop() if some of your 
proportions are close to 0 or 1, to get better confidence intervals.
Nothing obviously wrong with it.

 	-thomas
Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle