How does backward elimination find a model? (hierarchical log-linear, as SPSS HILOGLINEAR)
In brief
Backward elimination starts at the model with all interactions and deletes, step by step, the term with the largest p as long as it is above the criterion (usually .05). Deletion is hierarchical: a term contained in a higher one stays. Before that, the k-way table shows from which order on there are no effects.
An example
Hair colour, eye colour and sex of 592 students (data set HairEyeColor). The three-way interaction has ΔG² = 6.76 at df = 9, p = .66: it is dropped. Then eye colour × sex has ΔG² = 5.00 at df = 3, p = .17: it is dropped too. Hair colour × eye colour and hair colour × sex stay; the final model has G² = 11.76 at df = 12, p = .46.
Reading the k-way table
Row k, column "k-way and higher effects are 0": does a model with only effects below order k fit? A small p means: no, there are effects of order k or higher. Column "exactly k-way effects are 0": are there effects of exactly order k? In the example: the main effects (k = 1) and the pairs (k = 2) clearly differ from zero, the three-way interaction (k = 3) does not.
Caution
An automatic search depends on chance: it reacts to the fluctuation of this one sample and to the criterion. The final model is a suggestion that the subject matter must support; its p values are too favourable because the model was searched in the same data.
How it works in Statable
Under the result of the card "How are several categories related?" open the section "Automatic search: backward as SPSS (hierarchical)" and choose "Calculate backward elimination". The criterion can be changed (.01, .05 or .10).
How it is calculated
Each model is fitted by iterative proportional fitting to the margins of the generating terms. G² = 2 Σ observed · ln(observed / expected), df = cells − free parameters. All cells of the table count, including the empty ones. The values agree with R (glm, poisson).
Reporting the result
Report: the variables and N, the starting model (all interactions), the criterion for dropping (0.01, 0.05 or 0.10), the dropped terms in order with ΔG², degrees of freedom and p, the final model with its terms and G², degrees of freedom and p. Also: the note that the automatic search depends on chance and that the p values of the final model are too favourable because it was searched in the same data; it helps to justify the final model by the research question. Textbook: Agresti 2013, Categorical data analysis (3rd ed.).
A hierarchical log-linear model was searched by backward elimination (start: all interactions of …; criterion p > …; N = …). Dropped were …: ΔG²(…) = …, p = …; …: ΔG²(…) = …, p = …. The final model with the terms … fits, G²(…) = …, p = …. Its p values are favourable because it was searched in the same data.