conformal_scores_lei_wasserman: calculate true CDE conformal score and approximate mass...

Description Usage Arguments Value

View source: R/data_lei_wasserman.R

Description

calculate true CDE conformal score and approximate mass non-conformal score under Lei & Wasserman 2014 perfect data fit.

Usage

1
conformal_scores_lei_wasserman(x, y, grid = seq(-8, 8, length.out = 100))

Arguments

x

x value

y

observed y value

grid

good range of potential y values that take up most of mass of CDE, should also be equally spaced.

Value

data frame with


benjaminleroy/simulationBands documentation built on Dec. 19, 2021, 8:41 a.m.