Random-Effect Prediction Adjustment for Inference in Regression (REPAIR) estimates relationships involving person- or cluster-specific processes represented by random intercepts and slopes. Extracted predictions contain sampling error, and shrunken BLUPs can distort relationships in a subsequent regression. REPAIR uses likelihood-only predictions and their sampling-error covariances in a modified method-of-moments regression.
Details
Discover effects with repair_effects(), inspect matched inputs with
repair_data(), fit with repair(), and report results with
repair_coefficients(). repair_example provides simulated teaching data.
The supported workflow uses Gaussian lmer models with one target group and
optional nuisance groups contained within targets, or supported single-group
linear lme models. Standard errors are conditional on fitted MLM quantities.
See vignette("support-and-troubleshooting", package = "repair") for the
support matrix, inference boundaries, diagnostics, and saved-fit guidance.
Use repair_refit() for verified single-model replay.
Experimental whole-person resampling and percentile intervals are available
separately through repair_bootstrap().
Run citation("repair") for software and manuscript references.
