Residual confounding can occur through several mechanisms:
1. Incomplete Adjustment: When not all confounding variables are identified or included in the analysis. 2. Measurement Error: Inaccurate measurement of confounders can lead to incomplete adjustment. 3. Unmeasured Confounders: Variables that are not measured or included in the analysis but are related to both the exposure and the outcome.