Documentation

E.1 How the index is built: names, kinds and sort order

Anatomy of a page name and the four kinds of page

What you will learn

  • Read a page name: chapter, running number and slug.
  • Tell the four kinds of page apart, and find the chapter-level reference of any chapter.
  • Know how the A–Z is sorted, so you can predict where a title will be.
  • Follow three lookups from a question to a page.

Prerequisites: the overview.

What a page name tells you

Every page is a Markdown file whose name has the same anatomy. Reading it takes a second and saves a search.

36-7-fit.md             chapter 36, page 7, subject "fit"
13A-overview.md         the overview of chapter 13A
38-complete-output-reference.md   the chapter-level reference of chapter 38
A-4-decompositions-and-positive-definiteness.md   appendix A, page 4
  • The chapter is the first part. It is a number, optionally followed by a letter. The lettered chapters (13A, 23A, 36A) are chapters added to the sequence without renumbering the rest; the letter belongs to the chapter, so 13A-3-… is page 3 of chapter 13A.
  • The second part is the running number, and it is the number that the page quotes in its title (page 36.7 is 36-7-fit.md). Appendix pages follow the same form with a letter in place of the number (A-4-… is page A.4).
  • The slug is a shortened title and is not stable in the way the number is. Cite a page by its number and title, and link by the file name.
  • Two quirks exist in the file names and are kept because links depend on them: chapters 1 to 9 carry a leading zero (07-overview.md), and chapter 23A is spelled with a lowercase a (23a-overview.md) while 13A and 36A are not. The index resolves each chapter's overview through a case-insensitive match, so a reader is not affected.

The kinds of page

Kind How to recognise it Count
Overview the name ends in -overview; one per chapter and appendix 52
Numbered page NN-N-slug.md: chapter, a running number, a slug 1321
Chapter-level reference no running number; the name says index, complete or reference 41
Front matter the name begins 00- 10
Total 1424

A chapter that documents a command carries one chapter-level reference, and its title usually begins Complete. That page lists every option and setting of the command in one place, and it is the page to open when you know the option and not the section.

The pages of the book, chapter by chapter

The table is the book's map. Pages counts every page of the chapter, including the overview and the chapter-level reference. The right-hand column names the reference of the chapter, where there is one; a chapter without one (Chapters 1 to 10, for example) is a narrative chapter, and its overview lists its pages.

Chapter or appendix Pages Overview Chapter-level reference
Front matter 10 Title page —
Chapter 1 5 What nlmx is, and when to use it —
Chapter 2 6 Installing, licensing and upgrading —
Chapter 3 8 A first hour with nlmx: a guided tour —
Chapter 4 7 Concepts and conventions —
Chapter 5 6 NONMEM files nlmx reads and writes —
Chapter 6 17 The dataset: reading, events and covariates —
Chapter 7 18 The settings system —
Chapter 8 20 The model engine —
Chapter 9 19 Numerical core and reproducibility —
Chapter 10 20 Reports, figures and output files —
Chapter 11 35 qc-data: quality control of a dataset Complete qc-data command and option index
Chapter 12 30 qc-nm: quality control and correction of a control stream Complete qc-nm command and option index
Chapter 13 30 eda: exploratory data analysis Complete eda command and option index
Chapter 13A 36 custom: reproducible plots and tables from any dataset Complete custom command and option index
Chapter 14 27 NCA: theory and method Notation and formula index
Chapter 15 36 nca: running it Complete nca command and option index
Chapter 16 36 autoinit: initial estimates from the dataset alone Complete autoinit command and option index
Chapter 17 36 screen: structural model screening Complete screen command and option index
Chapter 18 42 Estimation theory: likelihoods and algorithms Notation and symbol index
Chapter 19 28 SAEM and the importance-sampling objective Settings and symbol index
Chapter 20 46 fit: the command Complete command and option index
Chapter 21 32 Diagnostics and goodness of fit Complete diagnostic and publication option index
Chapter 22 38 Covariate modelling concepts Complete cov command and method index
Chapter 23 40 The frozen-model engine Complete frozen-engine command and settings index
Chapter 23A 40 Stepwise covariate selection with cov Complete SCM command and settings index
Chapter 24 44 The posterior-stability engine Complete posterior command and settings index
Chapter 25 40 cov, posterior, and resume Complete Chapter 25 command and settings index
Chapter 26 40 forest: covariate effects and exposure Complete forest command and settings index
Chapter 27 44 vpc: visual and numerical predictive checks Complete vpc command and settings index
Chapter 28 46 sims: simulating a study Complete sims command and settings index
Chapter 29 26 generate and simulate-study Complete generate and simulate-study command and settings index
Chapter 30 32 Trial design theory: sample size, power, SSE, and FIM Chapter 30 formula and decision index
Chapter 31 46 power: the command Complete power command and settings index
Chapter 32 26 Exposure-response concepts and models Chapter 32 model and estimand catalogue
Chapter 33 40 er: the command Complete nlmx er command and settings index
Chapter 34 20 Maxson: concepts, guardrails, and the audit trail Chapter 34 guardrail, policy, and audit index
Chapter 35 22 Using Maxson Complete ask command and settings index
Chapter 36 38 Command-line reference Complete command index
Chapter 36A 24 report: publishing Markdown as Word, PDF, and HTML Complete nlmx report reference
Chapter 37 38 Settings reference Complete settings reference
Chapter 38 26 Output file reference Complete output-file reference
Chapter 39 26 Errors, warnings and troubleshooting Complete error, warning, and troubleshooting reference
Chapter 40 26 Differences from NONMEM, PsN, PopED and Monolix, and known limits Complete cross-software comparison and known-limit reference
Chapter 41 40 Worked case studies Complete case-study reference
Chapter 42 19 Validation and testing Complete validation and testing reference
Chapter 43 23 The nlmx web apps —
Appendix A 20 Mathematical background Complete mathematical reference
Appendix B 8 Glossary Complete glossary reference
Appendix C 8 Bibliography Complete bibliography reference
Appendix D 18 Developer guide Complete developer reference
Appendix E 6 Index Complete index reference: every page and every output file, A–Z
Appendix F 10 Frequently asked questions Complete FAQ reference: every question, by page and by command

The page counts add to 1424.

Four kinds of entry

The index has four lookup tables, and each has its own kind of entry.

Entry Where What you look up What you get
Task E.2 a sentence that starts with a verb one to four pages, in reading order
Command E.3 the command name five pages (concepts, running, manual, settings, outputs)
Identifier E.4 an exit code, a check ID, a plot code, a file extension the page that defines it
Title word and file name A–Z reference the first word of a title, or an output file name the page, with its location

How the A–Z is sorted

The A–Z reference lists every page once, under the first letter of its title after four clean-ups, so that pages are sorted by subject and not by the way a title is introduced:

  1. A leading Chapter N — is removed (the overview pages of the later chapters carry one).
  2. A leading page number such as 39.9 or A.4 is removed.
  3. A leading Complete is removed, so Complete eda command and option index is filed under E.
  4. Leading punctuation is removed, so $INPUT mapping is filed under I, and .eda settings file under E.

The sort is not case-sensitive, and titles that begin with a digit are grouped first, under 0–9. A page appears once, even when a topic is covered in several chapters; the same subject under different chapters is the reason for entries such as ETA and EPS shrinkage, which appears under both Chapter 18 and Chapter 21 (pages 18.34 and 21.17).

The second section of the A–Z lists output file names, sorted the same way. A file name appears with the page that describes it in Chapter 38, and with every other Chapter 38 page that names it. A name in angle brackets (<stem>.ext) stands for the model's stem; see 4.1.

Three lookups, done step by step

1. "My run ended with exit code 11." The codes are in E.4. The row for 11 reads checkpoint: resume or checkpoint identity or compatibility failed and points to page 39.13 Exit code 11: checkpoint or resume incompatibility. The same page family has one page per code, 39.4 to 39.14, so the answer is one hop away. The general page 4.4 Exit codes, errors, warnings and notes introduces the codes, and 36.35 Exit codes and machine-readable completion is the reference table.

2. "What is the check REC05?" There are two checks with this name: the quality-control command for datasets has REC01–REC20 (record consistency, then infusions and repeats), and the one for control streams has REC01–REC10 (record presence, order and includes). The identifier table in E.4 lists both, with the page of each family: 11.13 Core record consistency: REC01–REC12 and 12.6 Record presence, order and includes: REC01-REC10. The command that printed the code tells you which.

3. "Which file holds the selection probabilities of a covariate analysis?" Search the second section of the A–Z reference for selection. The file selection_probabilities.csv is listed with 38.15 Posterior-stability, both-engine, and resume outputs, the output dictionary of the posterior-stability engine. The method that produces it is explained in Chapter 24 and run in Chapter 25.

The index is generated from the list of pages, and every link was checked against that list when this appendix was built: a file name that does not exist stops the build. A reader who finds a broken link has therefore found a page that was renamed after the index was built. Open the overview of the chapter (the table above) and look for the page by title; then report the old and the new name. Do not edit the A–Z by hand; regenerate it.

Review checklist

  • Can you read a page name: chapter, running number, slug?
  • Do you know that chapter 23A is spelled with a lowercase a in its file names?
  • Can you name the chapter-level reference of the chapter you are working in?
  • Can you say how Complete eda command and option index is sorted in the A–Z?
  • Given a code that two commands can print, do you know to ask which command printed it?

See the previous page, the next page, the overview, and the complete index reference.