coverage: Compute coverage

Description Usage Arguments Value See Also

View source: R/sim_metrics.R

Description

Compute coverage

Usage

1
coverage(CI, true_param_value)

Arguments

CI

list. Each element contains the upper and lower values of the 95% CI of an interation.

true_param_value

numeric scalar. True value of the parameter.

Value

numeric vector with two values: (1) Probability that the 95% CI contains the true value and (2) MCMC Standard Error

See Also

Morris, Tim P., Ian R. White, and Michael J. Crowther. "Using simulation studies to evaluate statistical methods." Statistics in medicine 38.11 (2019): 2074-2102.


JasperHG90/sleepsimReval documentation built on May 16, 2020, 2:35 a.m.