Interactive
Where distributions enter pharmacometric models
Follow one synthetic oral dose through four places a probability distribution enters a pharmacometric model (when the drug is absorbed, how parameters vary between people, how measurements scatter, and what a recorded observation contributes to the likelihood) and see what a distribution's shape changes even when its mean does not.
A population pharmacokinetic model is a few equations for a typical person and a handful of probability distributions around them. The equations get most of the attention. The distributions decide most of what the model can say about anyone who is not the average (which is everyone (1)) as well as how wide a prediction interval is, how likely a low concentration is, and how a measurement below the assay’s limit counts as evidence.
This post follows one synthetic oral dose (100 mg, bioavailability , clearance L/h, volume L) through four places a distribution enters the model:
- When the drug enters the body. The times at which molecules reach the circulation have a distribution, and its shape is the shape of absorption.
- Which parameters an individual has. Each individual draws a clearance (or a bioavailability) once, and keeps it at every visit.
- What each measurement reads. Each sample draws a residual error around the person’s own curve.
- What a recorded observation is worth. The same distribution that generates data scores it, as a density, a probability or a probability mass.
At each stop two distributions are matched on a familiar summary (a mean, a CV, a median) so that what differs is the shape. All the numbers are simulated in your browser from a seed you can see. None of the examples is a real drug.
Reading a distribution
A continuous distribution is described by its density : the probability of a value in a small interval near is about , so a density is a probability per unit of x, and it can be greater than 1. Probabilities are areas under the density. The cumulative distribution function (CDF), , is the running total of that area, which makes it the easier curve to read a probability from: the probability of an interval is the rise of the CDF across it.
The normal distribution with mean and standard deviation has density
View data
| x | Density (1/unit of x) |
|---|---|
| −4.0 | 0.0001338 |
| −3.6 | 0.0006119 |
| −3.2 | 0.002384 |
| −2.8 | 0.007915 |
| −2.4 | 0.02239 |
| −2.0 | 0.05399 |
| −1.6 | 0.1109 |
| −1.2 | 0.1942 |
| −0.8 | 0.2897 |
| −0.4 | 0.3683 |
| 0.0 | 0.3989 |
| 0.4 | 0.3683 |
| 0.8 | 0.2897 |
| 1.2 | 0.1942 |
| 1.6 | 0.1109 |
| 2.0 | 0.05399 |
| 2.4 | 0.02239 |
| 2.8 | 0.007915 |
| 3.2 | 0.002384 |
| 3.6 | 0.0006119 |
| 4.0 | 0.0001338 |
A normal distribution with synthetic defaults (mean 0, SD 1; seed 50).
Theory and the draws
| Quantity | Theory | 200 draws |
|---|---|---|
| Support | all real x | |
| P(−1 ≤ X ≤ 1) | 68.3% | 69.5% |
| Mean | 0 | −0.0832 |
| SD | 1 | 1.06 |
| Mass beyond the axis (x < -4 or > 4) | 0.0063% | 0 of 200 |
The density of a standard normal: mean 0, SD 1. The shaded area between −1 and 1 is the probability of a value in that interval, 68.3%. Change the interval: the area, and the probability, follow.
The same distribution as a CDF. Each point is the probability of a value at or below , so the probability of the interval is the rise between its ends: .
Two hundred draws from the distribution, made by passing 200 uniform numbers through the normal quantile function . The histogram is scaled as a density, so it sits on the curve rather than above it. With this seed, 69.5% of the draws fall in the interval, against 68.3% in theory. Resample to see how much 200 draws vary.
The SD doubled to 2, with the SD 1 curve pinned (dashed). The same interval now holds 38.3% of the distribution, and 4.6% of it lies beyond the axis, outside −4 to 4. A density with a larger SD is lower as well as wider: its total area stays 1.
The same distribution, written with its precision instead of its SD, the way BUGS and some Bayesian software write the normal. Changing the parameterization changes the numbers on the slider, not the curve.
The scenes below use the same three readings: the density for shape, the CDF for probabilities, and draws through the quantile function for simulation. The last one matters most for what follows. Every random number in this post is a uniform draw passed through a quantile function, so the same can be pushed through two distributions to compare them draw for draw. That technique, known as common random numbers, keeps the comparisons below about shape and not about luck.
When the drug enters the body
An oral dose does not enter the circulation all at once. Each molecule that is absorbed arrives at some time after the dose, and the distribution of those times, with density , is the absorption process. If a fraction of the dose is absorbed, the rate of input into the central compartment is
With linear one-compartment elimination (), the concentration is the input convolved with the decline after an intravenous bolus:
First-order absorption is the case where is an exponential density, , with mean , and the convolution gives the familiar Bateman function. Any other density on positive times gives another absorption model. The gamma density with integer shape is the time to pass through equal first-order stages in series, which is why it describes transit compartments: delayed absorption that rises smoothly rather than starting at its fastest (2). (The published transit model adds an absorption compartment after the transit chain. Here the gamma density is the input itself, to keep the comparison to one shape.) The Weibull density is a third option, which can rise faster or slower than exponential at the start.
To compare shapes rather than speeds, every kernel here has the same mean input time. For a gamma with shape the scale is mean; for a Weibull with shape , the scale is mean.
View data
| Time (h) | Exponential: input density (1/h) | Exponential: entered (fraction) | Exponential: concentration (mg/L) |
|---|---|---|---|
| 0.0 | 0.5 | 0.000 | 0 |
| 0.5 | 0.389 | 0.221 | 0.428 |
| 1.0 | 0.303 | 0.393 | 0.736 |
| 1.5 | 0.236 | 0.528 | 0.951 |
| 2.0 | 0.184 | 0.632 | 1.1 |
| 2.5 | 0.143 | 0.713 | 1.19 |
| 3.0 | 0.112 | 0.777 | 1.24 |
| 3.5 | 0.0869 | 0.826 | 1.26 |
| 4.0 | 0.0677 | 0.865 | 1.26 |
| 4.5 | 0.0527 | 0.895 | 1.24 |
| 5.0 | 0.041 | 0.918 | 1.21 |
| 5.5 | 0.032 | 0.936 | 1.17 |
| 6.0 | 0.0249 | 0.950 | 1.13 |
| 6.5 | 0.0194 | 0.961 | 1.08 |
| 7.0 | 0.0151 | 0.970 | 1.03 |
| 7.5 | 0.0118 | 0.976 | 0.982 |
| 8.0 | 0.00916 | 0.982 | 0.932 |
| 8.5 | 0.00713 | 0.986 | 0.884 |
| 9.0 | 0.00555 | 0.989 | 0.836 |
| 9.5 | 0.00433 | 0.991 | 0.79 |
| 10.0 | 0.00337 | 0.993 | 0.746 |
| 10.5 | 0.00262 | 0.995 | 0.704 |
| 11.0 | 0.00204 | 0.996 | 0.663 |
| 11.5 | 0.00159 | 0.997 | 0.625 |
| 12.0 | 0.00124 | 0.998 | 0.588 |
| 12.5 | 0.000965 | 0.998 | 0.554 |
| 13.0 | 0.000752 | 0.998 | 0.521 |
| 13.5 | 0.000585 | 0.999 | 0.49 |
| 14.0 | 0.000456 | 0.999 | 0.461 |
| 14.5 | 0.000355 | 0.999 | 0.433 |
| 15.0 | 0.000277 | 0.999 | 0.407 |
| 15.5 | 0.000215 | 1.000 | 0.383 |
| 16.0 | 0.000168 | 1.000 | 0.36 |
| 16.5 | 0.000131 | 1.000 | 0.338 |
| 17.0 | 0.000102 | 1.000 | 0.318 |
| 17.5 | 7.92 × 10⁻⁵ | 1.000 | 0.299 |
| 18.0 | 6.17 × 10⁻⁵ | 1.000 | 0.281 |
| 18.5 | 4.81 × 10⁻⁵ | 1.000 | 0.264 |
| 19.0 | 3.74 × 10⁻⁵ | 1.000 | 0.248 |
| 19.5 | 2.91 × 10⁻⁵ | 1.000 | 0.233 |
| 20.0 | 2.27 × 10⁻⁵ | 1.000 | 0.219 |
| 20.5 | 1.77 × 10⁻⁵ | 1.000 | 0.206 |
| 21.0 | 1.38 × 10⁻⁵ | 1.000 | 0.193 |
| 21.5 | 1.07 × 10⁻⁵ | 1.000 | 0.181 |
| 22.0 | 8.35 × 10⁻⁶ | 1.000 | 0.17 |
| 22.5 | 6.50 × 10⁻⁶ | 1.000 | 0.16 |
| 23.0 | 5.07 × 10⁻⁶ | 1.000 | 0.15 |
| 23.5 | 3.94 × 10⁻⁶ | 1.000 | 0.141 |
| 24.0 | 3.07 × 10⁻⁶ | 1.000 | 0.133 |
Synthetic example: 100 mg orally, F 0.8, CL 5 L/h, V 40 L. The solid curve is exponential input with a mean of 2 h.
Exposure
| Quantity | Exponential |
|---|---|
| Peak, Cmax (mg/L) | 1.26 |
| Peak time, tmax (h) | 3.70 |
| AUC₀–24 (mg·h/L) | 14.94 |
| AUC₀–∞ (mg·h/L) | 16.00 |
| Not yet entered at 24 h | 0.00061% |
First-order absorption with 1/h, written as an exponential distribution of input times with a mean of 2 h. The top panel is the input density, the middle one the fraction of the absorbed dose that has entered, and the bottom one the concentration: a peak of 1.26 mg/L at 3.70 h.
A gamma distribution with shape 3 and the same 2 h mean, against the exponential (dashed). The gamma input starts slowly and then arrives in a bunch, so the peak is higher, 1.44 against 1.26 mg/L. By chance, it comes at almost the same time.
Shape 1. A gamma with shape 1 is the exponential, so the two curves coincide: first-order absorption is the one-stage transit chain.
A Weibull with shape 0.5 and the same mean. Its density is infinite at time zero (drawn clipped at the top), and it has a long tail: much of the dose enters at once and the rest trickles in. The peak comes early, at 2.16 h, and 0.75% of the absorbed dose has still not entered by 24 h.
Slower absorption, with a mean of 6 h for both kernels. The exponential leaves 1.8% of the absorbed dose still to enter at 24 h, so its area to 24 h falls short of the total. Whatever the shape, the total area is the same: mg·h/L, because every absorbed milligram is eventually cleared at the same clearance.
A density that is infinite at time zero has no value to draw there, so the concentrations here never evaluate it: each time step’s input is the rise of the CDF across that step, which is finite. The curves are checked against R’s numerical integration and, for the exponential, against the closed form, and the peak time and height converge as the time step is refined.
Which parameters an individual has
In a population model each individual has their own parameters, drawn once from a distribution and kept for every dose and visit. This interindividual variability (IIV) is usually written on a log scale: with , which makes log-normal. Two individuals whose differ by the same amount differ by the same factor in clearance, and no individual has a negative clearance.
The log-normal is a choice, not a law, and other shapes have been estimated from data (3). A gamma distribution is also positive and right-skewed. Matching it to the log-normal on the arithmetic mean and CV gives:
- Log-normal: with and . The median, , is below the mean.
- Gamma: shape and scale mean.
A bioavailability lives on , so it needs a bounded distribution. A beta distribution is bounded by construction. A logit-normal, where is normal, is the bounded analogue of the log-normal, and the usual way to put IIV on a fraction. Here both are centred at a median of 0.5, and the logit-normal’s SD is chosen so its 95th percentile matches the beta’s: .
View data
| Time (h) | Log-normal: 5th pct (mg/L) | Log-normal: median | Log-normal: 95th pct | Gamma: 5th pct | Gamma: median | Gamma: 95th pct |
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0.706 | 0.738 | 0.756 | 0.707 | 0.737 | 0.758 |
| 2 | 1 | 1.1 | 1.16 | 1.01 | 1.1 | 1.17 |
| 3 | 1.08 | 1.25 | 1.36 | 1.09 | 1.24 | 1.37 |
| 4 | 1.04 | 1.27 | 1.43 | 1.05 | 1.26 | 1.44 |
| 5 | 0.944 | 1.23 | 1.43 | 0.952 | 1.22 | 1.45 |
| 6 | 0.829 | 1.15 | 1.39 | 0.838 | 1.14 | 1.41 |
| 7 | 0.711 | 1.05 | 1.33 | 0.721 | 1.04 | 1.36 |
| 8 | 0.602 | 0.955 | 1.26 | 0.612 | 0.946 | 1.29 |
| 9 | 0.504 | 0.86 | 1.18 | 0.514 | 0.851 | 1.21 |
| 10 | 0.42 | 0.77 | 1.11 | 0.428 | 0.761 | 1.14 |
| 11 | 0.347 | 0.688 | 1.04 | 0.355 | 0.678 | 1.07 |
| 12 | 0.286 | 0.613 | 0.965 | 0.294 | 0.603 | 1 |
| 13 | 0.236 | 0.545 | 0.899 | 0.242 | 0.536 | 0.934 |
| 14 | 0.193 | 0.484 | 0.836 | 0.199 | 0.475 | 0.872 |
| 15 | 0.158 | 0.429 | 0.778 | 0.164 | 0.421 | 0.814 |
| 16 | 0.13 | 0.381 | 0.723 | 0.135 | 0.373 | 0.76 |
| 17 | 0.106 | 0.338 | 0.672 | 0.11 | 0.33 | 0.709 |
| 18 | 0.0868 | 0.3 | 0.625 | 0.0905 | 0.292 | 0.661 |
| 19 | 0.0709 | 0.266 | 0.581 | 0.0742 | 0.259 | 0.617 |
| 20 | 0.058 | 0.235 | 0.54 | 0.0608 | 0.229 | 0.575 |
| 21 | 0.0473 | 0.209 | 0.501 | 0.0498 | 0.203 | 0.536 |
| 22 | 0.0387 | 0.185 | 0.466 | 0.0408 | 0.179 | 0.5 |
| 23 | 0.0316 | 0.164 | 0.433 | 0.0334 | 0.159 | 0.467 |
| 24 | 0.0258 | 0.145 | 0.402 | 0.0273 | 0.14 | 0.435 |
Synthetic population of 500 individuals (seed 50): 100 mg orally, ka 0.5 1/h, V 40 L, F 0.8, CL varying. Band: 5th–95th percentile.
Clearance under each distribution
| Quantity | Log-normal (solid) | Gamma (dashed) |
|---|---|---|
| Distribution | Log-normal | Gamma |
| Transformed scale | ln CL ~ N(1.566, 0.294²) | shape 11.11, scale 0.45 L/h |
| Arithmetic mean L/h | 5 | 5 |
| Median L/h | 4.79 | 4.85 |
| CV | 30% | 30% |
| 5th percentile L/h | 2.95 | 2.81 |
| 95th percentile L/h | 7.76 | 7.7 |
| C at 12 h, 5th–95th (mg/L) | 0.286–0.965 | 0.294–1 |
Five hundred individuals, each with one uniform number, turned into a clearance by the log-normal quantile function (mean 5 L/h, CV 30%). The top panel shows the distribution and every individual’s draw; the bottom one, eight individuals’ curves inside the 5th–95th percentile band of all 500.
The highlighted individual is the same person in both panels: their clearance draw on top and their whole concentration curve below. An individual’s draw does not change between visits, so a person with a high clearance is low at every time point. Step through the individuals to see the link.
The gamma distribution with the same mean (5 L/h) and CV (30%), drawn dashed. The two shapes nearly overlap in the middle but not in the tails: the log-normal’s 5th percentile is 2.95 L/h and the gamma’s 2.81, and their medians are 4.79 and 4.85 L/h. Switch which one the individuals draw from: each keeps their uniform number, so each moves along their own quantile.
At a CV of 60% the tails part company. The gamma’s 5th percentile is 1.27 L/h, against 1.72 for the log-normal: the gamma puts more individuals at a very low clearance, and so more at a high concentration. The means and CVs still match exactly.
Bioavailability, with clearance fixed at 5 L/h: a beta(5, 5) against a logit-normal with a logit SD of 0.663, matched at the median and the 95th percentile. Matching at the 95th percentile does not match everything below it: 1.96% of the beta lies below 0.2, against 1.83% of the logit-normal.
Matching a mean and a CV fixes two numbers, not a shape. In the middle of a population the choice rarely matters, but a dose decision is often made for the tails: the slowest clearers, the patients with the least drug. That is where two matched distributions disagree most.
What each measurement reads
Even an individual whose parameters are known exactly does not have measurements that sit on their curve. Assay error, sampling-time error and model misspecification are lumped into residual unexplained variability (RUV): each measurement of individual at time is the model prediction plus an error drawn fresh for that sample (4):
The common residual models differ in how the SD of depends on the prediction :
- Additive: , the same at every concentration (here mg/L).
- Proportional: , a constant CV (here ).
- Combined: , additive at low concentrations and proportional at high ones, with the two parts independent.
The error is usually normal, but a heavier-tailed distribution such as Student’s makes a model more tolerant of occasional outlying measurements (5). To compare shapes at the same spread, the here has the combined model’s SD at every concentration, which needs a scale of for degrees of freedom.
View data
| Visit (h) | Prediction (mg/L) | Residual SD (mg/L) | Measurement (mg/L) | Residual (mg/L) | P(|residual| > 0.5 mg/L) |
|---|---|---|---|---|---|
| 1 | 0.736 | 0.150 | 0.934 | 0.198 | 0.0858% |
| 2 | 1.096 | 0.150 | 1.003 | −0.093 | 0.0858% |
| 4 | 1.257 | 0.150 | 1.275 | 0.019 | 0.0858% |
| 8 | 0.932 | 0.150 | 0.783 | −0.149 | 0.0858% |
| 12 | 0.588 | 0.150 | 0.504 | −0.084 | 0.0858% |
| 24 | 0.133 | 0.150 | 0.276 | 0.143 | 0.0858% |
Synthetic example (seed 50): the typical individual’s curve, with residual error a = 0.15 mg/L, b = 15%.
Visit at 24 h
| Quantity | Additive normal |
|---|---|
| Visit | 24 h |
| Prediction | 0.133 mg/L |
| Residual SD | 0.150 mg/L |
| Measurement | 0.276 mg/L |
| Residual | 0.143 mg/L |
| P(|measurement − prediction| > 0.5 mg/L) | 0.0858% |
The typical individual’s curve, with one simulated measurement at each of six visits and additive error, SD 0.15 mg/L. The lower panel is the distribution of the selected visit’s measurement given the curve. With additive error, the chance that a measurement misses the prediction by more than 0.5 mg/L is 0.09% at every visit. A normal error can make a measurement negative near the end of the curve, which no assay would report; the chart marks any such value.
Proportional error with a CV of 15%. Each visit keeps the same uniform draw, so each point moves along its own quantile: farther from the curve near the peak, almost onto it at 24 h, where the SD is only 0.02 mg/L.
The combined model, at the 2 h visit. Both parts now contribute: the SD is 0.22 mg/L at 2 h, 0.24 at the peak, and never below 0.15. The chance of missing the prediction by more than 0.5 mg/L is 2.46% at 2 h.
Student’s with 4 degrees of freedom and the same SD as the combined model. At a matched SD the is both more peaked and heavier-tailed: more measurements sit close to the curve, and the chance of a miss larger than 0.5 mg/L at 2 h rises from 2.46% to 3.36%. Raise the degrees of freedom and the approaches the normal.
Five hundred simulated individuals with log-normal clearance (CV 30%) and combined residual error. The inner band (5th–95th percentile) is the spread of their true curves, from IIV alone; the outer band adds residual error, and is what a sample of measurements would show. Turn either source off: without IIV the inner band collapses onto one curve, and without RUV the outer band shrinks onto the inner one.
The two bands answer different questions. A prediction interval for a person’s true exposure uses the inner one, and a visual predictive check against measured data uses the outer one. Mixing them up makes a model look better or worse than it is.
What a recorded observation is worth
A model is fitted by asking how probable the recorded data are under it. Each observation contributes a factor to that likelihood, and the same distribution that simulated measurements above supplies the factor. What the factor is depends on what was recorded.
- A concentration reading contributes the density of its distribution at the value read. It is a density, measured per mg/L, not a probability.
- A reading below the lower limit of quantification (LLOQ) has no value, only the fact that it was below the limit. It contributes the probability of that event, the CDF at the LLOQ, rather than being discarded or replaced by a made-up number. This is Beal’s method M3 (6).
- A yes/no outcome contributes the probability of what happened, from a Bernoulli distribution.
- A count of events in a fixed interval contributes the probability of that count. A Poisson distribution has its variance equal to its mean. A negative binomial with mean and size has variance , more than the mean, which suits counts that vary more between people or visits than a Poisson allows (7). As it becomes the Poisson.
View data
| Reading (mg/L) | Density (per mg/L) | P(Y ≤ reading) |
|---|---|---|
| −0.3 | 0.044 | 0.002 |
| −0.2 | 0.235 | 0.014 |
| −0.1 | 0.808 | 0.062 |
| 0.0 | 1.794 | 0.190 |
| 0.1 | 2.575 | 0.414 |
| 0.2 | 2.389 | 0.672 |
| 0.3 | 1.431 | 0.865 |
| 0.4 | 0.554 | 0.961 |
| 0.5 | 0.139 | 0.992 |
| 0.6 | 0.022 | 0.999 |
| 0.7 | 0.002 | 1.000 |
| 0.8 | 0.000 | 1.000 |
Synthetic example: the typical individual’s reading at 24 h under combined residual error, LLOQ 0.25 mg/L.
Likelihood contribution
| Quantity | Value |
|---|---|
| Recorded | 0.300 mg/L |
| Contribution | 1.4313 (density, per mg/L) |
| Log contribution | 0.359 |
The typical individual’s predicted concentration at 24 h is 0.133 mg/L, and the combined residual model gives a measurement there an SD of 0.151 mg/L. A reading of 0.30 mg/L contributes the density at 0.30: 1.43 per mg/L, a log contribution of 0.359.
The reading falls to 0.20 mg/L, below the LLOQ of 0.25. The lab reports only “below the limit”, so the observation contributes the shaded area, : a probability, which cannot exceed 1. Turn censoring off to score the value as if it had been reported.
A binary outcome, such as whether an adverse event occurred, with a probability of 0.3. An event contributes 0.3, and no event 0.7.
Counts over one visit interval, with a mean of 2 under both models. The negative binomial with size 2 has twice the Poisson’s variance (4 against 2), and it moves probability into both tails: a count of zero has probability 0.250 under it, against 0.135 under the Poisson.
A count of 5. The Poisson gives it 0.036 and the negative binomial 0.047, and the chance of 5 or more is 5.3% against 10.9%. Equal means, very different tails. Raise the size: the negative binomial bars converge on the Poisson.
Under a Poisson model, a visit with a high count is very strong evidence against the parameters. Under a negative binomial it is less surprising, so it pulls the estimates less. The choice of distribution decides how much each outlying observation is allowed to move the fit.
The distribution explorer
The explorer below covers the continuous distributions in this post. It starts from the comparison you left in the first scene. Pick a family, switch between its parameterizations (the curve stays put), compare it with a pinned curve, and check theory against 200 seeded draws. Densities that are infinite at a boundary, undefined moments (the mean of a with one degree of freedom) and infinite ones (the variance of a with two) are shown as such rather than as numbers. Parameters are in units of , whatever is measured in. The state is in the page’s address, so a view can be shared.
View data
| x | Density (1/unit of x) | Pinned: Density (1/unit of x) |
|---|---|---|
| −5.15 | 0.00723 | 6.885 × 10⁻⁷ |
| −4.64 | 0.01358 | 8.568 × 10⁻⁶ |
| −4.12 | 0.02387 | 8.177 × 10⁻⁵ |
| −3.61 | 0.03926 | 0.0005985 |
| −3.09 | 0.06042 | 0.003359 |
| −2.58 | 0.08703 | 0.01446 |
| −2.06 | 0.1173 | 0.04773 |
| −1.55 | 0.148 | 0.1208 |
| −1.03 | 0.1747 | 0.2346 |
| −0.515 | 0.193 | 0.3494 |
| 0 | 0.1995 | 0.3989 |
| 0.515 | 0.193 | 0.3494 |
| 1.03 | 0.1747 | 0.2346 |
| 1.55 | 0.148 | 0.1208 |
| 2.06 | 0.1173 | 0.04773 |
| 2.58 | 0.08703 | 0.01446 |
| 3.09 | 0.06042 | 0.003359 |
| 3.61 | 0.03926 | 0.0005985 |
| 4.12 | 0.02387 | 8.177 × 10⁻⁵ |
| 4.64 | 0.01358 | 8.568 × 10⁻⁶ |
| 5.15 | 0.00723 | 6.885 × 10⁻⁷ |
Normal distribution (mean 0, SD 2); dashed, pinned: normal (mean 0, SD 1). Draws: seed 50.
Its densities, CDFs and quantiles are checked against R’s stats functions (8) at interior points, at the edges of each support and far into the tails.
Further families
A few other families turn up in pharmacometrics without needing a scene of their own:
| Family | Parameters | Support | Mean | Variance | Where it appears |
|---|---|---|---|---|---|
| Logistic | Heavier tails than the normal; the logit of a uniform draw is logistic. | ||||
| Gumbel | The largest of many draws; the log of a Weibull variable has a (minimum) Gumbel. | ||||
| Chi-square | A gamma with shape and rate ; the reference for likelihood-ratio tests. |
Summary
A distribution enters a pharmacometric model at least four times: when the drug is absorbed, when an individual’s parameters are drawn, when each measurement is drawn around that person’s curve, and when each recorded observation is scored. At each place, two distributions matched on a mean, a median or a CV can still differ in the tails, and the tails are where the decisions are: the slowest absorbers, the slowest clearers, the outlying measurement, the visit with many events.