Logistic regression predicts the probability of a categorical outcome (usually dichotomous) based on one or more predictor variables. It transforms the probability into odds using the logit function and estimates coefficients using maximum likelihood estimation. The odds ratio describes the change in odds of the outcome occurring given a one-unit increase in the predictor, while controlling for other predictors. Logistic regression allows examination of the effects of variables on the relationship between the dichotomous outcome and predictors.