On Dec 10, 2009, at 1:41 PM, Brad Fulton wrote:


Does the survey package have a function similar to prop.test() Or is there a way to use svyciprop() to perform a Chi-square test to see if the difference
in proportions is significant?

That would only give you CIs around the separate proportions and you want a CI around the difference (or odds ratio).


I'm comparing liberal congregations with conservative congregations in their sponsorship of HIV/AIDS programs. I want to test whether the proportion of liberal congregations sponsoring a program is significantly different from
the proportion of conservative congregations sponsoring a program.

I would have thought that one of the other methods in that package would have been chosen:

svyglm                  Survey-weighted generalised linear models.
svychisq                Tests for two-way tables

..setting up a logistic regression model (or what should be an comparable test with svychisq if no covariates are used) with sponsorship as the l.h.s. outcome and liberal/conservative as a factor on the r.h.s. of the formula.

--
David.

Thanks

Brad


Thomas Lumley wrote:


Version 3.18 of the survey package is now percolating through CRAN.

Since the last announcement on this list, in February, the main additions
are
 - svyciprop() for confidence intervals on proportions, especially in
small samples or near 0 or 1.
        -thomas

Thomas Lumley                   Assoc. Professor, Biostatistics
tlum...@u.washington.edu        University of Washington, Seattle

_______________________________________________
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages

______________________________________________
R-help@r-project.org mailing list
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.



--
View this message in context: 
http://n4.nabble.com/R-pkgs-survey-package-3-18-tp904297p957421.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to