In: Statistics and Probability
From the given data,
1) McNemer's test is applied on 22 contingency table, where rows and columns marginal frequency must be equal.
Null hypothesis contains the two marginal probabilities for each outcome are equal whereas alternate hypothesis contains they are not equal.
2)
Chi square of homogenity applies on single categorical variable having 2 or more distinct populations.
Degrees of freedom = (Number of rows -1) (Number of columns -1).
Null hypothesis contains each population has the same proportion of observations whereas alternate hypothesis contains they are not having same proportion.
3)
Friedman's test applied on data having 'n' blocks and 'k' columns to calculate rank within each block.
Degrees of freedom = k-1.
Null hypothesis states medians of all population is same.
Alternate hypothesis states that they are not same