This is an implementation of Bailors method for calculating AUCs with sparse sampling. It is taken from the following publication:
Nedelman, J. R., Gibiansky, E., & Lau, D. T. (1995). Applying Bailer's method for AUC confidence intervals to sparse sampling Pharmaceutical Research, 12(1), 124-128.
1 2 3 4
data frame containing the sparse data
list with names specifying the columns:
list with the following elements
isgood Boolean value indicating the result of the function call
AUC Mean AUC
var_AUC Variance of the AUC
msgs Sequence of strings contianing a description of any problems
obss Internal of observations
times Sequence of time corresponding to the rows of
r number of observations at each time point (rows correspond to rows of
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.