interval_score: Calculate interval scores for multiple intervals at a single...

View source: R/wis.R

interval_scoreR Documentation

Calculate interval scores for multiple intervals at a single value of alpha

Description

Calculate interval scores for multiple intervals at a single value of alpha

Usage

interval_score(y, l, u, alpha)

Arguments

y

vector of observations from target distribution

l

lower bound of predictive distribution

u

upper bound of predictive distribution

alpha

the interval l,u is a (1 - alpha)*100% predictive interval

Value

vector of interval scores separately for each element of y


reichlab/covidEnsembles documentation built on Jan. 31, 2024, 7:21 p.m.