Logistic regression
Logistic regression can take into account stratification by having a different constant term for each stratum. Let us denote formula_1 the label (e.g. case status) of the formula_2th observation of the formula_3th stratum and formula_4 the values of the corresponding predictors. Then, the likelihood of one observation is