schuirmann.constant.uniform: Calculation of the uniform schuirmann-constant

Description Usage Arguments Details Value References Examples

View source: R/schuirmann_const.R

Description

Calculation of the uniform schuirmann-constant, cf. \insertCitepalmes2020schuirmann.constant

Usage

1
schuirmann.constant.uniform(alpha, pwr, theta1 = 0, theta2 = 1)

Arguments

alpha

type I error

pwr

asymptotic weighted power of the TOST

theta1

lower limit of equivalence interval

theta2

upper limit of equivalence interval

Details

The uniform density is assumed as a-priori distribution. This density is unique with the property that each possible mean-difference is equally weighted. It represents the lack of any information about the true mean-difference. Due to its importance, this special setting is included as a separate function for convenience. Technical, this function is merely a wrapper that calls the schuirmann.constant function with the uniform distribution as a-priori density.

Value

The Schuirmann constant of the uniform a-priori distribtion is returned. If [theta1, theta2] differs from [0,1], then the appropriately scaled true-mean difference

theta0 = (S-1)*theta1 + S*theta2

is returned.

References

\insertAllCited

Examples

1
2
3
4
5
6
rho <- apriori.density('U')
theta1 <- 0
theta2 <- 3
s <- schuirmann.constant(alpha = 0.05, pwr = 0.8, density = rho)
(1-s)*theta1 + s*theta2
schuirmann.constant.uniform(alpha = 0.05, pwr = 0.8, theta1 = theta1, theta2 = theta2) 

cpalmes/schuirmann.constant documentation built on Dec. 31, 2020, 10:07 p.m.