Any characteristic that makes it difficult to compare two or more distinct groups in an epidemiologic study. Confounding factors can mask a health effect so that the relationship of the effect and the exposure is not recognized. They can also make it appear as though there is an effect when, in fact, none exists.