get_cumul_miscoverage_rate | R Documentation |
Get the cumulative empirical miscoverage rate of a confidence sequence
get_cumul_miscoverage_rate(
data_generator_fn,
conf_set_fn,
times,
num_repeats,
mu = 0,
n_cores = 1
)
data_generator_fn |
A function which generates a vector of data (() -> real) |
conf_set_fn |
A function which takes a vector of data and produces a sequence of confidence intervals or a confidence sequence (real -> (real, real)) |
times |
The times for which the miscoverage should be considered. For example, we might want to start the experiment late since early start times can lead to poor asymptotic approximations (a vector of positive integers) |
num_repeats |
How many repeats to perform. Higher values lead to better estimates of the miscoverage rate (positive int). |
mu |
The parameter which 'conf_set_fn' should be covering (a real). |
n_cores |
How many cores to parallel process on (positive int). |
A vector of (increasing) miscoverage rates at each time (a (0, 1)-valued vector).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.