Description : to simulate a parallel design and return the p-tost for differnece of means (DOM)
test_par_dom(
n,
muT,
muR,
SigmaT,
SigmaR,
lequi_tol,
uequi_tol,
alpha,
dropout,
typey,
adseq,
k,
arm_seedT,
arm_seedR,
TART,
TARR,
vareq
)
integer number of subjects per arm
vector mean of endpoints on treatment arm
vector mean of endpoints on reference arm
matrix covar-variance matrix on treatment arm across endpoints
matrix covar-variance matrix on reference arm across endpoints
vector lower equivalence tolerance band across endpoints
vector upper equivalence tolerance band across endpoints
vector alpha value across endpoints
vector of size 2 with dropout proportion per arm (T,R)
vector with positions of primary endpoints
boolean is used a sequential adjustment?
integer minimum number of equivalent endpoints
integer seed for the simulation on treatment arm
integer seed for the simulation on reference arm
double treatment allocation rate for the treatment arm
double treatment allocation rate for the reference arm
boolean assumed equivalence variance between arms for the t-test
mat(vector) with ptost and other simulated statistics such as mean (mu) and standard deviation(std) per sequence (0,1)-endpoint