rbt_power_calc | R Documentation |
Calculates power for a Randomized Binomial Test in a binomial experiment setting, given a sample size, true_prob, requirement, and significance level.
rbt_power_calc( sample_size, true_p, requirement, requirement_type = "gt", alpha = 0.05 )
sample_size |
the total sample size |
requirement |
the required underlying probability of success |
requirement_type |
defaults to "gt" (greater than). Can be set to "lt" (less than) |
alpha |
the significance level for a two-sided interval. Defaults to .05 |
true_prob |
the true underlying probability of success |
list containing parameters of power calculation (float), df of power calculation results, and power (float)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.