BioStats Mod 11

Principles of Confounding and Effect Modification

  • Multivariable Methods: Statistical techniques designed to examine the interrelationships between several exposures or risk factors and a single outcome.
  • Confounding: Distortion of the estimated effect of an exposure on an outcome produced by the presence of an extraneous third factor.
  • Three Essential Criteria for a Confounder:
    • Must be associated with the exposure of interest.
    • Must be an independent risk factor for the outcome.
    • Must not be an intermediary step on the causal pathway between exposure and outcome.

Confounder relationship diagram: Smoking confounding the relationship between coffee consumption and bladder cancer

  • Effect Modification (Interaction): Occurs when the magnitude or direction of the association between an exposure and an outcome differs across strata of a third variable.
  • Confounding vs. Effect Modification: Confounding is a bias to be prevented or adjusted for, whereas effect modification is a biological or external reality to be reported and described.

Detection and Evaluation of Confounding

  • 10%\mathbf{10\%} Rule of Thumb: Compares the crude measure of association to the adjusted measure of association:   Magnitude of Confounding=RRCrude−RRAdjustedRRAdjusted\text{Magnitude of Confounding} = \frac{RR_{\text{Crude}} - RR_{\text{Adjusted}}}{RR_{\text{Adjusted}}}
    • If the difference is ≥10%\ge 10\%, confounding is deemed present.
    • If the difference is <10%< 10\%, confounding is minimal or absent.
  • Hypothesis Testing Approach: Tests of independence (such as Chi-square tests with df=1df = 1 and critical threshold χ2≥3.84\chi^2 \ge 3.84 at α=0.05\alpha = 0.05) can assess whether the extraneous factor is statistically associated with both the exposure and the outcome.
  • Cochran-Mantel-Haenszel (CMH) Method: Produces a single pooled, adjusted estimate across stratified 2×22 \times 2 tables for dichotomous exposures and outcomes:   RRCMH=∑a(c+d)n∑c(a+b)nRR_{CMH} = \frac{\sum \frac{a(c+d)}{n}}{\sum \frac{c(a+b)}{n}}ORCMH=∑adn∑bcnOR_{CMH} = \frac{\sum \frac{ad}{n}}{\sum \frac{bc}{n}}

Methods for Controlling Confounding

  • Design-Stage Strategies:
    • Restriction: Limits eligibility to individuals who fall within a specific category of the confounding variable.
    • Advantage: Simple and effective.
    • Limitations: Reduces sample size, risks residual confounding within broad categories, limits generalizability, and prevents evaluation of the restricted factor.
    • Matching: Matches comparison groups on the distribution of potential confounders (e.g., matching cases to controls on age and sex).
    • Advantage: Effective for complex, multifaceted variables.
    • Limitations: Expensive, time-consuming, requires matched analysis, and prevents estimation of the matched factor's effect.
    • Randomization: Allocates subjects randomly in intervention studies to distribute both measured and unmeasured confounders equally across groups.
  • Analysis-Stage Strategies:
    • Stratification: Evaluates exposure-outcome associations within distinct subcategories of the confounder.
    • Multivariable Regression: Statistically adjusts for multiple confounders simultaneously.

Correlation Analysis

  • Purpose: Quantifies the direction and strength of the linear relationship between two continuous variables (XX and YY).
  • Correlation Coefficient (r\mathbf{r}): A standardized measure ranging from −1.0-1.0 to +1.0+1.0:
    • r=+1.0r = +1.0: Perfect positive linear association.
    • r=0r = 0: No linear association.
    • r=−1.0r = -1.0: Perfect negative linear association.

Scatter diagrams showing positive correlation, no correlation, and negative correlation

  • Mathematical Definition:r=cov(X,Y)sx2×sy2r = \frac{\text{cov}(X,Y)}{\sqrt{s_x^2 \times s_y^2}}
  • Formulas for Components:cov(X,Y)=∑(X−Xˉ)(Y−Yˉ)n−1\text{cov}(X,Y) = \frac{\sum (X - \bar{X})(Y - \bar{Y})}{n - 1}sx2=∑(X−Xˉ)2n−1s_x^2 = \frac{\sum (X - \bar{X})^2}{n - 1}sy2=∑(Y−Yˉ)2n−1s_y^2 = \frac{\sum (Y - \bar{Y})^2}{n - 1}

Simple Linear Regression

  • Model Equation: Describes the best-fitting straight line for a continuous outcome variable (YY) and a single continuous predictor (XX):   y=b0+b1×xy = b_0 + b_1 \times x
  • Core Assumptions:
    • Linear relationship between XX and YY.
    • Independence of errors.
    • Homoscedasticity (constant variance of errors across all values of XX).
    • Normal distribution of error terms.
  • Least Squares Parameter Estimates: Minimizes the sum of squared residuals, ∑(Y−Y^)2\sum (Y - \hat{Y})^2:
    • Slope (b1\mathbf{b_1}): Indicates the expected change in YY per one-unit increase in XX:     b1=r×(sysx)b_1 = r \times \left(\frac{s_y}{s_x}\right)
    • Intercept (b0\mathbf{b_0}): Value of YY when X=0X = 0:     b0=Yˉ−b1×Xˉb_0 = \bar{Y} - b_1 \times \bar{X}

Multiple Linear Regression

  • Model Formulation: Extends simple linear regression to multiple independent predictors (X1,X2,…,XpX_1, X_2, \dots, X_p) and a single continuous outcome (YY):   y=b0+(b1×X1)+(b2×X2)+⋯+(bp×Xp)y = b_0 + (b_1 \times X_1) + (b_2 \times X_2) + \dots + (b_p \times X_p)
  • Conditionality of Estimates: Each regression coefficient (bjb_j) reflects the adjusted effect of predictor XjX_j on YY, holding all other predictors constant.
  • Predictor Types: Predictors can be continuous, binary indicators (00 or 11), or sets of dummy variables to represent categorical factors with three or more levels.

Logistic Regression

  • Purpose: Models the probability (pp) of an event for a dichotomous dependent variable (1=event1 = \text{event}, 0=non-event0 = \text{non-event}).
  • Logit Transformation: Models the natural logarithm of the odds (log odds):   logit(p)=ln⁡(p1−p)=b0+(b1×X1)+⋯+(bp×Xp)\text{logit}(p) = \ln\left(\frac{p}{1 - p}\right) = b_0 + (b_1 \times X_1) + \dots + (b_p \times X_p)
  • Probability Function:p=eb0+b1×X1+⋯+bp×Xp1+eb0+b1×X1+⋯+bp×Xpp = \frac{e^{b_0 + b_1 \times X_1 + \dots + b_p \times X_p}}{1 + e^{b_0 + b_1 \times X_1 + \dots + b_p \times X_p}}
  • Interpretation of Coefficients:
    • Parameters are estimated using maximum likelihood estimation.
    • bjb_j represents the adjusted change in log odds per unit increase in XjX_j.
    • The odds ratio is obtained by exponentiating the coefficient:     OR=ebjOR = e^{b_j}
    • bj=0  ⟹  OR=1.0b_j = 0 \implies OR = 1.0 (no association).
    • bj>0  ⟹  OR>1.0b_j > 0 \implies OR > 1.0 (increased odds of outcome).
    • bj<0  ⟹  OR<1.0b_j < 0 \implies OR < 1.0 (decreased odds of outcome).