auc() Function in PK R Package

Q

How to use the auc() function in PK R Package?

✍: Guest

A

auc() function in the PK R package provides you estimation of confidence intervals for the area under the concentration versus time curve in complete and incomplete data designs.

Example from "Nedelman J. R., Gibiansky E. and Lau D. T. W. (1995). Applying Bailerâ€™s method for AUC confi- dence intervals to sparse sampling. Pharmaceutical Research, 12(1):124-128".

```> install.packages("PK")
> library(PK)

> conc = c(2790, 3280, 4980, 7550, 5500, 6650, 2250, 3220, 213, 636)
> time = c(1, 1, 2, 2, 4, 4, 8, 8, 24, 24)
> obj = auc(conc=conc, time=time, method=c("z", "t"), design="ssd")

> print(obj)
Estimation for a serial sampling design

Estimate      SE            95% t-CI
AUC to tlast 59886.00 5752.50 (33477.66;86294.34)

Estimate      SE            95% z-CI
AUC to tlast 59886.00 5752.50 (48611.31;71160.69)

> summary(obj)
Confidence intervals for a serial sampling design

Point estimate

est     se
AUC to tlast 59886 5752.5

Confidence Intervals

lower    upper
95% CI using a t distribution for AUC to tlast 33477.66 86294.34
95% CI using a z distribution for AUC to tlast 48611.31 71160.69

degrees of freedom: 1.874534
```

Â

â‡‘â‡‘ PK/PD Tutorials

2021-05-04, 634🔥, 0💬