[R] shapiro wilk normality test

C.H. chainsawtiney at gmail.com
Sun Jul 13 07:27:43 CEST 2008


You may consider the nortest package.

http://cran.r-project.org/web/packages/nortest/index.html

Regards,

CH

On Sat, Jul 12, 2008 at 11:30 PM, Bunny, lautloscrew.com
<bunny at lautloscrew.com> wrote:
> Hi everybody,
>
> somehow i dont get the shapiro wilk test for normality. i just can´t find
> what the H0 is .
>
> i tried :
>
>  shapiro.test(rnorm(5000))
>
>        Shapiro-Wilk normality test
>
> data:  rnorm(5000)
> W = 0.9997, p-value = 0.6205
>
>
> If normality is the H0, the test says it´s probably not normal, doesn´t it ?
>
> 5000 is the biggest n allowed by the test...
>
> are there any other test ? ( i know qqnorm already ;)
>
> thanks in advance
>
> matthias
> ______________________________________________
> R-help at 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.
>



-- 
CH Chan
Research Assistant - KWH
http://www.macgrass.com


More information about the R-help mailing list