[R] Warning when using survey:::svyglm

Ben Domingue ben.domingue at gmail.com
Wed Aug 6 17:33:58 CEST 2008


Howdy,
Referencing the below exchange:
https://stat.ethz.ch/pipermail/r-help/2006-April/103862.html
I am still getting the same warning ("non-integer #successes in a
binomial glm!") when using svyglm:::survey.  Using the API data:

library(survey)
data(api)
#stratified sample
dstrat<-svydesign(id=~1,strata=~stype, weights=~pw, data=apistrat, fpc=~fpc)
svyglm(sch.wide~meals+acs.core+hsg,dstrat,family="binomial")

I get:

Stratified Independent Sampling design
...
Warning message:
In eval(expr, envir, enclos) : non-integer #successes in a binomial glm!

Is this still indicative of a problem?  Thanks,
Ben



More information about the R-help mailing list