[R] Weighted Logistic Regressions using svyglm
Brad.Fulton at duke.edu
Tue Oct 20 06:19:40 CEST 2009
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 weights are non-integer values.
What is a good way to run logistic regressions in R when using non-integer
I’ve attached the output from the R console of the two different methods
The first regression is unweighted. The second regression includes the
weights in glm. The third regression includes the weights in svyglm.
However, despite using the same weights, I get contradicting results.
Perhaps I am misunderstanding how to use one or both of these functions.
I'd appreciate any help you can provide.
View this message in context: http://www.nabble.com/Weighted-Logistic-Regressions-using-svyglm-tp25969499p25969499.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help