[R] accessing log likelihood of poison model

Eric Cheney cheney at soc.umass.edu
Sun Apr 18 00:40:33 CEST 2004


Could someone tell me how to access the log likelihood 
of a poisson model?  I've done the following....

<BEGIN R STUFF>

freq.mod <- glm(formula = nfix ~ gls.gls + pol.gls + pol.rel + rac.gls +
rac.pol + rac.rac + rac.rel + white + gls.gls.w + pol.gls.w + pol.rel.w
+ rac.gls.w + rac.pol.w + rac.rac.w + rac.rac.w + rac.rel.w, family =
poisson, data = Complex2.freq, offset = lnoffset)

summary(freq.mod)
anova(freq.mod)

<END R STUFF>

And that's great; but I need the log likelihood.

Anyone know?

Thanks in advance?
-- 
<Eric Cheney>   cheney at soc.umass.edu        http://sociostat.org/eric/




More information about the R-help mailing list