Documentation

Chapter 1. What nlmx is, and when to use it

nlmx is one program for the whole path of a population PK/PD analysis, from the raw dataset to the final report. It reads NONMEM datasets and control streams directly, checks them, explores them, runs a non-compartmental analysis, proposes starting values, screens structural models, fits the model, selects covariates, evaluates the model by simulation, plans sample sizes and relates exposure to response. It needs no NONMEM, no network and no other software at run time, and an assistant called Maxson can turn a request in plain words into the commands that do the work.

This chapter sets the scope and the promises. It tells you what problem the program was written for, shows you every command on one map, explains the handful of design principles that every later chapter relies on, and says plainly what nlmx is not.

What you will learn

  • which problems of a multi-tool pharmacometrics project nlmx removes, and which it does not;
  • the 22 commands, what each one reads and writes, and where in this book it is explained;
  • the workflow from raw data to a reported model, and the command used at each step;
  • the design principles (text files, determinism, no hidden state, guardrails) and what each one means for how you work;
  • the limits of the program: model classes it does not support, and what "validated" means and does not mean here.

Prerequisites. None. A reader who knows NONMEM vocabulary (control stream, $PK, $ERROR, .ext, OFV) will move faster, but the chapter defines what it uses. The book assumes the version it was written for: nlmx 4.2.1.

The sections of this chapter

Section What it covers Pages
1.1 The problem nlmx solves the fragmented toolchain, the cost of glue code, a before-and-after picture 2
1.2 What is inside: the command map one table of all commands and the workflow diagram 3
1.3 Design principles text files, determinism, no hidden state, guardrails 3
1.4 What nlmx is not unsupported model classes, validation status, comparison with other tools; the chapter's mistakes, checklist and reading 2

How to use this chapter

If you only need to decide whether nlmx fits your work, read 1.2 (the map) and 1.4 (the limits) and stop. If you will use the program every day, read 1.3 as well: the five principles in it explain behaviour that would otherwise look like fussiness, such as why a command refuses to write into a folder that already holds results, or why the same seed gives the same numbers on two computers with different numbers of cores.

Chapter 2 installs the program, Chapter 3 runs it on a demonstration project in about an hour, and Chapter 4 collects the conventions that every command shares.