[R] glm

Daniel Malter daniel at umd.edu
Tue Sep 6 09:00:09 CEST 2011


y is the dependent variable, not a predictor or independent variable. since
this is a binomial model, y should be 0/1 or, atypically, a proportion.

HTH,
Daniel


Samuel Okoye wrote:
> 
> Dear all,
> 
> I am using glm with quasibinomial. What does the following error message
> mean:
> 
> Error in eval(expr, envir, enclos) : y values must be 0 <= y <= 1
> 
> Does it mean that the predictor variable should only have zero and one or
> it is also possible to have continuous values between zero and one?
> 
> Many thanks,
> Samuel
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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://r.789695.n4.nabble.com/glm-tp3790845p3792732.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list