Documentation

29.6 Typical parameters, IIV, residual error, and covariate truth

Typical parameters, IIV, residual error, and covariate truth

--typical defines positive generating parameter values. --iiv expresses between-subject CV percentages and determines which parameters receive ETAs; zero removes an ETA. Residual error can be combined, proportional, or additive, with proportional CV and additive SD. True covariate effects are declared as PARAM~COV=VALUE and enter continuous parameters as powers about the generated median, while SEX uses a multiplicative factor raised to SEX.

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

  • Default synthetic truth includes CLWT 0.75, VWT 1, and CL~EGFR 0.6 unless effects are replaced or removed.
  • --no-covariate-effects creates a clean global-null exercise and cannot be combined with existing-data mode.
  • A SEX factor of 0.8 corresponds to a -20% proportional effect in the fitted run102 parameterisation.
  • Truth values, starting values, final fitted values, and decision thresholds are different objects and must be labelled separately.

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 truth_demo --typical 'CL=5,V=50,KA=1.5' --iiv 'CL=30,V=25,KA=40' --prop-error 15 --add-error 0.02 --effects 'CL~WT=0.75,V~WT=1,CL~SEX=0.8'

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

Recovery should be assessed with bias, RMSE, coverage, convergence, and design adequacy across repeated projects. One run102 estimate close to truth is illustrative, not a calibrated estimator study.

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

  • Entering IIV as a fraction instead of percent
  • Interpreting a multiplicative SEX factor as a power exponent
  • Calling starting parameters recovered truth

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.

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