Documentation

Appendix A — Mathematical background

Mathematical background: tools, models, algorithms, inference and designs

What you will learn

  • Find, in one notation, the matrix tools, the likelihood, the approximations and the algorithms behind the estimation chapters.
  • Follow one subject through every approximation, and compare each with the exact integral.
  • Use the inference tools — covariance step, delta method, three tests, information criteria — and the design tools — Fisher information, non-central \(\chi^2\) power, simulation.
  • Check any formula or number of the book by five kinds of hand check.

Prerequisites: none; read the page you need. Basic calculus, linear algebra and probability are assumed.

The chapters state the equations the program uses where they are needed. This appendix collects the mathematics under them, in one notation, with worked numbers. It is organised in five groups.

Group Pages What it gives
Tools A.1–A.5 notation; matrix identities; matrix calculus; Cholesky and conditioning; the distributions
The model A.6–A.7 the mixed-effects likelihood and the objective function; residual-error models
Algorithms A.8–A.11 linearisation and Laplace; optimisation and differentiation; SAEM; importance sampling
Inference A.12–A.13 the covariance step, the delta method and the three tests; information criteria
Simulation, NCA, design, response A.14–A.17 random streams; NCA; Fisher information and power; exposure–response likelihoods
Verification A.18 five kinds of check, a table of the illustrations, and the map from formula to command

How to read it

  • Looking up a rule? Go to the page of the group; each page opens with what you will learn and closes with a checklist.
  • Learning the estimation methods in order? A.6 → A.8 → A.9 → A.10 → A.11 → A.12.
  • Planning a study? A.5 → A.14 → A.16.
  • Checking a result? A.18.

One subject, five approximations

Pages A.3, A.6, A.7, A.8, A.9, A.10, A.11 and A.14 share one subject: a 100 mg intravenous dose, one ETA on clearance, a proportional residual error and three concentrations. Its exact objective is \(-0.8150\); the FO, FOCE, FOCE-I and Laplace approximations give \(-1.283\), \(-1.602\), \(-1.087\) and \(-0.758\); the importance-sampling estimate gives \(-0.8151\) at 3000 draws. Following the same numbers through every page shows what each method assumes and what it costs.

What is, and is not, in this appendix

Every equation here describes what the program computes; the formulas were checked against the program's own equation reference, and the worked illustrations were recomputed with independent arithmetic. The numbers in the illustrations are not results of a study and are marked as illustrations in the text. The appendix does not cover the equations specific to a single command (the data-check statistics, the control-stream checks, the plot smoothers, the covariate engines and the exposure metrics of the simulation command); those are in the chapters of the commands.

The appendix has 18 numbered pages, this overview, and the reference: 20 Markdown pages in total. Continue with A.1.