mpe.t.test | R Documentation |
The function computes the intersection-union t-test.
mpe.t.test(X, Y, conf.level = 0.975)
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. |
The function computes the intersection-union t-test. The implementation is based on the formulas given in the references below.
The null hypothesis reads \mu_{Tk}-\mu_{Ck}\le 0
for
at least one k\in\{1,\ldots,K\}
where Tk is treatment k,
Ck is control k and K is the number of co-primary endpointss
(i.e. number of columns of X
and Y
).
Object of class "mpe.test"
.
The function first appeared in package mpe, which is now archived on CRAN.
Srinath Kolampally, Matthias Kohl Matthias.Kohl@stamats.de
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.
mpe.z.test
library(mvtnorm)
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.