simCI | R Documentation |
Multivariate post-hoc comparisons and simultaneous confidence intervals for contrasts in multivariate factorial designs
simCI(
object,
contrast,
contmat = NULL,
type = NULL,
base = 1,
interaction = TRUE,
factor = NA,
silent = FALSE,
...
)
object |
A |
contrast |
The contrast matrix of interest, can either be "pairwise" or "user-defined". |
contmat |
If contrast = "user-defined", the contrast matrix must be specified here. Note that its rows must sum to zero. |
type |
If contrast is "pairwise", the type of the pairwise comparison must be specified here. Calculation is based on the contrMat function in package multcomp, see the corresponding help page for details on the types of contrasts available. |
base |
An integer specifying which group is considered the baseline group
for Dunnett contrasts, see |
interaction |
Logical. If interaction = FALSE in models with more than one factor, the factor of interest for the post-hoc analysis must be specified. Default is TRUE, which means post-hoc tests are performed for all factor level combinations. |
factor |
Only needed if interaction = FALSE. Specifies the factor for which post-hoc analysis are requested. |
silent |
Set to TRUE to suppress output. |
... |
Not used yet. |
The simCI() function computes the multivariate p-values for the chosen contrast of the multivariate mean vector based on the bootstrap version of the sum statistic. Details on this test can be found in Friedrich and Pauly (2018). Furthermore, confidence intervals for summary effects (i.e., averaged over each dimension), also based on the bootstrap version of the sum statistic, are returned as well.
Multivariate p-values and simultaneous confidence intervals for the chosen contrasts.
Friedrich, S., and Pauly, M. (2018). MATS: Inference for potentially singular and heteroscedastic MANOVA. Journal of Multivariate Analysis, 165, 166-179.
contrMat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.