[R] Friedman with post Hoc

Rui Barradas ruipbarradas at sapo.pt
Mon Oct 22 21:40:23 CEST 2012


Hello,

Another usefull link is

http://www.r-statistics.com/2010/02/post-hoc-analysis-for-friedmans-test-r-code/

Hope this helps,

Rui Barradas
Em 22-10-2012 20:18, arun escreveu:
> HI,
> Have u tried the example in the link (http://stat.ethz.ch/R-manual/R-patched/library/stats/html/friedman.test.html).
>
> It is working for me.
>
> wb <- aggregate(warpbreaks$breaks,
> by = list(w = warpbreaks$wool,
> t = warpbreaks$tension),
> FUN = mean)
> friedman.test(x ~ w | t, data = wb)
>
> #	Friedman rank sum test
>
> #data:  x and w and t
> #Friedman chi-squared = 0.3333, df = 1, p-value = 0.5637
> A.K.
>
>
>
>
>
>
> ----- Original Message -----
> From: pedro amarante <pedroamarante at gmail.com>
> To: r-help at r-project.org
> Cc:
> Sent: Monday, October 22, 2012 8:41 AM
> Subject: [R] Friedman with post Hoc
>
> Hello everyone,
>
> I have been trying to perform a Friedman test for a while with no success.
> I have tried the command: > friedman.test (y~A|B, data = mydata), but it
> doesn't work .
> I searched youtube for help, but still could not find much. Can anyone help
> me with that!
>
> Thank you very much,
>
> Pedro
>
>      [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>
>
> ______________________________________________
> 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.




More information about the R-help mailing list