Documentation

31.26 Covariance step and covariance matrix

Covariance step and covariance matrix

The covariance step supplies SE, RSE, coverage, and Wald evidence. Choose R, S, or RSR/sandwich. --no-cov-step is compatible with primary LRT but removes Wald and precision quantities; Wald or both is rejected without covariance.

What the controls mean

  • R is the 4.16.0 power default, not necessarily the control stream’s $COV choice.
  • LRT decisions remain available when covariance fails if both full and reduced objectives are evaluable.
  • Use --cov-step to override an absent control-stream request.

The issued command is only the beginning of the audit trail. Always distinguish the reference model, the design template, the resolved scenario, the replicate-specific truth, the fitted result, and the test decision. A value can be correct at one layer and misinterpreted at another.

Command or settings pattern

--cov-step --cov-matrix r --test-statistic both

Command-line values override settings-file values. Use a fresh folder for an analytical run; preserve the command, resolved settings, log, checksums, and row-level data. Defaults are versioned behavior, so a production protocol should state important values explicitly.

Interpretation and quality control

Compare covariance validity and test-specific denominators before interpreting disagreement.

For a novice review, first confirm counts and labels, then inspect numerical values, then ask whether the assumptions represent the proposed clinical study. For an expert review, additionally reconcile aggregates from row-level output, reproduce a subset of trials, and compare the implementation with an independent reference where the claim requires it.

Common mistakes

  • Calling missing Wald evidence nonsignificant
  • Assuming RSR is the power default
  • Reporting a point estimate without its denominator, interval, method, and version

Minimum evidence to retain

  • nlmx version, command, .power file, resolved settings, seed, threads, and output checksums;
  • control stream, design dataset, EXT/COV or parameter sets, and their provenance;
  • scenario table, replicate rows and failures, method summaries, plots, report, and interpretation;
  • prespecified criteria, Monte Carlo target, validation scope, deviations, and reviewer decisions.

See the previous page, next page, and complete command and settings index.