Logistic regression estimates the probability of an event occurring based on independent variables. It is used when the dependent variable is binary or categorical. The logistic function transforms the probability to a value between 0 and 1. Maximum likelihood estimation is used to find the parameter estimates that maximize the likelihood of obtaining the observed sample data.