30.15 Empirical parameter distributions and bounds
A parameter file can represent bootstrap estimates, posterior draws, meta-analytic samples, or expert-weighted scenarios more faithfully than a multivariate normal. nlmx cycles through parameter rows as trial truths. This flexibility creates a strong provenance obligation: every row must be admissible, consistently labelled, and traceable to its source.
Concepts to keep separate
- Use model parameter labels and scales exactly as expected. Transform log or variance parameters deliberately rather than by visual similarity.
- Preserve the natural joint rows; independently shuffling columns destroys correlation.
- Document exclusions, boundary handling, study weights, and whether rows are equally likely.
- Inspect tails and leverage. A few extreme rows may dominate assurance or failure rates even when they are scientifically implausible.
Terminology matters because a single scenario can contain several denominators and several sources of randomness. Truth is the parameter vector used to generate a replicate. Estimate is the value recovered from that replicate. Design is the planned arrangement of subjects, arms, doses, and observations. Method is the approximation or simulation–estimation procedure used to predict performance. A credible report labels all four.
Mathematical or operational walkthrough
A bootstrap table with 500 accepted refits can be sampled as 500 joint truths. If 40 bootstrap fits failed and were excluded, that selection must be disclosed because it may remove difficult but plausible parameter regions.
For novices, read every expression from the inside out: identify the scientific effect, identify the null value, put both on the same parameter scale, identify the variance or information that belongs to the actual design, and only then calculate a test statistic or sample size. Units and parameterisation should cancel in a way that leaves a dimensionless statistic.
How this maps to nlmx
Create summary tables and pair plots before simulation. Compare the empirical centre, covariance, bounds, and correlations with the reference fit and biological expectations.
Chapter 30 explains the statistical and implementation concepts. Chapter 31 gives the complete nlmx power command, every CLI and settings control, precedence, output schema, and production workflow. This separation is deliberate: choosing an option correctly requires understanding which estimand and assumption it changes.
Quality-control checklist
- Are all required labels present once?
- Do rows obey positive-variance and structural constraints?
- Are source and weighting documented?
- Were failed source fits handled transparently?
The graph is explanatory; the CSV, JSON, resolved settings, model inputs, and replicate rows are the authoritative evidence. When a plotted point looks surprising, diagnose the underlying rows before changing the design.
Common mistakes
- Treating an arbitrary CSV as a probability distribution
- Shuffling parameters across rows
- Silently trimming inconvenient tails
Also avoid copying a sample size from a nearby project. Power is conditional on the model, tested effect, covariate distribution, schedule, residual and random variability, attrition, test, estimator, and success criteria. Similar-looking studies can have very different information.
Evidence to retain
- scientific question, estimand, hypothesis, alpha, target, and criteria;
- model/data/design inputs, parameter source and uncertainty distribution;
- software version, method, approximation, seed, threads, command, and resolved settings;
- scenario grid, row-level results, failures, denominators, intervals, diagnostics, and checksums;
- scripts that calculate derived tables and figures, plus the interpretation and limitations.
Navigation
See the previous page, next page, and formula and decision index.