Documentation

A.15 Non-compartmental analysis: the formulas, derived and checked

From a concentration profile to AUC, lambda_z and CL/F

What you will learn

  • Derive the linear and logarithmic trapezoid rules, and the first-moment (AUMC) segments, and apply the three rules (linear, linear–log, linear-up/log-down).
  • Fit the terminal slope \(\lambda_z\) by weighted regression, apply the best-fit window rule, and compute \(t_{1/2}\), adjusted \(R^2\) and span.
  • Compute \(\mathrm{AUC}_\infty\), the extrapolated fraction, MRT, CL/F and \(V_z\)/F; check dose proportionality and a geometric-mean ratio.

Prerequisites: A.5 and Chapter 14.

Areas under the curve

A profile is a set of points \((t_k,C_k)\). The area over one segment \([t_1,t_2]\), \(\Delta t=t_2-t_1\), depends on how the concentration is assumed to behave between the points.

Linear trapezoid — the concentration is a straight line:

\[ \mathrm{AUC}_{12}=\frac{C_1+C_2}{2}\,\Delta t . \]

Logarithmic trapezoid — the concentration is an exponential, \(C(t)=C_1e^{-k(t-t_1)}\) with \(k=\ln(C_1/C_2)/\Delta t\). Integrating,

\[ \int_{t_1}^{t_2}C_1e^{-k(t-t_1)}dt=\frac{C_1-C_2}{k}=\frac{(C_1-C_2)\,\Delta t}{\ln(C_1/C_2)}\qquad(\,=C_2\Delta t\ \text{if}\ C_1=C_2). \]

It is exact for a mono-exponential decline and needs both concentrations positive and different. A declining profile is nearly exponential, so the logarithmic rule is more accurate on the way down, where the linear rule overestimates (a chord lies above a convex curve); on the way up, the linear rule is the sensible choice.

Rule (auc_method) Segments that use the logarithmic form
linear none
linear-log all segments starting at or after \(T_{\max}\)
linear-up-log-down (default) segments with \(C_2<C_1\) (falling)

First-moment area. \(\mathrm{AUMC}=\int tC\,dt\) is the area under \(t\,C(t)\), and gives the mean residence time. Per segment:

\[ \text{linear:}\ \ \frac{t_1C_1+t_2C_2}{2}\,\Delta t,\qquad \text{logarithmic:}\ \ t_1\,\mathrm{AUC}_{12}+\Delta t^2\,C_2\,\frac{e^{L}-1-L}{L^2},\quad L=\ln\frac{C_1}{C_2}, \]

with \((e^L-1-L)/L^2\to\tfrac12\) as \(L\to0\) (a series is used for \(\lvert L\rvert<0.1\), and the log ratio is computed from the relative difference to keep digits when concentrations are almost equal).

The terminal slope

After \(T_{\max}\) the profile declines as \(C\approx Ae^{-\lambda_zt}\), so \(\ln C\) is linear in \(t\) with slope \(-\lambda_z\). Regress \(\ln C\) on \(t\) with weights \(w\) (\(1\) for uniform, \(1/C\), or \(1/C^2\)):

\[ b=\frac{\sum w(t-\bar t_w)(y-\bar y_w)}{\sum w(t-\bar t_w)^2},\quad a=\bar y_w-b\,\bar t_w,\quad\lambda_z=-b,\quad t_{1/2}=\frac{\ln2}{\lambda_z}, \]
\[ R^2=1-\frac{\mathrm{SSE}_w}{\mathrm{SST}_w},\qquad R^2_{\text{adj}}=1-(1-R^2)\frac{n-1}{n-2},\qquad \text{span}=\frac{t_{\text{end}}-t_{\text{start}}}{t_{1/2}}. \]

The best-fit window. Every window of the last \(n=n_{\min},\dots,n_{\max}\) points (\(n_{\min}=3\)) is regressed. Among the windows with \(\lambda_z>0\), the winners are those whose \(R^2_{\text{adj}}\) is within tolerance (\(10^{-4}\)) of the best, and the one with the most points is chosen. The fit is rejected when \(R^2_{\text{adj}}<\) min_adj_r2 (0.7), flagged when the span is below 2 half-lives, and flagged when fewer than 3 points are used.

Derived parameters

With dose \(D\), last measurable sample \((t_{\text{last}},C_{\text{last}})\), and \(\hat C_{\text{last}}=e^{a-\lambda_zt_{\text{last}}}\) the regression value:

Parameter Formula
\(\mathrm{AUC}_\infty\) (observed) \(\mathrm{AUC}_{\text{last}}+C_{\text{last}}/\lambda_z\)
\(\mathrm{AUC}_\infty\) (predicted) \(\mathrm{AUC}_{\text{last}}+\hat C_{\text{last}}/\lambda_z\)
% extrapolated \(100\,(\mathrm{AUC}_\infty-\mathrm{AUC}_{\text{last}})/\mathrm{AUC}_\infty\)
\(\mathrm{AUMC}_\infty\) \(\mathrm{AUMC}_{\text{last}}+t_{\text{last}}C^\ast/\lambda_z+C^\ast/\lambda_z^2\), \(C^\ast=C_{\text{last}}\) or \(\hat C_{\text{last}}\)
MRT \(\mathrm{AUMC}_\infty/\mathrm{AUC}_\infty\) (minus \(t_{\text{inf}}/2\) for an infusion)
CL (IV), CL/F (extravascular) \(D/\mathrm{AUC}_\infty\)
\(V_z\), \(V_z\)/F \(D/(\lambda_z\,\mathrm{AUC}_\infty)\)
\(V_{ss}\) (IV) \(\mathrm{CL}\cdot\mathrm{MRT}\)
at steady state \(\mathrm{AUC}_\tau\), \(C_{\text{avg}}=\mathrm{AUC}_\tau/\tau\), fluctuation \(100(C_{\max}-C_{\min})/C_{\text{avg}}\), \(\mathrm{CL}_{ss}=D/\mathrm{AUC}_\tau\)
predicted accumulation \(1/(1-e^{-\lambda_z\tau})\)

The tail formulas follow from integrating the terminal exponential: \(\int_{t_{\text{last}}}^{\infty}C_{\text{last}}e^{-\lambda_z(s-t_{\text{last}})}ds=C_{\text{last}}/\lambda_z\), and \(\int_{t_{\text{last}}}^\infty s\,C(s)\,ds=t_{\text{last}}C_{\text{last}}/\lambda_z+C_{\text{last}}/\lambda_z^2\).

A worked illustration

An oral profile after a 100 mg dose (invented numbers to show the arithmetic; concentrations in mg/L, time in h):

\(t\) 0 0.5 1 2 4 8 12 24
\(C\) 0 3.1 5.4 6.8 5.5 3.3 2.0 0.45

\(C_{\max}=6.8\) at \(T_{\max}=2\) h. The segments, with the default rule (logarithmic only where the profile falls):

Segment \(C_1\to C_2\) linear AUC rule AUC AUMC segment
0–0.5 0 → 3.1 0.775 0.775 0.3875
0.5–1 3.1 → 5.4 2.125 2.125 1.7375
1–2 5.4 → 6.8 6.100 6.100 9.5000
2–4 6.8 → 5.5 12.300 12.254 36.3292
4–8 5.5 → 3.3 17.600 17.227 100.4414
8–12 3.3 → 2.0 10.600 10.384 102.1129
12–24 2.0 → 0.45 14.700 12.469 206.5038
sum 64.200 61.334 457.012

By hand, the 2–4 h falling segment: \((6.8-5.5)\times2/\ln(6.8/5.5)=2.6/0.21217=12.254\); the linear rule gives \(12.300\). The AUMC of the same segment: \(t_1\mathrm{AUC}_{12}=2\times12.254=24.508\), plus \(\Delta t^2C_2\,(e^L-1-L)/L^2=4\times5.5\times0.53732=11.821\), total \(36.329\). The linear rule overestimates \(\mathrm{AUC}_{\text{last}}\) by \(64.200-61.334=2.87\) (4.7 %), nearly all in the long final segment, where the profile falls by a factor of 4.4.

The terminal slope. The windows of the last 3, 4 and 5 points:

Points \(\lambda_z\) (1/h) \(R^2_{\text{adj}}\) within \(10^{-4}\) of the best?
3 (8, 12, 24 h) 0.124476 0.99999592 yes (it is the best)
4 (4–24 h) 0.124981 0.99995825 yes (difference \(3.8\times10^{-5}\))
5 (2–24 h) 0.124160 0.99980889 no (difference \(1.8\times10^{-4}\))

Two windows are winners; the rule takes the one with more points, the 4-point window. By hand for it: \(\ln C=(1.7047,\ 1.1939,\ 0.6931,\ -0.7985)\) at \(t=(4,8,12,24)\), so \(\bar t=12\), \(\overline{\ln C}=0.6983\), \(S_{xy}=-27.996\), \(S_{xx}=224\), and

\[ b=S_{xy}/S_{xx}=-0.12498,\quad\lambda_z=0.12498\ \mathrm{h}^{-1},\quad t_{1/2}=\ln2/0.12498=5.546\ \mathrm{h},\quad R^2=0.99997,\quad\text{span}=\frac{24-4}{5.546}=3.6 . \]

The span of 3.6 half-lives is above the 2 required, and \(R^2_{\text{adj}}\) is far above 0.7: the fit is accepted.

Derived parameters (observed \(C_{\text{last}}=0.45\)):

Parameter Value
\(C_{\text{last}}/\lambda_z\) 3.600
\(\mathrm{AUC}_\infty=61.334+3.600\) 64.935 mg·h/L
% extrapolated 5.54 %
\(\mathrm{AUMC}_\infty=457.012+24\times3.600+0.45/0.12498^2\) 572.234
MRT \(=572.234/64.935\) 8.81 h
CL/F \(=100/64.935\) 1.540 L/h
\(V_z\)/F \(=100/(0.12498\times64.935)\) 12.32 L

The extrapolated 5.5 % is well below the 20 % that is a widely used convention (the program's own limit is the max_extrap setting), so \(\mathrm{AUC}_\infty\) would be reported. These numbers are an illustration; the values of the case studies are in Chapter 41 (pages 41.6 onward).

Dose proportionality and group comparison

Power model (Smith et al.). For a parameter \(P\) over doses \(D\):

\[ \ln P=\ln\alpha+\beta\ln D,\qquad\hat\beta\pm t_{1-\alpha/2,\,n-2}\,\mathrm{SE}(\hat\beta)\quad(90\,\%\text{ by default}). \]

Perfect proportionality is \(\beta=1\). With dose ratio \(r=D_{\max}/D_{\min}\) and acceptance limits \((\theta_L,\theta_U)=(0.8,\ 1.25)\) the interval of \(\beta\) that is compatible with proportionality is

\[ \Bigl(1+\frac{\ln\theta_L}{\ln r},\ 1+\frac{\ln\theta_U}{\ln r}\Bigr). \]

Illustration: for \(r=4\) (for example 25 to 100 mg), \(\ln0.8/\ln4=-0.161\) and \(\ln1.25/\ln4=+0.161\), so the critical interval is \((0.839,\ 1.161)\). A slope with a 90 % interval inside it is proportional; wholly below, less than proportional; wholly above, greater; otherwise inconclusive. A narrow dose range gives a wider acceptance band (\(\pm0.32\) for \(r=2\), against \(\pm0.16\) for \(r=4\)) but a less precise slope, so the two effects compete.

Geometric-mean ratio. For a test and a reference group, with the differences of the log values \(\bar d\) and standard error \(\mathrm{SE}\) (paired, or Welch for parallel groups):

\[ \mathrm{GMR}=100\,e^{\bar d},\qquad\mathrm{CI}=100\exp\bigl(\bar d\pm t_{1-\alpha/2,\mathrm{df}}\,\mathrm{SE}\bigr)\quad(90\,\%), \]

within 80–125 % if the whole interval is inside the limits. Illustration: \(\bar d=0.0328\), \(\mathrm{SE}=0.04\) and 11 degrees of freedom (\(t_{0.95,11}=1.796\)) give \(\mathrm{GMR}=103.3\,\%\) with a 90 % interval of \(96.2\)–\(111.0\,\%\), inside 80–125 %.

Absolute bioavailability. From an intravenous and an extravascular profile of the same subject, \(F=\dfrac{\mathrm{AUC}_{\text{ev}}/D_{\text{ev}}}{\mathrm{AUC}_{\text{iv}}/D_{\text{iv}}}\), from \(\mathrm{AUC}_{\text{last}}\) and from \(\mathrm{AUC}_{\infty}\).

Common mistakes

  • Dropping the "/F" from an extravascular clearance or volume.
  • Calling \(\mathrm{AUC}_{\text{last}}\) the \(\mathrm{AUC}_\infty\), or reporting \(\mathrm{AUC}_\infty\) with a large extrapolated fraction without saying so.
  • Accepting a \(\lambda_z\) from a window that is shorter than two half-lives.
  • Using the linear rule on a steep decline and then comparing with a software that uses the logarithmic rule.

Review checklist

  • Can you derive the logarithmic trapezoid and say when it is exact?
  • Can you apply the best-fit window rule, including the tolerance and the "most points" tie-break?
  • Can you compute \(\mathrm{AUC}_\infty\), MRT, CL/F and \(V_z\)/F from the pieces?
  • Can you state the dose-proportionality interval for a given dose ratio?

See the previous page, the next page and the mathematical reference.