calc_rejection {simhelpers} | R Documentation |
Calculate rejection rate and MCSE
Description
Calculates rejection rate. The function also calculates the associated Monte Carlo standard error.
Usage
calc_rejection(data, p_values, alpha = 0.05, format = "wide")
Arguments
data |
data frame or tibble containing the simulation results. |
p_values |
Vector or name of column from |
alpha |
Scalar or vector indicating the nominal alpha level(s). Default value is set to the conventional .05. |
format |
Option |
Value
A tibble containing the number of simulation iterations, performance criteria estimate and the associated MCSE.
Examples
calc_rejection(data = t_res, p_values = p_val)
[Package simhelpers version 0.2.1 Index]