This tutorial explains the basic concept of the logistic regression. The logistic regression is a statistical model derived from the logistic function. Its particularity is that it is based on a binary dependent variable to gives two possible outcomes. The logistic regression is used everywhere; in politics to predict voting outcome, in healthcare to predict the occurrence of a disease, in finance and banking to predict the outcome for the approval for a loan.