mpe.z.test: Intersection-Union z-Test for Testing Multiple Co-Primary...

Description Usage Arguments Details Value References See Also Examples

View source: R/mpe.z.test.R

Description

The function computes the intersection-union z-test which forms the basis for the sample size and power calculations in function power.known.var.

Usage

1
mpe.z.test(X, Y, Sigma, conf.level = 0.975)

Arguments

X

matrix with observations of group 1 in rows

Y

matrix with obersvations of group 2 in rows

Sigma

known covariance matrix.

conf.level

confidence level of the interval.

Details

The function computes the intersection-union z-test which forms the basis for the sample size and power calculations for continuous multiple co-primary endpoints with known covariance as computed by function power.known.var. The implementation is based on the formulas given in the references below.

The null hypothesis reads mu_Tk-mu_Ck <= 0 for at least one k in {1,...,K} where Tk is treatment k, Ck is control k and K is the number of co-primary endpoints (i.e. number of columns of X and Y).

Value

Object of class "mpe.test".

References

Sugimoto, T. and Sozu, T. and Hamasaki, T. (2012). A convenient formula for sample size calculations in clinical trials with multiple co-primary continuous endpoints. Pharmaceut. Statist., 11: 118-128. doi:10.1002/pst.505

Sozu, T. and Sugimoto, T. and Hamasaki, T. and Evans, S.R. (2015). Sample Size Determination in Clinical Trials with Multiple Endpoints. Springer Briefs in Statistics, ISBN 978-3-319-22005-5.

See Also

power.known.var, mpe.t.test

Examples

1
2
3
4
5
6
delta <- c(0.25, 0.5)
Sigma <- matrix(c(1, 0.75, 0.75, 1), ncol = 2)
n <- 50
X <- rmvnorm(n=n, mean = delta, sigma = Sigma)
Y <- rmvnorm(n=n, mean = rep(0, length(delta)), sigma = Sigma)
mpe.z.test(X = X, Y = Y, Sigma = Sigma)

mpe documentation built on May 2, 2019, 2:04 a.m.