Bookmark and Share

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   Anders Alexandersson <[email protected]>
To   [email protected]
Subject   Re: st: friedman test
Date   Tue, 29 Nov 2011 11:34:45 -0500

I agree with Nick. Also, the UCLA webpage
http://www.ats.ucla.edu/stat/mult_pkg/whatstat/choosestat.html
has links to comparable SPSS and Stata (and SAS) code. See -findit
skilmack- if you want the Friedman test when data are missing.

Anders Alexandersson
[email protected]

On Tue, Nov 29, 2011 at 11:16 AM, Nick Cox <[email protected]> wrote:
> 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/
>

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index