Use the accompanying data file to analyze loyalty (Loyal equals 1 if the member stayed at the

Question:

Use the accompanying data file to analyze loyalty (Loyal equals 1 if the member stayed at the gym for at least one year, 0 otherwise). Also included in the file are the member’s age and income (in $1,000s) and whether he/she joined on a single plan (Single equals 1 if on a single plan, 0 otherwise).

a. Estimate the logistic regression model for loyalty, using age and income as the predictor variables, and compute the accuracy rate.
b. Extend the model to include the membership plan (single or family) and compute the resulting accuracy rate.
c. Use the preferred model to predict the loyalty probability for a 50-year-old member with income of $80,000; consider both single and family plans if you pick the model in part b.

 

LoyalAgeIncomePlan
039134Single
157120Family
17275Single
171143Single
12575Single
144149Single
021113Family
12687Family
06344Family
03744Single
165138Family
043138Family
06696Family
12191Family
07059Single
03931Single
03950Single
04385Family
06553Single
173119Single
17163Family
07251Single
153108Single
06046Family
160119Single
02141Single
146100Family
02155Family
027127Single
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Business Analytics

ISBN: 9781265897109

2nd Edition

Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen

Question Posted: