[R] Testing normality
Dietrich Trenkler
Dietrich.Trenkler at uni-osnabrueck.de
Thu Nov 29 12:34:20 CET 2007
pedrosmarques at portugalmail.pt schrieb:
> Hi,
>
> I'm doing kolmogorv-smirnov test but I don't know what conclusions to take, I want to know if my data has a normal distribution:
>
>
>> ks.test(dados1,"pnorm")
>>
>
> One-sample Kolmogorov-Smirnov test
>
> data: dados1
> D = 0.972, p-value < 2.2e-16
> alternative hypothesis: two-sided
>
> Warning message:
> cannot compute correct p-values with ties in: ks.test(dados1, "pnorm")
>
>
> Best regards,
>
> Pedro Marques
>
> ______________________________________________
> 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.
>
>
Your approach amounts to testing if dados1 is a sample from a standard
normal distribution.
Is that what you want?
Regards
D. Trenkler
--
Dietrich Trenkler c/o Universitaet Osnabrueck
Rolandstr. 8; D-49069 Osnabrueck, Germany
email: Dietrich.Trenkler at Uni-Osnabrueck.de
More information about the R-help
mailing list