meanpower.plot: Power Function of the Test for a Mean

Description Usage Arguments Value Examples

Description

Power Function of the Test for a Population Mean

Usage

1
2
meanpower.plot(mu0, mu1, sig, nv, alp = 0.05, prng, side = "two", mt,
  dig = 4)

Arguments

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

Value

None.

Examples

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")

tjssu/Rstat documentation built on Aug. 8, 2020, 12:38 p.m.