Analysis matrix¶
This matrix distinguishes what the 0.1 reference paths calculate from what the broader object catalog can represent.
Fitted statistical models¶
Analysis |
Response |
Dependence |
Engine/method |
Principal outputs |
Current boundary |
|---|---|---|---|---|---|
Gaussian LMM |
continuous |
one or more Gaussian random blocks; supported residual structures |
|
fixed effects/covariance, natural-scale variance components, modes, conditional/population fitted values, residuals, simulation |
dense experimental reference path for small/moderate problems; not compiled sparse scale |
Bernoulli GLMM |
binary |
Gaussian random blocks |
|
link-scale coefficients, conditional ORs after transformation, conditional modes, fitted probabilities, convergence/approximation metadata |
canonical logit reference path; no AGHQ |
Binomial GLMM |
successes/trials |
Gaussian random blocks |
|
conditional log-odds effects, modes, fitted means |
supported parameterization must validate |
Poisson GLMM |
counts |
Gaussian random blocks |
|
conditional log-rate effects, modes, fitted counts |
exposure/offset meaning is analyst responsibility |
NB2 GLMM |
overdispersed counts |
Gaussian random blocks |
|
conditional mean and NB2 dispersion path |
NB1 and other catalog families are not fit by this engine |
MMRM |
continuous repeated visits |
dense within-subject residual covariance, between-subject independence |
|
fixed effects/covariance, visit covariance, linear inference, labeled DF, exclusions/visit order |
no simultaneous formula random effects; exact KR is not claimed |
MMRM covariance choices¶
Structure |
Heterogeneous variance |
Lag/distance behavior |
Ordering requirement |
|---|---|---|---|
Diagonal |
optional by declaration |
no off-diagonal correlation |
visit identity |
Unstructured |
yes |
every covariance free |
explicit visit axis |
Compound symmetry |
no |
common correlation |
visit identity |
AR(1) |
no |
geometric decay by ordered lag |
ordered visits |
Heterogeneous AR(1) |
yes |
geometric decay by ordered lag |
ordered visits |
Toeplitz |
no |
separate correlation per lag |
ordered visits |
Heterogeneous Toeplitz |
yes |
separate correlation per lag |
ordered visits |
Ante-dependence |
yes/flexible |
sequential conditional dependence |
ordered visits |
Spatial power |
structure-defined |
numeric distance |
numeric visit times/distances |
Known covariance |
supplied |
supplied |
axis must match matrix |
Pharmacometric calculations¶
Task |
Entry points |
Output |
Estimation? |
|---|---|---|---|
Canonical event preparation |
|
immutable event table + row/action audit |
no |
One-compartment PK |
bolus, infusion, oral helpers / |
structural concentration |
no |
Two-compartment PK |
bolus, infusion, oral helpers / |
structural concentration and derived rates |
no |
Event-aware ODE |
|
state trajectories, observations, metadata, sensitivities |
no |
Residual-error likelihood |
additive/proportional/power/combined/lognormal; censoring helpers |
variance, draws, log likelihood |
evaluates supplied parameters |
Typed model contract |
|
validated model + ModelIR |
no |
Conditional ETA mode |
|
mode, objective components, gradient/Hessian/covariance evidence |
subject-level primitive |
Population Laplace aggregation |
|
subject contributions/modes + objective |
primitive, not integrated outer fit |
FOCEI |
|
explicit |
unavailable |
SAEM |
|
callback-driven research-kernel result |
experimental primitive, not integrated estimator |
Post-fit analysis¶
Need |
API |
Key contract |
|---|---|---|
Human summary |
|
readable view; structured fields remain authoritative |
Prediction |
|
mode is explicit |
Residual diagnostics |
|
machine-readable row-aligned table |
Named diagnostics |
|
returns |
Simulation |
|
seed and included uncertainty sources recorded |
VPC |
|
bin/quantile data, not a pass/fail certificate |
Bootstrap |
|
row/cluster resampling, checkpoint/resume, failure accounting |
Linear inference |
MMRM |
explicit coefficient mapping and DF label |
External comparison |
|
parameter mapping and convention matching |
Report |
|
Markdown/HTML; optional PDF/Word dependencies |
Archive |
|
inspectable JSON + integrity sidecar |
Validation bundle |
create/verify helpers |
evidence package; data excluded by default |
Representable but not automatically fitted¶
The family catalog includes Student-t, lognormal, gamma, inverse Gaussian, beta, Tweedie, NB1, generalized Poisson, COM-Poisson, ordinal, multinomial, zero-inflated, hurdle, truncated, censored, and survival objects. ModelIR can represent priors, distributional predictors, and richer typed nodes. Representation supports calculation, exchange, or future backend contracts; it does not imply that a current formula backend can estimate the model.