Out of curiosity, I realised that the Kolmogorov-Smirnov normality test returns two very different p-values depending on whether the dataset has small or large numbers. Is this normal and is there a number size limit for this test? From what I saw, the Shapiro-Wilk test was much more stable.
I tried this
ks.test(c(0.5379796,1.1230795,-0.4047321,-0.8150001,0.9706860),"pnorm")
One-sample Kolmogorov-Smirnov test
data: c(0.5379796, 1.1230795, -0.4047321, -0.8150001, 0.970686)
D = 0.3047, p-value = 0.6454
alternative hypothesis: two-sided
And then I multiplied each value by 100
ks.test(c(53.79796,112.30795,-40.47321,-81.50001,97.06860),"pnorm")
One-sample Kolmogorov-Smirnov test
data: c(53.79796, 112.30795, -40.47321, -81.50001, 97.06860)
D = 0.6, p-value = 0.03008
alternative hypothesis: two-sided
With the same data, the Shapiro-Wilk test returns a p-value of 0.3999.