avetest(C,test=NULL,method="bootstrap",nboot=NULL,simerror=NULL,...)
maxtest(C,test=NULL,method="bootstrap",nboot=NULL,simerror=NULL,...)
carpet
or cube
."ttest"
or "ztest"
- the test
statistic for the inferences to be based on. Use "ztest"
for
binary data applications."bootstrap"
for a
resampling-based approach and "hung"
for calculations using the multivariate normal distribution.avetest
or maxtext
, respectively, with the
following slots. The slot name
is available for the MAX-test only.
avetest
and maxtest
calculate the corresponding p-values
on carpet
or cube
objects with a new bootstrap
algorithm, which is default, or by the
multivariate method for unbalanced designs from Hung (2000). A
resampling-based method is available also for binary data
applications. The desired simulation accuracy always needs to be specified by the
number nboot
of simulations to perform or an upper bound
simerror
for the simulation standard error. If both are
given, the two constraints will be held simultaneously. Depending on the type of data, the calculations
can be based on Student's t-test for metric data or the
Z-statistic for binary applications.
Hellmich M, Lehmacher W (2005): Closure procedures for monotone bi-factorial dose-response designs. Biometrics 61, pp. 269-276
Hung HMJ, Chi GYH, Lipicky RJ (1993): Testing for the existence of a desirable dose combination. Biometrics 49, pp. 85-94
Hung HMJ, Wang SJ (1997): Large-sample tests for binary outcomes in fixed-dose combination drug studies. Biometrics 53, pp. 498-503 Hung HMJ (2000): Evaluation of a combination drug with multiple doses in unbalanced factorial design clinical trials. Statist Med 19, pp. 2079-2087
bifactorial
, carpet
, cube
, mintest
, margint
#Hypertension example from Hung (2000)
n<-c(75,75,74,48,74,75,74,49,48,50,48,48)
m<-c(0,1.4,2.7,4.6,1.8,2.8,5.7,8.2,2.8,4.5,7.2,10.9)
s<-rep(7.07,12)
x<-list(12)
for(i in 1:12){
x[[i]]<-rnorm(n[i],mean=0,sd=1)
x[[i]]<-((x[[i]]-mean(x[[i]]))*(s[i]/sd(x[[i]])))+m[i]
}
hung<-carpet(x,D=c(2,3))
avetest(hung,test="ttest",nboot=20000)
maxtest(hung,test="ttest",nboot=20000)
Run the code above in your browser using DataLab