coverage: Compute coverage

View source: R/eval_metrics.R

coverageR Documentation

Compute coverage

Description

Compute coverage

Usage

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.


smildiner/simHMM documentation built on July 17, 2022, 2 p.m.