Skip to content

ENH/Note: model selection in GLM and log-linear models - LR, Pearson/Score #2688

Open

Description

@josef-pkt

mainly a note for future reference

Agresti Categorical Data Analysis 2002?
section 9.2.3, loglinear model comparison statistic, p 363 and following. section before is on stepwise forward or backward selection
end of section 9.2.4 uses multiple testing correction (Bonferroni style - the other one where I don't remember the guys name)

LR test, difference of deviance is additive and tests are independent along a path of nested models.

Comparing Pearson chisquare statistic is not necessarily positive when comparing nested models. Denominator should be kept constant (similar to keeping scale/variance/weight constant in LR-test, j-test or similar) equ. 9.4
related: Smyth "Pearson's Goodness of Fit Statistic as a Score Test Statistic" Score test against the saturated alternative.
(Note: when we have a fixed number of categories and no continuous variables, then saturated model has a fixed finite number of parameters independent of sample size, i.e. standard MLE theory applies.)

AFAICS: this is standard result for MLE/GLM, but is well described in the log-linear model section in Agresti.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions