calibration_bands {calibrationband}  R Documentation 
Confidence bands for monotone probabilities
Description
Confidence bands for monotone probabilities
Usage
calibration_bands(
x,
y,
alpha = 0.05,
method = "standard",
digits = NULL,
nc = FALSE
)
Arguments
x 
covariate. 
y 
response variable (in 0,1). 
alpha 
type one error probability (1 minus the confidence level). 
method 

digits 
number of digits for method 
nc 
use noncrossing bands for method 
Value
An object of class calibrationband
, which is a list containing the following entries:
bands  a tibble holding x,lwr,upr the lower and upper bound,
for each value of x .
The upper bound extends to the left and the lower bound to the right,
that is, the upper bound for x[i]<s<x[i+1] is upr[i+1] ,
and the lower bound for x[i]<s<x[i+1] is lwr[i] . 
cal  a tibble holding the areas/segments of calibration (out=0 ) and miscalibration (out=1 ). 
bins  a tibble of the characteristics of the isotonic bins. 
cases  tibble of all predictions and observations.
In addition it holds the column isoy , which is the isotonic
regression of y at points x . 
alpha  the given type one error probability (1 minus the nominal coverage of the band). 
method  the selected method for computing the band. 
nc  the selected method for noncrossing. 
digits  the given digits for method "round"
(or NULL for method "standard" ). 
time  time to compute the upper and lower band. 
[Package calibrationband version 0.2.1 Index]