Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A grocery store chain wants to determine if a customer would buy Minute Maid MM or another brand. The variable Purchase is 1 if the

image text in transcribed
A grocery store chain wants to determine if a customer would buy Minute Maid MM or another brand. The variable Purchase is 1 if the purchase was Minute Maid and 0 if the purchase was Citrus Hill. They want to determine this based on price charged for Citrus Hill PriceCH, price charged for Minute Maid PriceMM, and if the sale is at Store 7 Store7 (Yes/No). a) Using all the variables indicated above, what is the model, write it out, watch out for categorical variables. b) Write out the R code for how you would get the estimates of this model. c) The following is the output for the model: # # Coefficients: Estimate Std. Error z value Pr(> |z1) (Intercept) 1. 5220 2. 3142 0. 658 0. 5108 PriceCH 2. 2321 1. 4682 1.520 0. 1285 PriceMM -2.7813 1. 1042 -2.519 0. 0118 Store7Yes -1. 2020 0. 2804 -4.286 1. 82e-05 Signif. codes: 0 's*+' 0.001 '*#' 0.01 '-' 0.05 .' 0.1 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 429.17 on 320 degrees of freedom Residual deviance: 398.62 on 317 degrees of freedom ## AIC: 406.62

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Discrete Mathematics Mathematical Reasoning And Proof With Puzzles, Patterns, And Games

Authors: Douglas E Ensley, J Winston Crawley

1st Edition

1118226534, 9781118226537

More Books

Students also viewed these Mathematics questions