eceFun: ENCE and UCE

View source: R/calibScores.R

eceFunR Documentation

ENCE and UCE

Description

ENCE and UCE

Usage

eceFun(E, uE, intrv)

Arguments

E

(vector) errors

intrv

(list) intervals generated by 'genIntervals'

u

(vector) prediction uncertainties

Value

A list with ence and uce values

Examples


  uE = sqrt(rchisq(1000, df = 4))  # Re-scale uncertainty
  E  = rnorm(uE, mean=0, sd=uE)    # Generate errors
  intrv = ErrViewLib::genIntervals(uE, 30)
  eceFun(E, uE, intrv)


ppernot/ErrViewLib documentation built on June 1, 2024, 4:33 a.m.