Summary method for the assumptions of parametric tests used in multiple comparisons of outputs

Share:

Description

Summary method for objects of class assumptions_micomp, which contain the assumptions for the parametric tests used in multiple comparisons of outputs.

Usage

1
2
## S3 method for class 'assumptions_micomp'
summary(object, ...)

Arguments

object

Object of class assumptions_micomp.

...

Currently ignored.

Value

A list in which each component is associated with a distinct comparison. Each component contains a matrix, in which columns represent individual outputs and rows correspond to the statistical tests evaluating the assumptions of the parametric tests used in each output. More specifically, each matrix has rows with the following information:

Royston (group, ve=%/npcs=)

One row per group per variance to explain / number of PCs, with the p-value yielded by the Royston test (roystonTest) for the respective group and variance/npcs combination.

Box's M (ve=%/npcs=)

One row per variance to explain with the p-value yielded by Box's M test (boxM).

Shapiro-Wilk (group)

One row per group, with the p-value yielded by the Shapiro-Wilk test (shapiro.test) for the respective group.

Bartlett

One row with the p-value yielded by Bartlett's test (bartlett.test).

Examples

1
2
3
4
5
6
7
8
# Create a micomp object, use provided dataset
mic <- micomp(5, c(0.7, 0.8, 0.9),
              list(list(name = "NLOKvsJEXOK", grpout = pphpc_ok),
                   list(name = "NLOKvsJEXNOSHUFF", grpout = pphpc_noshuff)),
              concat = TRUE)

# Get the assumptions summary
sam <- summary(assumptions(mic))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.