Description Usage Arguments Value
This function generates the probability of having a type II error given the null hypothesis, what the alternate hypothesis tests (higher, lower, or not equals to), the actual probability/mean, sample size, and significance level alpha
1 | type_2_err(H0, Ha, mu_alt, n, alpha, sigma = NULL)
|
H0 |
Null hypothesis |
Ha |
Direction of the test, valid arguments are either "<", ">", or "!=" |
mu_alt |
True mean or probability |
n |
Sample size |
alpha |
Significance level/Type I error probability/alpha level |
sigma |
(Optional) population standard deviation |
probability of Type II error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.