For this section, there are three examples on how to perform simple logistic regression, depending on the measurement scale of your independent variable.
Quick facts
Number of variables
One dependent (y)
One independent (x)
Scales of variable(s)
Dependent: binary
Independent: categorical (nominal/ordinal) or continuous (ratio/interval)