Compute prediction interval statistics for VPC.
A tidyvpcobj.
Other arguments to include.
Character specifying type of VPC (e.g., "continuous" (Default) or "categorical").
Numeric vector of length 3 specifying quantile prediction interval. Only applicable for vpc.type = "continuous".
Numeric specifying confidence level.
Numeric indicating quantile type. See quantile.
Updates tidyvpcobj with stats
data.table object, which contains the following columns:
bin: Resulting bin value as specified in binning() function
xbin: Midpoint x-value of the observed data points in the bin as specified in xbin argument of binning() function
qname: Quantiles specified in qpred. Only returned if vpc.type = "continuous"
pname: Categorical probability names. Only returned if vpc.type = "categorical"
y: Observed y value for the specified quantile
lo: Lower bound of specified confidence interval for y value in simulated data
md: Median y value in simulated data
hi: Upper bound of specified confidence interval for y value in simulated data