[R] shipro.test
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Feb 17 19:13:03 CET 2003
Korponai János <korponai at georgikon.hu> writes:
> Hi,
>
> I am newby to R. I run this test (shapiro.test(rt(2000,30))) (R : Copyright
> 2001, The R Development Core Team Version 1.3.1 (2001-08-31)) for several
> times and results were different.
> Why do the shapiro.test produce different outputs?
Because you are calling it with different random samples from the t
distribution! Look at help(rt), or just do rt(10,30) a couple of
times.
BTW, you should get a newer version. 1.6.2 is current.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list