This function checks the assumption of normality for each of the groups x1, x2, x3 (and optional x4, x5 and 6) used in the Bayesian ANOVA via Shapiro-Wilk tests with confidence level conf.level.
Histograms and Quantile-Quantile plots for all groups are produced, either a warning or a confirmation of normality in all three groups is printed to the console.
Arguments
x1
Numerical vector containing the values for the first group
x2
Numerical vector containing the values for the second group
x3
Numerical vector containing the values for the third group
x4
Numerical vector containing the values for the fourth group. Defaults to NULL.
x5
Numerical vector containing the values for the fifth group. Defaults to NULL.
x6
Numerical vector containing the values for the sixth group. Defaults to NULL.
conf.level
Confidence level of the Shapiro-Wilk test used. Significance level equals 1-conf.level
Author
Riko Kelter
Details
If a single Shapiro-Wilk test fails, the method returns a warning and recommends to use further diagnostics.
References
For details, see: https://arxiv.org/abs/1906.07524v1