Be the first to rate this file! 38 downloads (last 30 days) File Size: 3.98 KB File ID: #25882

MyFriedman

by Giuseppe Cardillo

 

18 Nov 2009 (Updated 18 Mar 2010)

Code covered by the BSD License  

Friedman test for non parametric two way ANalysis Of VAriance

Download Now | Watch this File

File Information
Description

The Friedman test is a non-parametric statistical test developed by the U.S. economist Milton Friedman. Similar to the parametric repeated measures ANOVA, it is used to detect differences in treatments across multiple test attempts. The procedure involves ranking each row (or block) together, then considering the values of ranks by columns. Applicable to complete block designs, it is thus a special case of the Durbin test. The Friedman test is used for two-way repeated measures analysis of variance by ranks. In its use of ranks it is similar to the Kruskal-Wallis one-way analysis of variance by ranks. When the number of blocks or treatments is large (i.e. n > 15 or k > 4), the probability distribution can be approximated by that of a chi-square distribution. If n or k is small, the approximation to chi-square becomes poor and the p-value should be obtained from tables of Q specially prepared for the Friedman test. The MatLab function FRIEDMAN only uses the chi-square approximation. On the contrary, MYFRIEDMAN uses the exact distribution for small size samples; else the F and chi square distributions If the p-value is significant, appropriate post-hoc multiple comparisons test is performed

You can visit my homepage http://home.tele2.it/cardillo
My profile on XING http://www.xing.com/go/invita/13675097
My profile on LinkedIN http://it.linkedin.com/in/giuseppecardillo

Required Products Statistics Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Zip File Content  
Other Files license.txt,
myfriedman.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
18 Nov 2009

Change in help section to cite this file

23 Dec 2009

Changes in description

17 Mar 2010

Multiple post-hoc comparisons test added

18 Mar 2010

bug fixed in input error handling section

Tag Activity for this File
Tag Applied By Date/Time
statistics Giuseppe Cardillo 18 Nov 2009 10:10:35
anova2 Giuseppe Cardillo 18 Nov 2009 10:10:35
non parametric Giuseppe Cardillo 18 Nov 2009 10:10:35
friedman Giuseppe Cardillo 18 Nov 2009 10:10:35
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com