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<mtb...@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@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 ============================== ______________________________________________ R-help@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.