Calculate Type 1 error for a distribution, and the confidence interval around this estimate. Type I error and confidence intervals calculated using `stats::binom.test()` which implements the Newcombe method.
calculate_t1_error(
df,
alpha = 0.05,
t1_error_confidence_int = 95,
n = NA_real_
)
data frame
data frame
significance level
confidence interval
optional numeric input of