You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking of implementing the deviance goodness of fit tests while calling the glm function. It'll be nice to know if the fitted model is meaningful or not right from the summary.
The null hypothesis could be the fact that the fitted model is as good as the null model, while the alternative is the fitted model is better than the null model. The distribution of the test statistic for this test follows asymptotically a chi-squared distribution
The text was updated successfully, but these errors were encountered:
You mean something like the output of lrtest(null_model, model)?
One concern is that currently when an offset is provided, we have to fit the null model just to compute its log-likelihood. So this has a cost. Maybe that's not a problem if we assume that the summary is only printed for interactive use and not e.g. when bootstrapping or fitting hundreds of models.
I was thinking of implementing the deviance goodness of fit tests while calling the
glm
function. It'll be nice to know if the fitted model is meaningful or not right from the summary.The null hypothesis could be the fact that the fitted model is as good as the null model, while the alternative is the fitted model is better than the null model. The distribution of the test statistic for this test follows asymptotically a chi-squared distribution
The text was updated successfully, but these errors were encountered: