Description Usage Arguments Functions
These functions create a tibble showing the power at different true means.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | power_func.z(
mus,
mu.0,
sd,
n,
conf.level = 0.95,
alternative = c("two.sided", "less", "greater")
)
power_func.t(
mus,
mu.0,
sd,
n,
conf.level = 0.95,
samples = c(1, 2),
alternative = c("two.sided", "less", "greater")
)
|
mus |
a list or vector of true means or differences to be tested |
mu.0 |
the hypothesized mean or difference |
sd |
standard deviation |
n |
number of observations |
alternative |
"two.sided", "less", or "greater", abbreviations accepted |
samples |
number of samples (1 or 2) |
power_func.z
: creates a power function table based on the z method
power_func.t
: creates a power function table based on the t method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.