powered by
Calculates the rejection (%) of the model p-values, according to the specified alpha, and the Monte Carlo standard error for this estimate.
rejection( p, alpha = 0.05, get = c("rejection", "rejection_mcse"), na.rm = FALSE, ... )
A named vector containing the estimate and the Monte Carlo standard error for the rejection.
P-values from the models.
The nominal significance level specified. The default is 0.05.
0.05
A character vector containing the values returned by the function.
A logical value indicating whether NA values for p should be removed before rejection calculation.
p
Additional arguments to be ignored.
rejection(p=runif(200, min=0, max=1))
Run the code above in your browser using DataLab