Hi ,
I want to know, how to statistically confirm where this data is normally distributed or not.
Here is the data
x = abs(round(rnorm(2000, mean = 55, sd= 5)))
hist(x)
qqnorm(x)
qqline(x)
ks.test(x, 'pnorm')
Histogram and qq plot shows data is normally distributed .
ks test shows less than 0.05 pvalue
> ks.test(x, 'pnorm')
One-sample Kolmogorov-Smirnov test
data: x
D = 1, p-value < 2.2e-16
alternative hypothesis: two-sided
Is this the correct way to use ks.test
. if not what are the other statistical tests i can use to confirm the normality of data.
Thanks