Displaying 1 result from an estimated 1 matches for "fitqp".
2008 Dec 01
1
Comparing output from linear regression to output from quasipoisson to determine the model that fits best.
...other a quasipoisson(link = "log"). I have log likelihoods from each model. Is there any way I can determine which model is a better fit to the data? anova() does not appear to work as the models have the same residual degrees of freedom:
fit1<-glm(PHYSFUNC~HIV,data=KA)
summary(fit1)
fitQP<-glm(PHYSFUNC~HIV,data=KA,family=quasipoisson)
summary(fitQP)
anova(fit1,fitOP)
Program OUTPUT:
> fit1<-glm(PHYSFUNC~HIV,data=KA)
> summary(fit1)
Call:
glm(formula = PHYSFUNC ~ HIV, data = KA)
Deviance Residuals:
Min 1Q Median 3Q Max
-4.197 -4.192 -2.192 2....