Assesses central normality of input data using an empirical test. The test has the null hypothesis that the input data were sampled from a central normal distribution.
ecn_test(x = NULL, transformer = NULL, tau = NULL, n = NULL, kappa = 0.8)list with the test statistic (tau), the critical value of the test
statistic (at significance level = 0.95) (tau_critical) and p-value
(p_value) for the empirical central normality test.
vector of input data, of at least length 5.
A transformer object created using
find_transformation_parameters. Optional, if present residuals are
determined from x after transformation.
test statistic value. Usually computed from x, but if can be
provided instead of x. tau cannot be negative.
number of samples. Usually the length of x, but can be provided
directly with tau and kappa. n must be 5 or greater.
central portion of the distribution. For kappa = 1.0 the test
is equivalent to a normality test, such as the Shapiro-Wilk test.