coverage: calculate percentage of time the 95 percent CI actually...

View source: R/coverage.r

coverageR Documentation

calculate percentage of time the 95 percent CI actually covers the true treatment effect estimate

Description

calculate percentage of time the 95 percent CI actually covers the true treatment effect estimate

Usage

coverage(beta, se, te, cf = NULL, use_cf = FALSE)

Arguments

beta

vector of coefficients

se

vector of standard errors for coefficients provided in beta

te

true treatment effect

cf

correction factor (single constant)


aescherling/optic-core documentation built on June 15, 2022, 4:56 a.m.