Documentation

37.27 Power-and-sample-size settings: purpose, structure, and workflow

Chapter 37.27 visual
Settings reference workflow

.power is the settings format for power. It defines model-informed design scenarios, SSE or FIM calculations, tests, estimation behavior, performance criteria, resumption and retained outputs. The template snapshot used here was generated by nlmx 4.16.2; its SHA-256 is 3b0787cd0e8826a79b462598bdc5b08721a42d61264d76105ae94a715f3e2ec0.

Why this file matters

Power is meaningful only for the exact effect, null, design, missingness, fit success and decision rule represented by the configuration. Treat the file as controlled analysis source. A reviewer should be able to connect each active value to a design decision, data convention, method choice, output requirement or operational guardrail.

Generate and begin safely

nlmx power --print-config study.power
nlmx power -c study.power --output disposable-review

For .covar, generate the reference with nlmx schema --format toml and save it with the required extension. For every format, compare command-specific help before relying on the generic example above; commands differ in positional inputs, validation modes and whether --output is appropriate.

Template map

The snapshot represents 61 unique dotted key paths across 9 tables or top-level groups. Commented assignments are possibilities or examples; uncommented assignments form the generated example. The next page catalogs every represented key.

Table Unique keys represented Review focus
input 5 values and interactions inside this settings group
analysis 6 values and interactions inside this settings group
schedule[] 13 values and interactions inside this settings group
test[] 10 values and interactions inside this settings group
estimation 6 values and interactions inside this settings group
sse 7 values and interactions inside this settings group
fim 4 values and interactions inside this settings group
criteria 6 values and interactions inside this settings group
output 4 values and interactions inside this settings group

Important interactions

  • Distinguish SSE empirical power from FIM asymptotic power.
  • Include convergence failures in the reported denominator and sensitivity analysis.
  • Test type-I error when possible rather than reporting power alone.
  • Resume only when the scenario fingerprint matches the original run.

Novice workflow

First identify the input population and artifact version. Second, delete or leave commented every option you do not intend to control. Third, edit one table at a time and keep short comments explaining study-specific values. Fourth, run into a new disposable folder and verify resolved inputs, paths, warnings and output count. Fifth, compare the result with the scientific question and expected behavior. Finally, retain the settings, command transcript and reviewed outputs together.

What validation can and cannot prove

Parsing proves that TOML syntax and recognized keys are acceptable. Command validation may prove that referenced data and values satisfy implemented checks. Neither proves that the selected population, endpoint, method, threshold or model is scientifically justified. That judgment belongs in the analysis plan and review record.

The exact generated snapshot is available at documents/ch37/reference/templates/nlmx.power.

See the previous page, next page, and complete settings reference.