schemaLm

Linear-regression association schema

Description

schemaLm() defines the result and artifact contract for Gaussian linear regression fits produced by associate$regression(model = “lm”).

Usage

schemaLm()

Value

A schema definition list.

Result semantics

Linear-regression rows represent coefficient-level tests on the identity scale.

  • outcome: continuous endpoint modeled on its observed scale.

  • predictor: tested predictor.

  • term: coefficient term retained for the tested predictor or requested interaction.

  • term.type: main for predictor coefficient rows or interaction for predictor-by-modifier coefficient rows.

  • effect.scale: identity.

  • estimate: beta coefficient.

  • se, lower, upper: standard error and confidence interval for beta.

  • statistic: t statistic.

  • p.value, adj.p.value: raw and adjusted coefficient p-values.

  • n: number of complete observations used by the model.

  • formula: display formula used for the fitted model.

Artifacts

The optional prediction.grid artifact contains model-derived fitted values over representative predictor values and covariate settings. It is aggregate plot support and should not contain individual-level phenotype rows.