I need to use functionalities of the
energy package installed in R to give energy test of normality. So, as given in its documentation here https://cran.r-project.org/web/packages/energy/energy.pdf, I use the
mvnorm.e and normal.e to get univariate and multivariate normality tests respectively.
For the multivariate normality, I write this code
> mvnorm.etest(DATAFINALE[1:1667,1:28], R) Energy test of multivariate normality: estimated parameters data: x, sample size 1667, dimension 28, replicates 5 E-statistic = -2.9787e+84, p-value = 1
And for the univariate normality, I have
> normal.e(DATAFINALE[1:1667,27])  281.8001
My question is composed of two parts:
- How do I interpret these results to test the univariate and multivariate normality?
- How plot results of the test to make it more visible?
You can use the iris dataset to reproduce results. Thank you for your suggestions!