Description Usage Arguments Value Examples
Power Function of the Test for a Population Mean
1 2 | meanpower.plot(mu0, mu1, sig, nv, alp = 0.05, prng, side = "two", mt,
dig = 4)
|
mu0 |
Population mean value under the null hypothesis |
mu1 |
Vector of population mean values for which the power should be calculated |
sig |
Population standard deviation |
nv |
Sample size vector |
alp |
Level of significance, Default: 0.05 |
prng |
Range of x-axis |
side |
Type of the alternative hypothesis ("up", "low", "two"), Default: 'two' |
mt |
Graph title |
dig |
Number of digits below the decimal point, Default: 4 |
None.
1 2 3 | n = c(10, 30, 50, 100)
meanpower.plot(mu0=100, mu1=102, sig=5, nv=n, side="up")
meanpower.plot(mu0=100, mu1=102, sig=5, nv=n, side="two")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.