Description Usage Arguments Value Examples
Perform a power analysis, with plots for null and alternative distributions
1 2 3 4 5 6 7 8 9 10 |
mu0 |
A value for the mean under the null hypothesis |
mu1 |
A value for the mean under the alternative hypothesis |
sd |
A positive value for the standard deviation for the population (null) |
n |
A value for the sample size |
alpha |
A value between .005 and .1 for the Type I error rate |
alt.hyp |
One of: "mu1<>mu0", "mu1<mu0", or "mu1>mu0" |
show.values |
Select whether Type I, II, and Power are displayed in plot. |
show.means |
Whether to plot means for Ho and Ha |
res Summary, included Type I error (alpha), Type II error (beta), and Power
1 | power1()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.