Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: friedman test
From
Nick Cox <[email protected]>
To
[email protected]
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)
<[email protected]> 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/