The McNemar's test is an alternative to the Chi² test, that compares proportions between group, for paired data. Paired data are data where pairs are less different from each other than from another data of the dataset.
This test has to be used when you compare proportions between paired groups like cases and controles or before and after treatment.
The odd ratio (OR) given is computed as:
OR = proportion of patients having not the outcome before intervention & having the outcome after intevention
proportion of patients having the outcome before intervention & having not the outcome after intevention
If the OR is superior to 1, it has to be understood as "the percentage of patients free from the outcome before treatment that have got the outcome after treatment is more important than the percentage of patients not free from the outcome before treatment that haven't got the outcome after treatment".
For example, if the outcome is "Healthy" = 1, an OR superior to 1 could be understood as "the percentage of sick patients that become healthy after treatment is more important than the percentage of healthy patients that become sick after treatment".
Healthy = 0
Healthy = 1
Healthy = 0
How to use it on EasyMedStat ?
- Go to Statistics > Test 2 variables
- Select two Yes-No variables you would like to compare taking care of the following order: the first variable field on the left side of the page is for the pre-treatment variable, the second variable field on the right side of the page is for the post-treatment variable.
- Click on "Compare pre-post treatment proportions"