Em Sex 6 mai. 2016, às 06:20, kende jan via R-help escreveu: > Hi, I'd like to access to the different elements in a svyciprop object > (to the confidence intervals in particular...). But none of the functions > I know works.Thank you for your help !
I don't know what data set you are using, so for reproducibility I'm using the data set from the example in the function documentation. ===== library(survey) data(api) dclus1 <- svydesign(ids = ~ dnum, fpc = ~ fpc, data = apiclus1) grr <- svyciprop(~ I(ell == 0), dclus1, method = "likelihood") attr(grr, "ci") # 2.5% 97.5% # 0.0006639212 0.1077784084 ===== HTH, Leonardo Ferreira Fontenelle PhD candidate in epidemiology, Federal University of Pelotas Professor of medicine, Vila Velha University Legislative analyst in health, Municipal Chamber of Vitória ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.