Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USING R The attached data set (in link below) describes various discounts a shoe companyoffers, and the number of people who took advantage of the

USING R

The attached data set (in link below) describes various discounts a shoe companyoffers, and the number of people who took advantage of the discounts.

  1. Fit a logistic regression model to the data.
  2. Use a simple linear regression model as the structure for the linear predictor.
  3. Does the model deviance indicate that the logistic regression model from part1 is adequate?

HERE IS THE DATASET ALSO.

original price discount number of people who purchased

104 0.3 352

98 0.3 302

150 0.2 435

36 0.1 317

183 0.4 409

25 0.3 480

197 0.4 313

57 0.1 322

21 0.3 476

185 0.4 495

85 0.2 333

173 0.2 305

135 0.3 312

87 0.4 439

156 0.3 464

158 0.4 396

64 0.1 412

36 0.2 407

174 0.3 440

193 0.2 493

161 0.4 443

182 0.4 317

82 0.4 443

129 0.2 467

167 0.4 367

165 0.2 425

38 0.1 358

146 0.4 334

140 0.3 340

48 0.1 481

22 0.2 352

157 0.2 329

24 0.3 446

31 0.1 332

23 0.1 365

20 0.2 350

126 0.4 352

113 0.4 324

83 0.3 386

139 0.2 358

172 0.4 307

32 0.3 301

146 0.3 409

190 0.4 347

179 0.3 325

126 0.3 433

67 0.2 490

160 0.2 469

150 0.3 427

75 0.2 369

138 0.2 450

63 0.1 310

62 0.3 382

35 0.3 404

155 0.3 496

45 0.2 333

98 0.2 305

70 0.1 367

165 0.3 313

75 0.2 384

27 0.2 411

22 0.2 437

127 0.2 448

39 0.1 371

93 0.2 361

35 0.3 485

196 0.3 450

174 0.3 315

111 0.2 461

90 0.3 408

33 0.2 432

191 0.2 340

112 0.2 400

139 0.3 342

80 0.3 467

63 0.1 390

37 0.2 440

159 0.4 335

118 0.3 316

34 0.3 344

61 0.1 407

66 0.1 408

164 0.4 498

40 0.1 406

168 0.3 325

112 0.4 457

101 0.2 328

197 0.2 482

199 0.2 382

40 0.3 486

24 0.2 469

116 0.2 454

138 0.2 322

175 0.4 456

100 0.4 316

137 0.2 429

150 0.2 342

28 0.2 385

190 0.2 345

41 0.3 420

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

Trigonometry

Authors: Cynthia Y Young

5th Edition

1119820928, 9781119820925

More Books

Students also viewed these Mathematics questions

Question

1. Discuss the four components of language.

Answered: 1 week ago

Question

a. How many different groups were represented?

Answered: 1 week ago