Whether X Adds Information Beyond Covariates

Use a nested comparison to test whether adding X improves an association model beyond covariates.

  • reduced model: covariates only
  • full model: covariates plus focal predictor
nested <- associate$compare(
  data,
  outcome = demented,
  predictors = PRS,
  covariates = c(age, sex, PCA),
  type = "nested"
)

What comes back

Comparison rows describing the reduced-versus-full test. This is inferential model comparison, not predictive benchmarking.

Plotting

Comparison tables or heatmaps. Use evaluate$incremental() when the question is predictive added value.

Open the comparison guide