Sparse AUC to Infinity and the Uncertainty of lambda.z
Bill Denney
2026-10-08
Source:vignettes/v24-sparse-auc-to-infinity.Rmd
v24-sparse-auc-to-infinity.RmdSummary and recommendations
For sparse sampling, where each animal gives one or a few samples:
-
Use the delta-method standard error for the AUC to infinity
(the default). When little of the AUC is extrapolated, Yuan’s
standard error, which treats
as known, and the delta method both cover close to the nominal 95% (Yuan
94 to 96%). When about a fifth of the AUC is extrapolated, Yuan’s
intervals are too narrow (81 to 89% coverage), and the delta method is
closer to nominal (90 to 94%). Set
sparse_lambda_z_se = "none"for Yuan’s method. -
Give the AUC a concentration at time 0. As for any
PKNCA AUC, the sparse AUC is
NAwithout one. Sacrificial designs rarely sample at the dose, so after an extravascular dose impute zero withimpute = "start_conc0". After an IV bolus, request the IV parameters (aucivlast,aucivinf.obs): they back-extrapolate from the mean profile and include its uncertainty. - Treat the AUMC, and the MRT and Vss that come from it, with caution. The AUMC to infinity was biased low in most scenarios, and its confidence intervals under-covered in every scenario, even with the delta method (79 to 92%), most when elimination was slow.
- The half-life of the mean profile is not the typical animal’s half-life. It was too long when the terminal phase was well sampled (by up to 11%) and too short when the profile was cut short by BLQ samples or a two-compartment distribution (down to -10%). Sample long enough to see at least three terminal half-lives.
- Cmax of the mean profile reads high with few animals per time. Taking the maximum of noisy means near a broad peak overestimated Cmax by up to 10%.
- Geometric-mean profiles were evaluated and not adopted. They were no more biased and were as precise or modestly more precise, but they estimate a different quantity (the typical animal rather than the population mean curve), need a rule for BLQ samples that drives their BLQ results, and fall outside the variance methods for sparse AUCs, which are for arithmetic means; adopting them would change all sparse calculations for a modest gain.
- Estimating from the individual samples was evaluated and not adopted. A (mixed-effects) Tobit fit gave a steadier point estimate when was uncertain, but its standard error, added to Yuan’s, did not cover as well as the delta method.
Introduction
With sparse sampling, each animal contributes only one or a few samples to a concentration-time profile, so there is no individual AUC to summarize. Instead, the AUC is estimated from the mean concentration at each time, and its standard error comes from the variability between animals at each time. Bailer (1988) gave the estimator and its variance for the AUC from time 0 to the last sampling time with serial sacrifice (one sample per animal). Nedelman and Jia (1998) extended it to designs where animals give more than one sample, with a Satterthwaite approximation for the degrees of freedom, and Holder (2001) gave an unbiased estimator of the covariance between times. Yuan (1993) extended Bailer’s method to the AUC from 0 to infinity by adding the extrapolation , treating the terminal elimination rate as known.
In practice, is estimated from the same data, so its uncertainty adds to that of the AUC to infinity. This vignette describes how PKNCA calculates the sparse AUC and AUMC to infinity with their standard errors and degrees of freedom, gives a delta-method extension of Yuan’s method that includes the uncertainty in , extends both to IV bolus dosing, and compares the methods in a simulation-estimation study. A second study compares arithmetic and geometric mean profiles.
The sparse AUC to the last measurement
At each sampling time (), animals are sampled and is the arithmetic mean concentration. animals are sampled at both and (). The linear trapezoidal AUC of the mean profile is a weighted sum of the means,
where is the last time with a positive mean. Since the estimate is linear in the means, its variance is
with the covariance of the concentrations at and within an animal. PKNCA estimates with the sample variance and () with the unbiased estimator of Holder (2001), setting it to 0 when fewer than two animals are sampled at both times. With serial sacrifice, for and this is Bailer’s (1988) variance, .
Only times up to have weight. When more than half of the samples at a time are below the limit of quantification (BLQ), PKNCA sets that time’s mean to zero; times after the last positive mean are not part of , and they contribute nothing to its variance either.
As for any AUC in PKNCA, the area starts at the start of the
interval, so a concentration is needed there, measured or imputed;
without one, the sparse AUC is NA. Animals are rarely
sampled at the dose in sacrificial designs, so after an extravascular
dose the usual choice is to impute a concentration of zero with
impute = "start_conc0". An imputed zero is known rather
than measured, so it has weight in the estimate (as
)
but no variance.
Extrapolation to infinity (Yuan 1993)
With first-order terminal elimination, the area after is , so
This is still linear in the means if is known, with the last weight increased by . Yuan’s (1993) variance (his equation 4) is Bailer’s with that weight, :
Written this way, the method applies to any sampling design, not only serial sacrifice.
The AUMC is the AUC of the moment curve . Its estimate uses the moment means , and the extrapolation is , so the AUMC weights are applied to the moment means, with the covariances of the moments .
IV bolus: the back-extrapolated C0
After an IV bolus, the concentration at time 0 is not zero, and it
cannot be measured. As for dense data, PKNCA estimates it from the mean
profile with the methods of pk.calc.c0(): log-linear
back-extrapolation from the first two means when they decline,
and otherwise . The AUC adds the trapezoid from time 0 to , . is a smooth function of the first two means, so its uncertainty enters the variance through its gradient, as in the next section: the weights of and gain , with
With the linear trapezoidal rule, the AUMC from time 0 to
is
whatever
is, so
does not affect the AUMC. These are the sparse aucivlast,
aucivall, and aucivinf.obs (and their AUMC
equivalents), each with its standard error and degrees of freedom.
The uncertainty of lambda.z (delta method)
is estimated from the mean profile: PKNCA fits a line to the log mean
concentrations at the half-life points, chosen automatically by the
adjusted
(see vignette("v06-half-life-calculation")). For a given
set of half-life points
,
the estimate is minus the least-squares slope,
a smooth function of the means. So is a smooth function of the means, and the delta method gives its variance from the same covariance of the means with the gradient in place of the weights:
The last term is the uncertainty in . Because the gradient is taken with respect to all of the means together, the variance includes the covariance of with and with . Those covariances matter: a high mean at an early half-life point raises the AUC to but steepens the slope, which lowers the extrapolated area, so the two partly cancel. Adding a separately estimated variance of to Yuan’s variance would miss that.
For the AUMC, with the moment means, and
The method conditions on the selected half-life points: the variability from choosing them is not included. It is a first-order approximation, which is most accurate when the coefficient of variation of the means at the half-life points is small.
Degrees of freedom
Confidence intervals use a distribution. The variance estimate is a quadratic form in the individual measurements , , where centers the measurements at each time and weights the products of each animal’s measurements by , with the divisor of the Holder covariance. With the covariance of the measurements, Nedelman and Jia’s (1998) equation 6 gives the Satterthwaite degrees of freedom,
With serial sacrifice, this is equation 6a of Nedelman, Gibiansky, and Lau (1995). PKNCA uses the same expression with the weights for the AUC and AUMC to infinity, with or without the delta-method terms.
An alternative: lambda.z from the individual samples
Instead of the log means, could be estimated from every individual sample in the terminal phase, with its standard error from that regression. Samples below the limit of quantification are censored, so the regression is a Tobit regression on the log concentrations; when animals give more than one sample, a random intercept for each animal accounts for their correlation. The variance of is then added to Yuan’s variance.
Two properties of this approach differ from the delta method. A line through the individual log concentrations follows the geometric-mean profile, while the AUC and come from the arithmetic means; the two have the same terminal slope only when the between-animal coefficient of variation is the same at every terminal time. And the regression does not give the covariance of with the means, so it is added as though it were independent. The simulation below compares both.
Simulation-estimation study
Design
Both studies in this vignette share one design
(data-raw/sparse_simulation_design.R in the PKNCA source).
Concentrations come from one- and two-compartment models (pmxTools)
after a dose of 100, given orally or as an IV bolus, with log-normal
between-animal variability (30% on each structural parameter) and a
multiplicative residual error (15%) with mean 1:
- One compartment: 10, 0.15/hr (fast elimination, half-life 4.6 hr) or 0.07/hr (slow, 9.9 hr), and oral 5/hr (Tmax 0.7 to 0.9 hr).
- Two compartments: 10, 15, 6, and chosen for the same terminal half-lives after a distribution phase with a half-life of about 0.5 hr; oral 2.5/hr (Tmax 0.6 to 0.7 hr).
The slow elimination leaves about a fifth of the AUC to extrapolate after 24 hours, and the fast elimination less than a tenth. Two limits of quantification gave no BLQ samples or about a third of the samples at 24 hours BLQ (70% of the typical concentration at 24 hours). No animal was sampled at the dose. The serial-sacrifice design sampled 4 animals at each of 9 times (0.25, 0.5, 1, 2, 4, 6, 8, 12, 24 hours for oral dosing; for IV bolus dosing, the first time was 5 minutes and 6 hours was omitted); the batch design sampled three batches of 4 animals, each batch at a third of those times. With 32 scenarios (two models, two routes, two designs, two limits of quantification, and two elimination rates), the standard error study had 5,000 replicates per scenario.
The truth is the AUC (and AUMC) from 0 to infinity of the population mean concentration curve, which is what the arithmetic means estimate: the mean of the individual values over 100,000 virtual animals (Monte Carlo standard error at most 0.24%). For each replicate, the oral concentration at time 0 was imputed as zero and the IV bolus was back-extrapolated, the half-life was fit to the mean profile as PKNCA does, and three standard errors were calculated:
-
Yuan:
treated as known (
sparse_lambda_z_se = "none"); -
Delta: the delta method for
(
sparse_lambda_z_se = "delta"); - Individual: and its standard error from a Tobit regression of the individual samples from the first half-life time onward (with a random intercept for each animal in the batch design), with that in the extrapolation and its variance added to Yuan’s.
The simulation is in data-raw/sparse_aucinf_simulation.R
in the PKNCA source, which was run with PKNCA 0.12.1.9002 and pmxTools
1.5 (R version 4.6.1 (2026-06-24), 2026-10-07); every replicate has its
own seed, so the results can be reproduced.
Results: coverage of the AUC to infinity
| Model | Route | Design | BLQ | Elimination | Extrap. (%) | Coverage Yuan | Coverage delta | Coverage indiv. | CI width Yuan | CI width delta | CI width indiv. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1-cmt | oral | serial | none | fast | 4.5 | 94.9 | 95.5 | 94.9 | 41 | 42 | 40 |
| 1-cmt | IV bolus | serial | none | fast | 4.4 | 95.9 | 96.3 | 95.8 | 44 | 45 | 43 |
| 1-cmt | oral | batch | none | fast | 4.5 | 95.0 | 95.4 | 94.8 | 60 | 61 | 59 |
| 1-cmt | IV bolus | batch | none | fast | 4.3 | 95.9 | 96.2 | 95.8 | 59 | 60 | 58 |
| 1-cmt | oral | serial | moderate | fast | 7.2 | 93.7 | 95.1 | 94.1 | 41 | 44 | 40 |
| 1-cmt | IV bolus | serial | moderate | fast | 6.8 | 94.4 | 95.7 | 94.7 | 45 | 47 | 44 |
| 1-cmt | oral | batch | moderate | fast | 7.3 | 94.9 | 95.6 | 94.9 | 61 | 64 | 59 |
| 1-cmt | IV bolus | batch | moderate | fast | 7.0 | 94.8 | 95.7 | 94.7 | 59 | 62 | 58 |
| 1-cmt | oral | serial | none | slow | 21.1 | 84.5 | 90.6 | 85.7 | 45 | 64 | 46 |
| 1-cmt | IV bolus | serial | none | slow | 20.6 | 86.7 | 91.2 | 87.3 | 45 | 61 | 45 |
| 1-cmt | oral | batch | none | slow | 20.8 | 88.5 | 91.9 | 88.8 | 57 | 72 | 56 |
| 1-cmt | IV bolus | batch | none | slow | 20.3 | 89.1 | 92.0 | 89.6 | 57 | 70 | 56 |
| 1-cmt | oral | serial | moderate | slow | 20.9 | 82.9 | 92.2 | 88.8 | 51 | 77 | 54 |
| 1-cmt | IV bolus | serial | moderate | slow | 20.7 | 85.7 | 93.6 | 90.2 | 52 | 74 | 55 |
| 1-cmt | oral | batch | moderate | slow | 20.9 | 87.7 | 93.6 | 91.4 | 63 | 83 | 65 |
| 1-cmt | IV bolus | batch | moderate | slow | 20.9 | 87.8 | 93.4 | 91.0 | 63 | 82 | 65 |
| 2-cmt | oral | serial | none | fast | 3.5 | 94.4 | 95.2 | 94.6 | 31 | 32 | 31 |
| 2-cmt | IV bolus | serial | none | fast | 3.3 | 93.7 | 95.1 | 94.2 | 32 | 33 | 32 |
| 2-cmt | oral | batch | none | fast | 3.6 | 95.4 | 95.9 | 95.4 | 43 | 44 | 42 |
| 2-cmt | IV bolus | batch | none | fast | 3.2 | 94.9 | 95.5 | 95.0 | 43 | 44 | 42 |
| 2-cmt | oral | serial | moderate | fast | 4.9 | 94.1 | 95.7 | 94.9 | 31 | 33 | 31 |
| 2-cmt | IV bolus | serial | moderate | fast | 4.6 | 94.1 | 95.5 | 94.6 | 32 | 34 | 32 |
| 2-cmt | oral | batch | moderate | fast | 5.0 | 94.7 | 95.7 | 95.2 | 43 | 45 | 43 |
| 2-cmt | IV bolus | batch | moderate | fast | 4.5 | 94.7 | 95.5 | 94.8 | 42 | 44 | 42 |
| 2-cmt | oral | serial | none | slow | 18.4 | 83.6 | 90.2 | 84.7 | 34 | 50 | 34 |
| 2-cmt | IV bolus | serial | none | slow | 17.6 | 85.5 | 91.6 | 86.3 | 33 | 47 | 34 |
| 2-cmt | oral | batch | none | slow | 18.4 | 87.3 | 92.4 | 88.1 | 40 | 54 | 40 |
| 2-cmt | IV bolus | batch | none | slow | 17.6 | 88.1 | 92.5 | 88.3 | 39 | 52 | 39 |
| 2-cmt | oral | serial | moderate | slow | 17.9 | 81.3 | 91.9 | 87.8 | 41 | 61 | 44 |
| 2-cmt | IV bolus | serial | moderate | slow | 17.1 | 83.6 | 92.1 | 88.7 | 40 | 58 | 42 |
| 2-cmt | oral | batch | moderate | slow | 17.6 | 84.3 | 92.9 | 89.6 | 46 | 64 | 49 |
| 2-cmt | IV bolus | batch | moderate | slow | 17.1 | 86.1 | 93.3 | 90.3 | 46 | 63 | 48 |
Results: coverage of the AUMC to infinity
| Model | Route | Design | BLQ | Elimination | Extrap. (%) | Coverage Yuan | Coverage delta | Coverage indiv. | CI width Yuan | CI width delta | CI width indiv. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1-cmt | oral | serial | none | fast | 4.5 | 85.3 | 87.5 | 83.9 | 74 | 88 | 71 |
| 1-cmt | IV bolus | serial | none | fast | 4.4 | 85.3 | 87.3 | 84.1 | 75 | 86 | 72 |
| 1-cmt | oral | batch | none | fast | 4.5 | 86.9 | 88.8 | 85.6 | 84 | 95 | 80 |
| 1-cmt | IV bolus | batch | none | fast | 4.3 | 86.3 | 87.7 | 85.1 | 82 | 91 | 78 |
| 1-cmt | oral | serial | moderate | fast | 7.2 | 84.0 | 89.0 | 84.7 | 80 | 101 | 76 |
| 1-cmt | IV bolus | serial | moderate | fast | 6.8 | 85.1 | 89.5 | 84.8 | 80 | 99 | 77 |
| 1-cmt | oral | batch | moderate | fast | 7.3 | 88.1 | 91.8 | 88.3 | 91 | 111 | 87 |
| 1-cmt | IV bolus | batch | moderate | fast | 7.0 | 86.5 | 89.9 | 86.1 | 88 | 107 | 84 |
| 1-cmt | oral | serial | none | slow | 21.1 | 66.5 | 82.8 | 67.8 | 83 | 159 | 83 |
| 1-cmt | IV bolus | serial | none | slow | 20.6 | 68.2 | 81.8 | 68.6 | 83 | 151 | 82 |
| 1-cmt | oral | batch | none | slow | 20.8 | 68.5 | 82.1 | 68.0 | 86 | 153 | 81 |
| 1-cmt | IV bolus | batch | none | slow | 20.3 | 69.8 | 82.5 | 69.3 | 86 | 146 | 81 |
| 1-cmt | oral | serial | moderate | slow | 20.9 | 66.0 | 84.6 | 75.2 | 99 | 185 | 109 |
| 1-cmt | IV bolus | serial | moderate | slow | 20.7 | 67.8 | 86.2 | 76.6 | 100 | 177 | 107 |
| 1-cmt | oral | batch | moderate | slow | 20.9 | 69.4 | 85.6 | 77.5 | 102 | 178 | 107 |
| 1-cmt | IV bolus | batch | moderate | slow | 20.9 | 69.7 | 85.8 | 77.6 | 101 | 171 | 106 |
| 2-cmt | oral | serial | none | fast | 3.5 | 85.0 | 87.4 | 83.5 | 68 | 81 | 65 |
| 2-cmt | IV bolus | serial | none | fast | 3.3 | 84.3 | 86.7 | 82.8 | 70 | 82 | 67 |
| 2-cmt | oral | batch | none | fast | 3.6 | 86.7 | 88.7 | 85.6 | 78 | 89 | 74 |
| 2-cmt | IV bolus | batch | none | fast | 3.2 | 85.4 | 87.5 | 83.9 | 77 | 87 | 73 |
| 2-cmt | oral | serial | moderate | fast | 4.9 | 82.8 | 87.5 | 83.8 | 72 | 91 | 70 |
| 2-cmt | IV bolus | serial | moderate | fast | 4.6 | 82.6 | 86.9 | 83.2 | 74 | 92 | 72 |
| 2-cmt | oral | batch | moderate | fast | 5.0 | 85.0 | 89.5 | 86.3 | 81 | 98 | 80 |
| 2-cmt | IV bolus | batch | moderate | fast | 4.5 | 84.0 | 87.5 | 84.0 | 79 | 95 | 77 |
| 2-cmt | oral | serial | none | slow | 18.4 | 62.5 | 80.0 | 61.9 | 70 | 134 | 69 |
| 2-cmt | IV bolus | serial | none | slow | 17.6 | 62.2 | 79.9 | 60.9 | 70 | 129 | 68 |
| 2-cmt | oral | batch | none | slow | 18.4 | 64.5 | 81.2 | 62.8 | 74 | 135 | 69 |
| 2-cmt | IV bolus | batch | none | slow | 17.6 | 62.9 | 79.2 | 61.2 | 72 | 129 | 69 |
| 2-cmt | oral | serial | moderate | slow | 17.9 | 62.1 | 82.4 | 71.8 | 86 | 158 | 97 |
| 2-cmt | IV bolus | serial | moderate | slow | 17.1 | 60.5 | 80.3 | 69.1 | 84 | 148 | 94 |
| 2-cmt | oral | batch | moderate | slow | 17.6 | 62.1 | 81.9 | 72.3 | 87 | 154 | 97 |
| 2-cmt | IV bolus | batch | moderate | slow | 17.1 | 62.8 | 81.7 | 71.4 | 87 | 151 | 96 |
Coverage is the percentage of 95% confidence intervals that contain the truth, and the CI width is the median width relative to the truth (%). The Monte Carlo standard error of each coverage is at most 0.7 percentage points.
Results: accuracy of the point estimates
The point estimate with from the log means (“mean”, shared by Yuan and delta) and with from the Tobit fit of the individual samples (“indiv.”): bias, median absolute error (MAE), and root mean squared error (RMSE), all relative to the truth (%).
| Model | Route | Design | BLQ | Elimination | Bias mean | Bias indiv. | MAE mean | MAE indiv. | RMSE mean | RMSE indiv. |
|---|---|---|---|---|---|---|---|---|---|---|
| 1-cmt | oral | serial | none | fast | 3.2 | 2.5 | 6.9 | 6.7 | 11.1 | 10.6 |
| 1-cmt | IV bolus | serial | none | fast | 4.1 | 3.4 | 7.3 | 7.1 | 11.8 | 11.2 |
| 1-cmt | oral | batch | none | fast | 3.4 | 2.6 | 9.2 | 9.1 | 14.7 | 14.0 |
| 1-cmt | IV bolus | batch | none | fast | 3.7 | 3.0 | 8.7 | 8.6 | 14.3 | 13.7 |
| 1-cmt | oral | serial | moderate | fast | 3.0 | 1.6 | 7.3 | 6.9 | 13.1 | 10.8 |
| 1-cmt | IV bolus | serial | moderate | fast | 3.6 | 2.6 | 7.7 | 7.4 | 12.3 | 11.2 |
| 1-cmt | oral | batch | moderate | fast | 3.5 | 2.1 | 9.3 | 8.9 | 16.7 | 14.5 |
| 1-cmt | IV bolus | batch | moderate | fast | 3.8 | 2.6 | 9.3 | 9.1 | 15.5 | 14.2 |
| 1-cmt | oral | serial | none | slow | 1.7 | -0.2 | 9.9 | 9.7 | 19.9 | 17.5 |
| 1-cmt | IV bolus | serial | none | slow | 1.4 | -0.2 | 9.6 | 9.6 | 18.2 | 16.7 |
| 1-cmt | oral | batch | none | slow | 1.6 | -1.0 | 10.8 | 10.6 | 26.9 | 17.6 |
| 1-cmt | IV bolus | batch | none | slow | 1.3 | -0.8 | 10.7 | 10.5 | 21.7 | 18.3 |
| 1-cmt | oral | serial | moderate | slow | 0.8 | -2.4 | 12.4 | 11.4 | 103.9 | 20.8 |
| 1-cmt | IV bolus | serial | moderate | slow | -0.4 | -2.1 | 11.7 | 10.8 | 54.4 | 17.4 |
| 1-cmt | oral | batch | moderate | slow | 0.3 | -2.3 | 12.7 | 11.5 | 50.0 | 26.1 |
| 1-cmt | IV bolus | batch | moderate | slow | 0.7 | -1.6 | 12.7 | 11.7 | 60.8 | 48.7 |
| 2-cmt | oral | serial | none | fast | 3.8 | 3.3 | 5.5 | 5.4 | 8.9 | 8.5 |
| 2-cmt | IV bolus | serial | none | fast | 5.2 | 4.7 | 6.2 | 6.0 | 9.8 | 9.3 |
| 2-cmt | oral | batch | none | fast | 3.9 | 3.4 | 6.8 | 6.5 | 10.6 | 10.2 |
| 2-cmt | IV bolus | batch | none | fast | 5.1 | 4.6 | 7.1 | 6.8 | 11.4 | 10.9 |
| 2-cmt | oral | serial | moderate | fast | 3.3 | 2.6 | 5.7 | 5.5 | 12.1 | 8.5 |
| 2-cmt | IV bolus | serial | moderate | fast | 4.5 | 4.0 | 6.1 | 5.8 | 9.5 | 8.9 |
| 2-cmt | oral | batch | moderate | fast | 3.3 | 2.5 | 6.8 | 6.6 | 12.1 | 10.2 |
| 2-cmt | IV bolus | batch | moderate | fast | 4.3 | 3.7 | 6.9 | 6.7 | 11.4 | 10.7 |
| 2-cmt | oral | serial | none | slow | -0.3 | -1.5 | 7.8 | 7.9 | 12.7 | 12.2 |
| 2-cmt | IV bolus | serial | none | slow | 0.2 | -1.0 | 7.5 | 7.5 | 13.2 | 12.5 |
| 2-cmt | oral | batch | none | slow | -0.2 | -1.6 | 8.1 | 8.2 | 13.7 | 13.0 |
| 2-cmt | IV bolus | batch | none | slow | 0.0 | -1.2 | 7.9 | 7.9 | 13.5 | 12.6 |
| 2-cmt | oral | serial | moderate | slow | -3.3 | -2.9 | 10.2 | 9.5 | 15.6 | 14.0 |
| 2-cmt | IV bolus | serial | moderate | slow | -3.1 | -2.9 | 9.8 | 9.0 | 14.7 | 13.5 |
| 2-cmt | oral | batch | moderate | slow | -3.4 | -3.5 | 10.3 | 9.4 | 24.3 | 14.8 |
| 2-cmt | IV bolus | batch | moderate | slow | -2.8 | -2.7 | 9.8 | 9.0 | 15.4 | 14.1 |
| Model | Route | Design | BLQ | Elimination | Bias mean | Bias indiv. | MAE mean | MAE indiv. | RMSE mean | RMSE indiv. |
|---|---|---|---|---|---|---|---|---|---|---|
| 1-cmt | oral | serial | none | fast | -0.7 | -4.4 | 15.3 | 14.9 | 27.3 | 23.1 |
| 1-cmt | IV bolus | serial | none | fast | -0.9 | -4.7 | 15.9 | 15.5 | 33.3 | 24.8 |
| 1-cmt | oral | batch | none | fast | -0.1 | -4.2 | 16.5 | 16.0 | 43.5 | 29.4 |
| 1-cmt | IV bolus | batch | none | fast | -2.2 | -5.8 | 16.5 | 16.4 | 30.3 | 25.6 |
| 1-cmt | oral | serial | moderate | fast | 1.6 | -4.8 | 17.1 | 15.9 | 55.0 | 24.5 |
| 1-cmt | IV bolus | serial | moderate | fast | -1.2 | -5.7 | 16.6 | 16.0 | 33.8 | 24.6 |
| 1-cmt | oral | batch | moderate | fast | 3.1 | -3.7 | 16.9 | 16.0 | 98.4 | 47.0 |
| 1-cmt | IV bolus | batch | moderate | fast | -0.1 | -5.8 | 17.3 | 16.6 | 41.1 | 25.5 |
| 1-cmt | oral | serial | none | slow | 3.0 | -4.8 | 28.6 | 28.8 | 83.1 | 64.0 |
| 1-cmt | IV bolus | serial | none | slow | 0.3 | -6.1 | 27.7 | 27.8 | 77.7 | 70.4 |
| 1-cmt | oral | batch | none | slow | 8.0 | -8.7 | 27.9 | 27.1 | 556.4 | 53.9 |
| 1-cmt | IV bolus | batch | none | slow | 1.5 | -8.0 | 26.7 | 26.4 | 165.0 | 86.5 |
| 1-cmt | oral | serial | moderate | slow | 172.3 | -5.5 | 35.2 | 32.1 | 11262.8 | 156.6 |
| 1-cmt | IV bolus | serial | moderate | slow | 38.3 | -8.6 | 34.5 | 31.7 | 2893.8 | 63.7 |
| 1-cmt | oral | batch | moderate | slow | 37.2 | -0.5 | 33.7 | 29.4 | 1580.1 | 701.5 |
| 1-cmt | IV bolus | batch | moderate | slow | 55.4 | 29.5 | 33.0 | 29.3 | 2504.9 | 2824.0 |
| 2-cmt | oral | serial | none | fast | -1.5 | -4.9 | 14.1 | 14.1 | 26.2 | 21.8 |
| 2-cmt | IV bolus | serial | none | fast | -2.3 | -5.7 | 15.5 | 15.4 | 28.2 | 25.4 |
| 2-cmt | oral | batch | none | fast | -1.2 | -4.6 | 15.3 | 14.9 | 27.0 | 23.3 |
| 2-cmt | IV bolus | batch | none | fast | -2.7 | -6.3 | 16.2 | 15.9 | 31.4 | 24.8 |
| 2-cmt | oral | serial | moderate | fast | 0.2 | -6.0 | 15.5 | 15.0 | 165.7 | 23.0 |
| 2-cmt | IV bolus | serial | moderate | fast | -4.1 | -7.3 | 16.2 | 15.9 | 28.9 | 23.3 |
| 2-cmt | oral | batch | moderate | fast | -0.2 | -5.9 | 16.6 | 15.7 | 72.2 | 23.7 |
| 2-cmt | IV bolus | batch | moderate | fast | -3.8 | -7.6 | 17.5 | 17.1 | 33.9 | 25.5 |
| 2-cmt | oral | serial | none | slow | -9.2 | -13.7 | 27.0 | 28.0 | 43.4 | 40.5 |
| 2-cmt | IV bolus | serial | none | slow | -9.9 | -14.5 | 27.6 | 28.9 | 50.2 | 48.4 |
| 2-cmt | oral | batch | none | slow | -8.8 | -13.8 | 26.6 | 27.9 | 47.0 | 42.9 |
| 2-cmt | IV bolus | batch | none | slow | -10.2 | -15.2 | 27.2 | 28.4 | 51.3 | 44.6 |
| 2-cmt | oral | serial | moderate | slow | -15.6 | -14.9 | 33.8 | 31.3 | 58.0 | 48.2 |
| 2-cmt | IV bolus | serial | moderate | slow | -18.1 | -17.4 | 35.4 | 32.8 | 53.2 | 50.7 |
| 2-cmt | oral | batch | moderate | slow | -10.0 | -16.4 | 33.9 | 31.0 | 471.3 | 74.6 |
| 2-cmt | IV bolus | batch | moderate | slow | -17.3 | -17.1 | 34.0 | 31.1 | 54.0 | 52.6 |
Findings
Coverage of the AUC to infinity. With fast elimination, when 3 to 7% of the AUC was extrapolated, all three methods covered close to the nominal 95% (Yuan 93.7 to 95.9%, delta 95.1 to 96.3%, individual 94.1 to 95.8%), so the uncertainty of matters little when little is extrapolated. With slow elimination, when 17 to 21% was extrapolated, treating as known under-covered (Yuan 81.3 to 89.1%), and the delta method was closest to nominal in every scenario (90.2 to 93.6%), though still a few points short. Adding the variance of from the individual samples (84.7 to 91.4%) recovered only part of the shortfall, because it omits the covariance of with the means. The results were alike for the oral and IV bolus routes, so back-extrapolating added little uncertainty, and alike for the one- and two-compartment models and the two designs.
Accuracy of the AUC to infinity. The bias of the AUC to infinity was -3.4 to 5.2%: slightly high with fast elimination, where the linear trapezoidal rule overestimates the area under the declining curve, and near zero with slow elimination (slightly low with two compartments and BLQ samples). The median absolute errors were similar for the two estimates of , but the log-mean occasionally came out near zero with slow elimination and BLQ samples, which made the AUC to infinity heavy-tailed (RMSE up to 104%). The Tobit fit uses every terminal sample, including the censored ones, rather than means that count BLQ samples as zero, and it was steadier (RMSE up to 49%).
The AUMC to infinity. All three methods under-covered the AUMC in every scenario (delta 79 to 92%, Yuan 61 to 88%, individual 61 to 88%), most with slow elimination. Its extrapolation is proportional to , so the first-order delta method is a poorer approximation, and the estimate is more heavy-tailed: its median absolute error was 14 to 35%, and with two compartments and slow elimination it was biased low (-18 to -9%), because the arithmetic mean of animals with different elimination rates declines ever more slowly, which a single exponential from misses.
Interval width. The delta-method intervals were wider than Yuan’s, most when elimination was slow; the extra width is what improved the coverage.
Arithmetic or geometric mean profiles
The sparse AUC uses the arithmetic mean at each time, whose profile
is the population mean concentration curve. A geometric mean profile
instead approximates the typical animal, and it may be less affected by
animals with high concentrations. The second study compared the two for
the AUClast, AUCinf, Cmax
(
for IV bolus), AUMClast, AUMCinf, and half-life, using the same design
with 2,000 replicates per scenario
(data-raw/sparse_mean_type_simulation.R).
For each replicate, both mean profiles were formed, and
pk.nca() calculated the parameters from each with the
linear trapezoidal rule (imputing zero at time 0 for oral dosing and
back-extrapolating
for IV bolus). For the geometric mean, a time with more than half of its
samples BLQ was BLQ (as for the arithmetic sparse mean), and otherwise
BLQ samples counted as half of the LLOQ. Each profile was compared with
its own target (the arithmetic or geometric mean of the individual
parameters of 50,000 virtual animals) and with the typical animal.
Precision is the robust coefficient of variation (the interquartile
range divided by 1.349, relative to the median).
| Parameter | Bias vs own target, arith. | Bias vs own target, geom. | Bias vs typical, arith. | Bias vs typical, geom. | Robust CV, arith. | Robust CV, geom. | Geom. CV lower (scenarios) |
|---|---|---|---|---|---|---|---|
| AUClast | -1 to 5 | 0 to 4 | 0 to 11 | -3 to 3 | 6 to 15 | 6 to 15 | 1 of 32 |
| AUCinf | -6 to 5 | -6 to 4 | -2 to 13 | -6 to 3 | 7 to 19 | 7 to 16 | 10 of 32 |
| Cmax (C0 for IV) | -4 to 10 | -3 to 10 | -1 to 15 | -4 to 10 | 11 to 26 | 11 to 25 | 1 of 32 |
| AUMClast | -7 to 0 | -5 to 1 | -7 to 12 | -11 to -3 | 10 to 23 | 11 to 22 | 5 of 32 |
| AUMCinf | -30 to -6 | -19 to 1 | -12 to 18 | -18 to 1 | 19 to 50 | 18 to 39 | 28 of 32 |
| Half-life | -18 to 5 | -14 to 3 | -10 to 11 | -12 to 3 | 20 to 34 | 16 to 29 | 17 of 32 |
| Model | Elimination | BLQ | Arithmetic | Geometric |
|---|---|---|---|---|
| 1-cmt | fast | moderate | 8 to 10 | 2 to 3 |
| 1-cmt | fast | none | 9 to 10 | -4 to -3 |
| 1-cmt | slow | moderate | -6 to -2 | -8 to -5 |
| 1-cmt | slow | none | 2 to 3 | -4 to -4 |
| 2-cmt | fast | moderate | 6 to 8 | 0 to 1 |
| 2-cmt | fast | none | 8 to 11 | -5 to -2 |
| 2-cmt | slow | moderate | -10 to -7 | -12 to -9 |
| 2-cmt | slow | none | -3 to 2 | -9 to -5 |
Findings. Against their own targets, the two profiles were similarly accurate for the AUCs and Cmax. The geometric profile was as precise or more precise, most clearly for the half-life with BLQ samples and for the AUMC to infinity, but the gains were modest elsewhere. Both underestimated the AUMC to infinity (arithmetic -30 to -6%, geometric -19 to 1%). The half-life of the arithmetic mean profile was not consistently too short: it was too long when the terminal phase was well sampled, because the late mean is dominated by the slowly eliminating animals, and too short with BLQ samples (counted as zero in the late means) and in the two-compartment model with slow elimination, where the fitted points reach back toward the distribution phase. The geometric profile was generally a few percent short, because the geometric mean of exponentials declines at the average elimination rate.
The geometric profile was not adopted. Its gains were modest; it estimates a different quantity (the typical animal rather than the population mean curve); its BLQ rule (here, half the LLOQ) is a choice that drives its results with BLQ samples; and the sparse variance methods (Bailer, Nedelman and Jia, Holder) are for arithmetic means, so adopting it would change every sparse calculation.
Calculating it with PKNCA
Request aucinf.obs (or aumcinf.obs) with
sparse data. The standard error and degrees of freedom are reported with
it as aucinf.obs_se and aucinf.obs_df, and the
summary shows the estimate with its standard error. These animals were
not sampled at the dose, so the concentration at time 0 is imputed as
zero.
d_sparse <-
data.frame(
time = rep(c(0.5, 1, 2, 4, 6, 8, 12, 24), each = 4),
conc =
c(3.1, 4.4, 3.6, 5.2, 5.8, 6.9, 5.1, 7.4, 7.2, 6.1, 8.3, 6.6,
5.0, 6.2, 4.4, 5.6, 4.1, 3.4, 4.8, 3.7, 2.9, 3.5, 2.4, 3.1,
1.6, 1.9, 1.3, 1.8, 0.33, 0.27, 0.41, 0.30)
)
d_sparse$animal <- seq_len(nrow(d_sparse))
o_data <-
PKNCAdata(
PKNCAconc(d_sparse, conc ~ time | animal, sparse = TRUE),
intervals = data.frame(start = 0, end = Inf, aucinf.obs = TRUE, aumcinf.obs = TRUE),
impute = "start_conc0"
)
o_nca <- pk.nca(o_data)
#> The sparse estimators use the linear trapezoidal rule, so the auc.method option
#> ("lin up/log down") does not apply to: aucinf.obs, aumcinf.obs
d_result <- as.data.frame(o_nca)
d_result[grepl("^au.*inf|^lambda.z$", d_result$PPTESTCD), c("PPTESTCD", "PPORRES")]
#> # A tibble: 7 × 2
#> PPTESTCD PPORRES
#> <chr> <dbl>
#> 1 lambda.z 0.139
#> 2 aucinf.obs 62.4
#> 3 aucinf.obs_se 1.85
#> 4 aucinf.obs_df 15.6
#> 5 aumcinf.obs 468.
#> 6 aumcinf.obs_se 20.2
#> 7 aumcinf.obs_df 7.14
summary(o_nca)
#> start end aucinf.obs aumcinf.obs
#> 0 Inf 62.4 [1.85] 468 [20.2]
#>
#> Caption: aucinf.obs, aumcinf.obs: estimate and standard errorThe sparse_lambda_z_se option (set globally with
PKNCA.options() or for one analysis with the
options argument of PKNCAdata()) is
"delta" (the default) for the delta method or
"none" for Yuan’s method. The method used is recorded in
the PPANMETH column.
After an IV bolus, request the IV parameters; is back-extrapolated from the mean profile, and no imputation is needed.
d_sparse_iv <-
data.frame(
time = rep(c(0.25, 0.5, 1, 2, 4, 8, 24), each = 4),
conc =
c(9.1, 10.4, 8.7, 9.9, 8.8, 9.5, 8.1, 9.2, 8.2, 7.6, 8.9, 7.9,
6.4, 7.1, 6.0, 6.9, 4.6, 4.1, 5.0, 4.3, 2.1, 1.8, 2.3, 1.9,
0.10, 0.08, 0.12, 0.09)
)
d_sparse_iv$animal <- seq_len(nrow(d_sparse_iv))
o_data_iv <-
PKNCAdata(
PKNCAconc(d_sparse_iv, conc ~ time | animal, sparse = TRUE),
PKNCAdose(data.frame(time = 0, dose = 100), dose ~ time, route = "intravascular"),
intervals = data.frame(start = 0, end = Inf, c0 = TRUE, aucivinf.obs = TRUE)
)
d_result_iv <- as.data.frame(suppressWarnings(pk.nca(o_data_iv)))
#> The sparse estimators use the linear trapezoidal rule, so the auc.method option
#> ("lin up/log down") does not apply to: aucinf.obs, aucivinf.obs
d_result_iv[grepl("^c0$|^aucivinf", d_result_iv$PPTESTCD), c("PPTESTCD", "PPORRES")]
#> # A tibble: 4 × 2
#> PPTESTCD PPORRES
#> <chr> <dbl>
#> 1 c0 10.2
#> 2 aucivinf.obs 58.0
#> 3 aucivinf.obs_se 1.35
#> 4 aucivinf.obs_df 5.97The warnings suppressed here say that the AUCs from time 0 without
(aucinf.obs, which aucivinf.obs depends on)
are not calculated.
Discussion
When
is estimated from the same samples, its uncertainty adds to that of the
AUC to infinity, and treating it as known, as Yuan’s (1993) standard
error does, under-covers once the extrapolated area is a substantial
part of the AUC. The delta method on the log means is a consistent
extension of Yuan’s method: it keeps his estimate, applies to
serial-sacrifice and batch designs alike through the covariance of the
means, includes the covariance of
with
and the AUC to
,
and needs nothing beyond the quantities already used for the sparse AUC
to
.
In the simulation it brought the coverage of the AUC to infinity much
closer to nominal when the extrapolated area was large (90.2 to 93.6%,
against 81.3 to 89.1% for Yuan), though still a few points short, and it
cost little when the extrapolated area was small. For this reason, it is
PKNCA’s default (sparse_lambda_z_se = "delta"). The same
delta method carries the uncertainty of the back-extrapolated
after an IV bolus, and the IV bolus scenarios covered as well as the
oral ones.
Estimating from the individual samples with a (mixed-effects) Tobit regression gave a more stable point estimate when samples were BLQ, but adding its variance to Yuan’s did not give adequate coverage, and its mixed-effects fit was itself occasionally unstable in the batch design with BLQ samples and slow elimination. A natural refinement, not studied here, would combine the individual-sample with a variance that includes its covariance with the means, for example by a joint delta method or a bootstrap over animals.
Limitations remain. The delta method conditions on the selected half-life points, so the uncertainty of the automatic point selection is not included; it is a first-order approximation, which is least accurate when is imprecise, as for the AUMC with slow elimination; and the arithmetic mean profile of animals with different elimination rates is not monoexponential, so the extrapolation is itself biased for the population mean curve, which is part of why the AUMC to infinity is underestimated. Where the extrapolated area is large, sampling longer remains the better remedy.
References
Bailer AJ. Testing for the equality of area under the curves when using destructive measurement techniques. Journal of Pharmacokinetics and Biopharmaceutics. 1988;16(3):303-309.
Holder DJ. Comments on Nedelman and Jia’s extension of Satterthwaite’s approximation applied to pharmacokinetics. Journal of Biopharmaceutical Statistics. 2001;11(1-2):75-79. doi:10.1081/BIP-100104199
Nedelman JR, Gibiansky E, Lau DTW. Applying Bailer’s method for AUC confidence intervals to sparse sampling. Pharmaceutical Research. 1995;12(1):124-128.
Nedelman JR, Jia X. An extension of Satterthwaite’s approximation applied to pharmacokinetics. Journal of Biopharmaceutical Statistics. 1998;8(2):317-328. doi:10.1080/10543409808835241
Yuan J. Estimation of variance for AUC in animal studies. Journal of Pharmaceutical Sciences. 1993;82(7):761-763. doi:10.1002/jps.2600820718