monte_carlo_two_sided | R Documentation |
Given bounds for a two sided test on uniform order statistics, this computes
the Type I Error Rate \alpha
using simulations.
monte_carlo_two_sided(lower_bounds, upper_bounds, num_sims = 1e+06)
lower_bounds |
Numeric vector where the ith component is the lower bound for the ith order statistic. The components must be distinct values in (0, 1) that are in ascending order. |
upper_bounds |
Numeric vector where the ith component is the lower bound for the ith order statistic. The values must be in ascending order and the ith component must be larger than the ith component of the lower bounds. |
num_sims |
(optional) Number of simulations to be run, 1 Million by default. |
Type I Error Rate \alpha
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.