pmed(method = ) offers five inference modes. This article states what each does and what the calibration study supports. The numbers come from the frozen calibration run of 2026-10-14 (36 cells, 2000 replications each; docs/reports/CALIBRATION-2026-10-14.md in the repository).
| Situation | Use | Why |
|---|---|---|
| Quick look, no interval | "plugin" |
Point estimate only |
| Gaussian M and Y, default | "parametric_bootstrap" |
Fast; samples from N(theta, Sigma) |
| Normality questionable | "nonparametric_bootstrap" |
Resamples rows and refits |
| Gaussian with covariates, want a deterministic interval | "mbco" |
Likelihood-ratio inversion; never undercovers |
| Binary M or Y with covariates | "model_bootstrap" |
Re-estimates residual scales on simulated data |
MBCO (model-based constrained optimization; Tofighi and Kelley, 2020) inverts a likelihood-ratio test for the product of the two paths. The result is deterministic.
@diagnostics$pmed$near_double_null marks this region.MBCO-NULL-T5-FEASIBILITY-2026-10-14.md).converged = TRUE. A disconnected confidence set or a failed profile returns missing bounds.Opt-in, for binary designs. Coverage varies by design. Of the 15 cells, only Gaussian-Gaussian and Gaussian M with a 50% binary Y at N = 250 pass outright. A 5% binary outcome at small N is a fit-failure regime: at N = 250, 77% of replications return no interval, and coverage among the complete ones is .981. Do not quote 95% coverage for this method in general.
Percentile intervals from the parametric and nonparametric bootstraps carry Monte Carlo inflation at the stated number of draws. Use at least 1000 draws and report the seed.
n_boot or the seed.near_double_null is set.model_bootstrap, report the share of incomplete replications.