Choose a modelling strategy¶
Fast chooser¶
| Research need | Start with | Why | Do not claim |
|---|---|---|---|
| Nonlinear prediction of a continuous repeated outcome with one grouping factor | Grouped mixed-effects boosting | Whole-group validation, shrinkage random intercepts, nonlinear fixed component | likelihood-based inference or causal importance |
| Prediction of an ordered categorical repeated outcome | Grouped ordinal boosting | Ordered thresholds, ordinal losses, group-aware validation | latent traits, diagnosis, p-values |
| Model both mean and residual heterogeneity within one grouping factor | Gaussian location–scale | Joint location/log-scale equations with correlated random intercepts | artifact or reliability scores from log-scale effects |
| Same, but outcome has symmetric heavy tails | Robust Student-t location–scale | Distributional robustness with finite-variance Student-t family | proof that specific observations are artifacts |
| Participant/group-specific slope in the mean equation | Random location slope | Mean heterogeneity in a declared numeric predictor | causal individual differences |
| Participant/group-specific slope in residual scale | Random scale slope | Heterogeneity in the log-scale equation | sensor-validity or noise labels |
| Random slopes in both mean and scale equations | Joint random slopes | Full 4×4 covariance among location/scale intercepts and slopes | unrestricted general random-effects grammar |
| Participant and item/stimulus clustering | Crossed location–scale | Separate participant/item random-intercept structures | nested-only interpretations |
| Participant and item-specific slopes in the mean equation | Crossed random slopes | Crossed location slopes with joint Laplace integration | log-scale random-slope interpretation |
| Participant and item-specific slopes in residual scale | Crossed random scale slopes | Crossed log-scale slopes with joint Laplace integration | artifact, reliability or sensor-validity scores |
| Participant and item-specific slopes in both equations | Crossed joint random slopes | Separate 4×4 participant/item covariance blocks with explicit conditional/population prediction | causal random-slope effects or a general random-effects grammar |
Decision path¶
graph TD
A{Outcome type?} -->|Ordered category| B[Grouped ordinal boosting]
A -->|Continuous| C{Primary goal?}
C -->|Prediction| D[Grouped mixed-effects boosting]
C -->|Distributional modelling| E{Crossed participant + item?}
E -->|No| F{Need random slopes?}
F -->|No| G{Heavy tails?}
G -->|No| H[Gaussian location-scale]
G -->|Yes| I[Student-t location-scale]
F -->|Location only| J[Random location slope]
F -->|Scale only| K[Random scale slope]
F -->|Both| L[Joint random slopes]
E -->|Yes| M{Which crossed slopes are scientifically required?}
M -->|None| N[Crossed location-scale]
M -->|Location only| O[Crossed random slopes]
M -->|Scale only| P[Crossed random scale slopes]
M -->|Location + scale| Q[Crossed joint random slopes]
Choose the validation unit before the model¶
If the scientific question concerns generalisation to new participants or groups, validate by holding out whole groups. Row-wise splits leak group-specific information and estimate a different target.
For crossed participant–item models, be explicit about whether prediction targets:
- observed participants and observed items;
- new participants with known items;
- known participants with new items;
- both new participants and new items.
Conditional and population predictions are not interchangeable.
Random slopes require design support¶
A random slope is not justified merely because a predictor is numeric. The slope variable must vary within the relevant grouping level and appear in the corresponding fixed equation. For crossed models, the predictor must vary within every level of the factor receiving that random slope.
A scale-slope predictor must enter the fixed log-scale equation; a location-slope predictor must enter the fixed mean equation. The crossed joint model checks all four declarations independently and requires at least eight participant levels and eight item levels before estimating its 4×4 covariance blocks.
When a simpler model is better¶
Prefer a simpler structure when:
- the relevant predictor does not vary within enough groups/items;
- crossed incidence is weak or disconnected;
- there are too few replicated observations per latent effect;
- covariance recovery is unstable in known-truth simulations;
- the dense latent field exceeds the implementation's complexity ceiling;
- the intended scientific claim does not require the added random-effect term.
The crossed joint model should be the endpoint of a justified escalation path, not the default starting model. Its latent field grows as 4(P + I) and its two 4×4 covariance blocks demand substantially more information than crossed random-intercept models.
Model choice is not measurement validation¶
No model in this family can repair an undocumented timebase, identify whether a vendor interval is NN versus RR, prove sensor validity, or convert a residual-scale association into an artifact label. Measurement evidence belongs upstream of modelling.
Next
For conceptual background, read Choosing a location–scale model. For exact signatures and limitations, use the dedicated method pages linked in the table above.