Use the accompanying data file to analyze subscription (Subscribe equals 1 if a customer subscribes, 0 otherwise).
Question:
Use the accompanying data file to analyze subscription (Subscribe equals 1 if a customer subscribes, 0 otherwise). Also included in the data file are the percentage discount (Discount) and the customer’s age and sex.
a. Estimate the logistic regression model for subscription using discount and age as the predictor variables and compute the accuracy rate.
b. Extend the model to include sex and compute the resulting accuracy rate.
c. Use the preferred model to predict the subscription probability for a 50-year-old customer with a discount of 10%; consider both male and female customers if you pick the model in part b.
Subscribe | Discount | Age | Sex |
1 | 5 | 48 | Female |
1 | 13 | 22 | Female |
1 | 15 | 51 | Male |
1 | 9 | 37 | Female |
0 | 7 | 72 | Female |
1 | 12 | 61 | Male |
0 | 7 | 37 | Male |
1 | 8 | 46 | Male |
1 | 3 | 71 | Male |
0 | 17 | 36 | Female |
0 | 2 | 27 | Male |
1 | 18 | 69 | Male |
1 | 12 | 39 | Male |
1 | 15 | 30 | Female |
1 | 5 | 69 | Male |
1 | 4 | 75 | Female |
1 | 6 | 37 | Female |
1 | 2 | 34 | Female |
1 | 10 | 61 | Female |
1 | 11 | 53 | Female |
0 | 5 | 20 | Male |
1 | 14 | 45 | Female |
1 | 5 | 31 | Female |
1 | 8 | 71 | Male |
1 | 14 | 53 | Female |
1 | 7 | 72 | Male |
1 | 12 | 73 | Male |
0 | 11 | 71 | Female |
0 | 10 | 34 | Female |
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Business Analytics
ISBN: 9781265897109
2nd Edition
Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen
Question Posted: