Exercise 7: Logistic regression
Using hotel_upgrades.csv:
- Calculate the upgrade rate.
- Convert categorical predictors to factors.
- Estimate the model shown in Module 8.
- Convert coefficients to odds ratios.
- Create two profiles differing only in loyalty status.
- Compare their predicted probabilities.
- Explain the difference between odds and probability.
- Identify one fairness or governance concern if such a model were deployed.