Description Usage Arguments Value References Examples
Graphs the power of the one-sample, two-sided $t$-test
for the mean. The hypothese are:
H0: mu = mu0 vs. H1: mu != mu0.
See Example 8.3.2 on page 492 for discussion of this test andits power.
Exercise 8.3.5 continues the discussion.
1 | tpowerg2(mu0, sig, n, alpha = 0.05, byv = 0.1)
|
mu0 |
a number, null population mean null value |
sig |
a number, population standard deviation usually greater than 1 |
n |
an integer, sample size |
alpha |
a number, the signifigance level, defaults to 0.05 |
byv |
a number, increment in sequence for mu 1, defaults to 0.1 |
gammas vector of powers from power function
Hogg, R. McKean, J. Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.
1 2 3 4 5 6 | mu0 <- 50
sig <- 10
n <- 25
alpha <- .04
byv <- .15
tpowerg2(mu0, sig, n, alpha, byv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.