Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: friedman test


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: friedman test
Date   Tue, 29 Nov 2011 16:16:10 +0000

This presumably refers to Richard Goldstein's -friedman- (SJ 5-1),
which is user-written,

The help for -friedman- explains

" -friedman- expects the raters to be the variables.  This is because -egen,
    rank()- ranks observations, not variables.  This expectation differs from
    that in some other software."

I suspect that you are not comparing like with like.

Nick

On Tue, Nov 29, 2011 at 3:51 PM, Daniela Ferrante (Lab. Statistica)
<daniela.ferrante@med.unipmn.it> wrote:
>
> I have a question about friedman test. I tried to perform the friedman test
> with Stata, R software and SPSS but I get quite different p values with an
> equal p value with R and SPSS but different from Stata results. I am wondering
> why I get quite different results.
> I attach the data:
>
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     4,47
> 0,005     0,005     12,56
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,1         0,2      1,46
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     0,005
> 0,005     0,005     0,005
>
> Using this data I obtain p=0,69 using Stata software but p=0,06 using R and
> SPSS software
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index