McNemar’s Test

Objective McNemar’s Test is a paired sample non-parametric test used when the dependent variable is dichotomous. Often it is used to determine whether there is a significant change in nominal data before and after an event. We begin with an example. Example Example 1: In the BBC program The Doha Debates 100 people were surveyed … Read More

Effect Size for Chi-square Test

We review three different measures of effect size for the chi-square goodness-of-fit and independence tests, namely Phi φ, Cramer’s V, and the Odds Ratio. We also describe the effect size for Fisher’s exact test. Phi φ For a 2 × 2 contingency table, phi is the commonly used measure of effect size, and is defined by … Read More

Fisher’s Exact Test

Introduction When the conditions for Pearson’s chi-square test are not met, especially when one or more of the cells have expi < 5 or with 2 × 2 contingency tables, an alternative approach is to use Fisher’s exact test. Since this method is more computationally intensive, it is best used for smaller samples. 2 × … Read More

Independence Testing

Introduction We can use the method described in Goodness of Fit to determine whether two sets of data are independent of each other. We organize the data in what are called contingency tables, as described in Example 1. In these cases df = (row count – 1) (column count – 1). Excel worksheet function Excel … Read More

Iterative Proportional Fitting Procedure (IPFP)

Two-way contingency tables We now define an algorithm that lets us compare two-way tables which have different row and/or column totals. We explain the algorithm using the following example. Example 1: Revise the table in range A5:D7 of the following figure so that the sum of each of the rows is the indicated row total … Read More