Documentation

31.14 Hypotheses and repeatable --test

Hypotheses and repeatable `--test`

Each hypothesis is either a covariate coefficient or a model THETA. Repeat --test or [[test]]; all alternative truths are simulated together and estimated in the same full model, while one reduced model is fit per hypothesis.

What the controls mean

  • Covariate CLI grammar is PARAM~COV=VALUE;form=...;ref=...;level=...;null=...;name=....
  • THETA grammar is THETA(k)=VALUE;null=...;name=...; omitted parameter value uses its estimate only in file form.
  • Each current test is one degree of freedom.

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

--test "CL~WT=0.75" --test "V~WT=1;name=weight on V"

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

Write the model equation, parameter scale, null, design alternative, and decision test in the protocol.

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

  • Assuming separate tests are simulated in separate worlds
  • Using a multi-parameter scientific claim without multiplicity planning
  • 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.