Handle boundary and line-search fixed-effect inference

This commit is contained in:
2026-08-14 16:54:57 +08:00
parent 48ab77f9ab
commit 9033201948
10 changed files with 220 additions and 41 deletions

View File

@@ -151,14 +151,20 @@ Optional named contrasts are supplied by `--contrast-matrix`,
task-specific covariate columns receive zero weights automatically. Finalized
results contain contrast estimates, adjusted standard errors, statistics,
numerator and denominator degrees of freedom, and p-values as JSON arrays.
This release uses manifest v2, run-signature v2, block v3, and finalized-output
v2 contracts. It intentionally does not read older contracts.
This release uses manifest v2, run-signature v3, block v4, and finalized-output
v3 contracts. It intentionally does not read older block, run-signature, or
finalized-output contracts.
Fixed-effect inference defaults to Satterthwaite. Select Kenward-Roger or turn
inference off with `--fixed-effect-test kenward-roger` or
`--fixed-effect-test none`. Coefficient-wise standard errors, statistics,
denominator degrees of freedom, and p-values are exported as JSON arrays; tasks
with extra covariates also report their joint F test in the summary columns.
An accepted `sigma_g2=0` boundary is refitted as ordinary least squares without
the GRM term and is reported as `boundary_ols`. A retained
`line_search_failed` iterate continues through the selected fixed-effect
inference and is reported as `line_search_conditional` while preserving the
optimizer status.
## Recovery and provenance