Compute VPC statistics
vpcstats(o, ...)# S3 method for tidyvpcobj
vpcstats(
o,
qpred = c(0.05, 0.5, 0.95),
...,
conf.level = 0.95,
quantile.type = 7
)
tidyvpc object
Other arguments to include
Numeric vector of length 3 specifying quantile prediction interval
Numeric specifying confidence level
Numeric indicating quantile type. See quantile
Updates tidyvpcobj with stats data.table object which contains the following columns:
bin: the resulting bin value as specified in `binning()` function
xbin: the midpoint x-value of the observed data points in the bin as specified in `xbin` argument of `binning()` function
qname: the quantiles specified in `qpred`
y: the observed y value for the specified quantile
lo: the lower bound of specified confidence interval for y value in simulated data
md: the median y value in simulated data
hi: the upper bound of specified confidence interval for y value in simulated data
Compute predictional interval statistics for VPC
observed simulated censoring stratify binning binless predcorrect