Skip to main content

Module 10: Confounding and MH Method

With categorical data, we are classifying data instead of measuring it. As a review:

image-1661523895760.png

Notice we never use a z test, a t test is almost always more appropriate even for large samples. Likewise, for dichotomous outcomes could use a z-test but a chi-square test is usually used in practice. Chi-square reflects categorical outcomes.

chi-square = sum((obs-exp)2 / exp), df=n-1; where n is the number of random variables or categories.

Mantel-Hansel Method

Cochran-Mantel-Haenszel method is a technique that generates an estimate of an association between an exposure and an outcome after adjusting for or taking into account confounding. We stratify the data into two or more levels of the confounding factor (as we did in the example above). In essence, we create a series of two-by-two tables showing the association between the risk factor and outcome at two or more levels of the confounding factor, and we then compute a weighted average of the risk ratios or odds ratios across the strata.

image-1661532493611.png

Given the above table, we have the below MH Equations:

For Cell(1,1) frequency has

image-1661534946488.png

and

image-1661534972971.png

For each table, and the MH test statistic is:

image-1661535225758.png

It follows a Chi-Square distribution with 1 degree of freedom.

We can also derive the following:

image-1661532479767.png

Though, in practice we just have the computer solve for MH estimates.