coverage computes the coverage on confidence intervals

coverage(goldStandard, lowerBounds, upperBounds)

Arguments

goldStandard

Numeric vector

lowerBounds

Numeric vector. Lower bound of the confidence intervals

upperBounds

Numeric vector. Upper bound of the confidence intervals

Value

The proportion of times goldStandard falls between lowerBound and upperBound