[R] Compare lm() to glm(family=poisson)

Wensui Liu liuwensui at gmail.com
Sat Aug 1 03:29:15 CEST 2009

i don't understand how you can fit a poisson model with lm() function.
otherwise, how could you compare lm() with glm(...family=poisson)?

On Fri, Jul 31, 2009 at 7:41 PM, Mark Na<mtb954 at gmail.com> wrote:
> Dear R-helpers,
> I would like to compare the fit of two models, one of which I fit using lm()
> and the other using glm(family=poisson). The latter doesn't provide
> r-squared, so I wonder how to go about comparing these
> models (they have the same formula).
> Thanks very much,
> Mark Na
>        [[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.

WenSui Liu
Blog   : statcompute.spaces.live.com
Tough Times Never Last. But Tough People Do.  - Robert Schuller

More information about the R-help mailing list