Documentation

17.2 Your first screen run

Begin with a small candidate set that answers one question. For oral data with visible distribution, compare one and two compartments before adding lag, transit, or nonlinear elimination. Put the choices in a settings file:

[data]
dataset = "oral.csv"
route = "oral"
group = "GROUP"

[models]
models = ["1cmt_abs", "2cmt_abs", "3cmt_abs"]
error = "combined"
eta = ["CL", "V"]

[estimation]
approximation = "FOCEI"
max_iterations = 180
covariance = true

[selection]
criterion = "bic"
bic_penalty = "bicc"
max_rse = 50
max_condition = 1000

Run it with an empty, case-specific output directory:

nlmx screen -c oral.screen -o results/oral-screen --no-color

The console summary should identify the dataset, usable subjects and observations, route, dose-proportionality result, candidate policy, estimation method, selection rule and reliability thresholds. Stop if these do not match the intended analysis. A run that completes with the wrong route or filtered population is not a successful run.

Open screen_summary.txt first. Then read model_comparison.csv row by row: status and convergence; OFV and parameter count; AIC/BIC; covariance status; condition number; maximum structural RSE; shrinkage; flags; eligibility; recommendation. Examine lrt_tests.csv even when BIC is primary because it exposes declared nested comparisons. Review plots and best_model.ctl, but do not immediately fit the latter as though the decision were final.

Common mistakes

Novices often use auto for every option and cannot later explain which candidates existed. Another mistake is rerunning into an old directory and mixing artifacts. Do not omit --no-color from captured transcripts, because terminal escape codes reduce portability.

Checklist

  • Use an explicit settings file and exact output path.
  • Confirm row counts, route and candidate names in the summary.
  • Check warnings before looking for the asterisk.
  • Preserve the invocation, version, settings and checksums.
  • Review scientific plausibility and diagnostic plots afterward.

Further reading

The frozen oral distribution example follows this pattern. Data rules are next in dataset schema.