coverage2: Check coverage of prediction intervals

View source: R/coverage2.R

coverage2R Documentation

Check coverage of prediction intervals

Description

In this version user must supply prediction intervals (e.g., from lm.predict)

Usage

coverage2(y, ci_lb, ci_ub)

Arguments

y

numeric data vector

ci_lb

numveric vector of lower bounds for prediction intervals

ci_ub

numberic vector of upper bounds for prediction intervals

Value

Coverage for prediction intervals.

Author(s)

Eric W. Fox


ericwfox/slmrf documentation built on Feb. 24, 2024, 11:02 p.m.