Calculate critical value for multiple contrast test
Calculate critical value for multiple contrast test
Calculation of the critical value for a maximum contrast test. This is based on the equicoordinate quantile function of the multivariate normal or t distribution as implemented in the qmvt function from the mvtnorm package.
critVal( corMat, alpha =0.025, df =NULL, alternative = c("one.sided","two.sided"), control = mvtnorm.control())
Arguments
corMat: Correlation matrix of contrasts
alpha: Significance level for the multiple contrast test
df: Specify the degrees of freedom to use, if this argument is missing df = Inf is used (which corresponds to the multivariate normal distribution).
alternative: Character determining the alternative for the multiple contrast trend test.
control: A list specifying additional control parameters for the qmvt and pmvt calls in the code, see also mvtnorm.control for details.