29.5 Groups, dosing, sampling, BLQ, and sparse designs
Treatment groups have names, doses, and subject counts. One value can be recycled or one value supplied per group; --subjects is total N split across groups, whereas --subjects-per-group controls each group directly. Repeated dosing uses ADDL = n_doses − 1 and II. Sampling can use route/structure defaults, explicit times, or a seeded random subset per subject. A numeric LLOQ marks simulated low values BLQ=1, MDV=1, DV=0.
Why this matters
The choice on this page changes either the generated truth, the information available to the fit, the analysis decision rule, or the denominator of an operating characteristic. A novice should be able to point to the corresponding setting and output column. A reviewer should be able to trace every aggregate back to a generated project, completed engine run, and relationship-level row.
Detailed behavior
- At most 50 groups are accepted; doses and intervals must be positive.
- With multiple doses, sampling times are placed after the first and last dose as documented by the resolved design.
--sparse-samples Ndraws N protocol times per subject and should be interpreted as a design, not missing-at-random dropout.- Group and dose appear on every record, while
groups.csvpreserves human-readable labels and denominators.
Keep four layers separate: design truth defines what was generated; realised data contain finite random variation; fitted artifacts estimate the model from those data; and analysis decisions classify relationships under a method and threshold. Mixing these layers is the most common source of incorrect recovery claims.
Example command or settings fragment
nlmx generate -o dose_range --groups 3 --group-names 'Low,Mid,High' --doses 50,100,200 --subjects-per-group 20 --n-doses 4 --dose-interval 24 --sparse-samples 3 --lloq 0.05
Begin with an inexpensive smoke run, inspect every generated artifact and warning, and only then increase subjects, scenarios, engines, or replicates. Use a new output directory for each analytical run. In a regulated or validation setting, preserve both the command as issued and the resolved settings or generated configuration because defaults and precedence are versioned behavior.
Interpretation and quality control
Inspect realised subject counts, dose events, sample counts, and BLQ fraction. Sparse or BLQ-heavy designs may make a fit or covariate effect weakly identifiable even when generation succeeds.
At minimum, verify subject/record counts, truth coefficients and forms, fit convergence, covariance status, relationship scope, classifications, completed denominators, and checksums. Read the row-level result before trusting a scenario metric. A graph is a compact diagnostic view; numerical tables remain authoritative.
Common mistakes
- Confusing total subjects with subjects per group
- Treating BLQ DV=0 as an observed zero concentration
- Assuming every subject receives identical sparse sample times
Also avoid describing a failed or skipped cell as a zero rate. Missing, undefined, failed, rejected, and uncertain are different states and must remain distinguishable.
Evidence to retain
- nlmx version, command, configuration, seed behavior, threads, and runtime environment;
- generated truth/control stream, data, group/design definition, base and optional covariate fits;
- engine settings, relationship scope, row-level results, summaries, metrics, report, failures, and completed denominators;
- checksums, scripts used to regenerate figures, tolerances, acceptance rules, and scoped interpretation.
Navigation
See the previous page, next page, and complete command and settings index.