Description Usage Arguments Details Value References See Also Examples
The function computes the intersection-union t-test which forms the basis for the
sample size and power calculations in function power.unknown.var
.
1 | 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 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 μ_Tk-μ_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 endpointss
(i.e. number of columns of X
and Y
).
Object of class "mpe.test"
.
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.
1 2 3 4 5 6 |
Loading required package: mvtnorm
Intersection-union t-test
data: x and y
t = 1.1913, df = 98, p-value = 0.2364
alternative hypothesis: true difference in means is larger than 0 for all endpoints
97.5 percent confidence intervals:
0.025 1
EDP.1 -0.231250687 0.7390239
EDP.2 0.008666703 0.9112800
sample estimates:
X Y
EDP.1 0.3871769 0.1332903
EDP.2 0.6033859 0.1434126
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.