P. Olsson <olsson1 <at> gmail.com> writes:

> 
> Dear  R  helpers,
> running the following code of a glm model of the family poisson, gives
> predicted values < 0. Why?
> 

  Because by default predict.glm() gives answers on the 
link (log) scale.  predict(poisson_glm,type="response")
is probably what you're looking for.  See ?predict.glm.

  Ben Bolker

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to