Performing the hypothesis test to compare the difference between the empirical data and the simulated data
data.diff.test(x, y, test.method)A list with two elements.
p.value: the p-value of the hypothesis test.
test.result: the returned object of the hypothesis test.
A numeric matrix.
A numeric matrix which is compared to x.
A string to specify the hypothesis test used to detect the difference between input data and the simulated data. Default is "none". Possible methods are energy distance ("energy") and ball divergence ("ball"). The R packages "energy" and "Ball" are needed.