10.4 Logistic regression
Logistic regression estimates the probability of a binary outcome. Rather than modelling the outcome directly, it models the log-odds:
\[ \log\left(\frac{p}{1-p}\right)=\beta_0+\beta_1X_1+\cdots+\beta_kX_k. \]
Predicted probabilities must be separated from final class decisions. A threshold of 0.50 is not automatically appropriate. The best threshold depends on the cost of false positives, the cost of false negatives, available intervention capacity, and the distribution of predicted risk.
For retention analysis, useful metrics may include area under the ROC curve, precision, recall, specificity, calibration, lift in a targeted group, and expected intervention value. Accuracy alone can be misleading when most members renew.
Worked Example: Defining Twelve-Month Retention
NVRW defines the target as whether a new member remains active twelve months after joining. Recent members without a complete observation window are excluded from model development rather than labelled as non-retained.
The model uses information available during the first sixty days, such as membership type, location, acquisition channel, visit frequency, program registration, and service contacts. It does not use later renewal transactions, because that would leak the outcome into the features.