A deviance goodness-of-fit test compares a fitted generalized linear model with its saturated statistical model. With independent response groups, an identifiable rank- mean model and known common dispersion parameter , the candidate statistic is the scaled devianceIn an appropriate large-information regime, compare it with a chi-squared distribution on statistical degrees of freedom. For a normal linear model this is exact when is known: is the residual sum of squares. For Poisson regression, ; adequate expected cell counts are still needed for a useful approximation.[ref]
More individual Bernoulli observations do not automatically justify comparing their residual deviance with . Small cell counts, dependence and overdispersion can invalidate that calibration. An unknown dispersion parameter also needs an explicit estimation and testing convention; estimating it from and then treating as an independent goodness-of-fit check is circular.
A logistic regression fitted to ungrouped Bernoulli observations has residual deviance . Comparing it automatically with is generally invalid: the saturated dimension grows with , with one observation per fitted probability. If the true model has only an intercept and success probability , then , whereas . Fixed-dimensional nested-model likelihood-ratio tests can still use Wilks theorem under regularity. For absolute fit, use meaningful grouping, residual diagnostics, or a fitted-model parametric bootstrap.
Articles by others on the same topic
There are currently no matching articles.