View source: R/functions_testing.R
test | R Documentation |
compare two or more EDA objects with a range of statistical tests.
test(
...,
type = c("t_test", "paired_t_test", "sign_test", "mann_whitney_test", "wilcoxon_test",
"anova", "rm_anova", "kruskal_test", "friedman_test", "chisq_test"),
exact = TRUE,
ci = TRUE,
boot_method = c("percentile", "bca", "normality")
)
... |
EDA objects, at least two, created by |
type |
type of statistic test. For two numeric EDA objects: t test ('t_test', |
exact |
logical, should exact values for Chi-squared. Mann-Whitney and Wilcoxon test be returned? |
ci |
logical, should confidence intervals for the test effect size be returned? |
boot_method |
indicates how the bootstrap confidence intervals are calculated. Can be any of 'percentile', 'bca', or 'normality', defaults to 'percentile'. |
EDA object type is coerced to factor or numeric, as appropriate for the requested analysis.
The default effect or location sizes returned as estimates with along with the test results include difference in mean for t tests,
difference in (pseudo-) median for sign, Mann-Whitney and Wilcoxon tests, eta-squared (
for one-way ANOVA and repeated measure one-way ANOVA, eta-square for Kruskal-Wallis test (calculated by
kruskal_effsize
) and Kendall W for Friedman test (friedman_effsize
).
For Chi-squared test, Cramer's V is returned (cramerV
).
an eTest object with the test name, test statistic value and the default effect/location size with 95/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.