Documentation

23.33 Refinement, refit cache, and joint final refit

--refine N likelihood-refits the N most significant candidates one at a time. All relevant population parameters are re-estimated, producing refit ΔOFV, p-value, coefficient, convergence status, and direct comparison with the one-step estimate. Refinement closes part of the local-approximation gap without paying for a full stepwise search.

The Chapter 23 refined run refitted all five candidates. V–WT had score S 42.46 versus refit ΔOFV 40.76; CL–WT 21.43 versus 17.53; CL–EGFR 13.73 versus 12.70; both null SEX relationships were near zero by either measure. One-step continuous-effect estimates were consistently larger than their refit estimates.

Refits are cached by model identity and term set in frozen_refits.json. Resume or repeated equation comparison can reuse compatible results. Treat the cache as derived evidence: input hashes, model code, data, forms, estimation settings, and executable version must match.

By default, the final retained set is jointly refitted. This supplies the final OFV and coefficients and lets base parameters adapt simultaneously. --no-final-refit skips that stage and leaves local coefficients; use it only for exploratory speed work and label outputs accordingly.

Common mistakes

  • Calling univariate refinement full SCM.
  • Reporting refined single-candidate coefficients as joint-final estimates.
  • Reusing a cache after inputs change.
  • Skipping final refit in a confirmatory workflow.
  • Ignoring nonconverged refinement attempts.

Checklist

  • Refine material, borderline, or large effects.
  • Compare S with ΔOFV and one-step with ML beta.
  • Verify cache identity before reuse.
  • Jointly refit the retained set.
  • Diagnose and qualify the final model.

Further reading

Open the refined report, review score/refit accuracy, and continue to Chapter 23A.