meanchar.plot: Operating Characteristic Curves of the Test for a Mean

meanchar.plotR Documentation

Operating Characteristic Curves of the Test for a Mean

Description

Operating Characteristic Curves of the Test for a Population Mean

Usage

meanchar.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

n = c(10, 30, 50, 100)
meanchar.plot(mu0=100, mu1=98, sig=5, nv=n, side="low")
meanchar.plot(mu0=100, mu1=98, sig=5, nv=n, side="two")

adoocavo/Rstat_M1 documentation built on March 19, 2022, 3:34 a.m.