Statistical methods¶
Choose a method from the response distribution, dependence structure, and scientific estimand. Each guide connects the model definition to the fitted objects, diagnostics, and worked examples that implement it.
Continuous Gaussian outcomes with grouped random intercepts or slopes. Covers ML and REML, covariance estimation, conditional and population prediction, and simulation.
Binary and count outcomes with Gaussian random effects. Covers supported families, conditional interpretation, first-order Laplace fitting, calibration, and simulation.
Continuous longitudinal outcomes with structured within-subject residual covariance. Covers visit ordering, missing-response handling, contrasts, degrees of freedom, and covariance diagnostics.
Choose quickly¶
Scientific structure |
Start with |
Primary dependence model |
|---|---|---|
Continuous response; groups or nested units |
Random effects |
|
Binary or count response; grouped observations |
Gaussian random effects on the link scale |
|
Continuous response at scheduled visits |
Structured residual covariance |
If both a random trajectory and a repeated-measures residual structure appear plausible, decide which representation matches the scientific question before selecting an engine. The analysis chooser and analysis matrix compare the supported execution paths in more detail.