Description Usage Arguments Value References Examples
Given type I error, type II error, standard deviation, null mean, and alternative mean, return cutoff (critical region boundary) and sample size.
1 | meanSampCutoff(alpha, beta, null, alt, sd, direction = c("greater", "less"))
|
alpha |
Type I error |
beta |
Type II error |
null |
the null mean value |
alt |
the alternative mean value |
sd |
standard deviation of null and alternative distributions |
direction |
"greater" (default) or "less" |
Cutoff (critical region boundary) and sample size given type I error, type II error, standard deviation, null mean, and alternative mean.
Hogg, R. V. and Tanis, E. A. (2006), Probability and Statistical Inference 7e, Pearson, New Jersey. Chapter 9.1.
1 2 3 4 5 6 | # example 9.1-2
meanSampCutoff(a = 0.025,b = 0.05,null = 60,alt = 65,sd = 10)
# problem 9.1-5
meanSampCutoff(a = 0.05,b = 0.05,null = 1.5,alt = 1.7,sd = sqrt(0.09))
# problem 9.1-7
meanSampCutoff(a = 0.05,b = 0.10,null = 715,alt = 650,sd = 140, direction = "less")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.