Learn R Programming

mpe (version 1.0)

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

Description

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

Usage

mpe.t.test(X, Y, conf.level = 0.975)

Arguments

X
matrix with observations of group 1 in rows
Y
matrix with obersvations of group 2 in rows
conf.level
confidence level of the interval.

Value

Object of class "mpe.test".

Details

The function computes the intersection-union t-test which forms the basis for the sample size and power calculations for continuous multiple co-primary endpoints with unknown covariance as computed by function power.unknown.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="" control="" k="" and="" the="" number="" of="" co-primary="" endpointss="" (i.e.="" columns="" X and Y).

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.unknown.var

Examples

Run this code
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.t.test(X = X, Y = Y)

Run the code above in your browser using DataLab