Hi all T gurus,
   
  I would like to test if my dataset is indeed from N(0, 0.011908969).
   
  K.S. test gives following result:
   
  > ks.test(data, "pnorm", 0, 0.011908969)
          One-sample Kolmogorov-Smirnov test
  data:  data 
D = 0.1092, p-value = 1.318e-05
alternative hypothesis: two-sided 

  How ever "Shapiro-Wilk" test give following :
  > shapiro.test(data)
          Shapiro-Wilk normality test
  data:  data 
W = 0.9946, p-value = 0.07562

  also, 
   
  > sd(data)
[1] 0.01625074

  2nd test saying data is from normal however 1st isnot. Which one is correct? 
Am I missing something?
   
  Regards,

       
---------------------------------

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to