|
Friedman’s test k $ 3 related samplesdata must at least be ordinal talking about a situation where we want to compare T objects matched in B attributes H0: M1=M2=....MT roughly equivalent to 2-way ANOVA with 1 observation per cell where Mi is the median object effect test statistic is a large value of S calls for rejection of the null for larger sample sizes (> 15) we calculate S and substitute into Q=12S/BT(T+1) Q is approximately P2 distributed with df=T-1example suppose we have rankings of regions on 4 criteria on a scale of 1 to 10
note this data is ordinal if we want to compare the median overall rating of the 7 regions we should rank these ratings 1 to 7 for each attribute separately this means the objects are the regions and the criteria are the attributes
so T=7 B=4 we get
S= G R2t - B2T(T+1)2/4=14.52+10.52+18.52+172+242+112+16.52=42(7)(7+1)2)/4= 210.25+110.25+342.25+289+576+121+272.25= 1921-16(7)(64)/4=1921-1792=129 S=129 Q=12S/BT(T+1)=12(129)/(4)(7)(8)=1548/224= Q=6.91 df=T-1=6 P 2=11.07 "=0.05Q<11.07 so we accept H0 the regions are not different on the basis of the rankings on the 4 criteria |