Test choice tree

The graph below describes the test choice algorithm employed in the package. Some of the branching steps are dependent on the data and some can be manipulated by the user. The type of data (, factor and unordered ) is automatically determined, as is the number of groups and the number of categories in categorical variables. The user may choose to apply nonparametric instead of parametric tests, asymptotic instead of exact and paired instead of unpaired tests.

The default configuration of arguments is . In a scenario with 2 groups, this will give Welch’s t-test for numerical variables and a chi-squared test for categorical variables with 2 categories.

Test choices can be manually overwritten via the appropriately titled parameter . If, for example, you want to calculate Boschloo’s test only for the gender variable and use a chi-squared test (default) for everything else, you can request this by supplying the following argument: .