Re: [R] Generating a model fitness score when using svyglm?

2010-04-28 Thread Brad Fulton
So are you saying that one way to estimate goodness of fit would be to run each of models using glm() and compare their BIC scores? Is there a recommended way to demonstrate improvements in goodness of fit when using svyglm? Thanks Brad -- View this message in context: http://r.789695.n4.nabb

[R] Generating a model fitness when score using svyglm?

2010-04-28 Thread Brad Fulton
Does anyone know how to calculated a BIC score (or an equivalent model fitness score) when using svyglm for logistic regressions? Thanks Brad -- View this message in context: http://r.789695.n4.nabble.com/Generating-a-model-fitness-when-score-using-svyglm-tp2069280p2069280.html Sent from the R

Re: [R] [R-pkgs] survey package (3.18)

2009-12-10 Thread Brad Fulton
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? I'm comparing liberal congregations with conservative congregations in their sponsorship of HIV/AIDS programs.

[R] Error in describe Unused Argument(s)

2009-11-09 Thread Fulton
I'm using the describe function in (Hmisc) with survey data. When I run this command: describe(NCS,weights=NCS$w1) I get this error message: Error in describe(NCS, weights = NCS$w1) : unused argument(s) (weights = c(2.49460916442049,... Do you know why it is not using the weights argument?

[R] Weighted Logistic Regressions using svyglm

2009-10-19 Thread Fulton
I’m running some logistic regressions and I’ve been trying to include weights in the equation. However, when I run the model, I get this warning message: Here’s what it says: Warning message: In eval(expr, envir, enclos) : non-integer #successes in a binomial glm! I think it is because the w