Question

In: Statistics and Probability

Bought Income Children ViewedAd 0 37.00 2 2 1 47.00 1 1 0 47.00 1 2...

Bought Income Children ViewedAd
0 37.00 2 2
1 47.00 1 1
0 47.00 1 2
0 49.00 2 2
1 59.00 1 1
0 13.00 2 1
0 51.00 1 2
0 38.00 1 2
0 60.00 1 1
1 48.00 1 1
0 17.00 1 2
0 60.00 2 2
0 38.00 1 1
0 24.00 1 2
0 15.00 1 2
1 59.00 1 2
0 28.00 1 2
0 36.00 1 2
0 10.00 2 1
0 46.00 2 2
1 55.00 1 1
0 37.00 1 1
1 13.00 1 1
0 55.00 1 2
1 34.00 1 2
0 24.00 1 2
0 19.00 1 2
0 55.00 1 1
0 53.00 1 1
1 57.00 1 1
0 30.00 2 1
0 53.00 1 2
0 60.00 1 1
1 51.00 1 1
1 23.00 1 1
0 53.00 1 1
0 43.00 1 2
0 35.00 1 1
0 33.00 2 1
0 30.00 1 2
0 34.00 1 2
0 43.00 2 2
0 36.00 1 2
1 44.00 1 1
0 60.00 1 1
0 56.00 1 2
0 60.00 1 1
1 11.00 1 2
0 33.00 1 2
1 22.00 2 2
1 45.00 1 1
1 55.00 1 2
1 60.00 1 1
0 20.00 2 2
0 15.00 2 1
0 10.00 2 2
1 44.00 1 1
0 25.00 2 2
0 15.00 1 1
1 38.00 1 1
0 10.00 2 2
0 15.00 2 1
1 42.00 1 1
1 33.00 1 2
0 24.00 1 2
0 15.00 2 1
0 24.00 1 1
1 52.00 2 2
0 21.00 2 2
0 21.00 2 2
1 30.00 1 1

SHOW ALL STEPS and ANSWER ALL SECTIONS. Using the spreadsheet above and import it into Minitab to answer the following:

1. Fit a binary logistic model to the data and report your results

a. What are the odds of a consumer who viewed the advertisement buying the cereal compared to a consumer who did not view the advertisement?

b. What are the odds of a consumer who has children buying the cereal compared to a consumer who does not have children?

c. Does the model fit the data well? Explain.

d. Is there evidence that the model does not fit the data well? Explain.

Solutions

Expert Solution

The logostic regression is performed in minitab by following steps,

Step 1: Write the data values in worksheet. The screenshot is shown below,

Step 2: Click Stat > Regression > Binary Logistic Regression > Fit Binary Logistic Model. The screenshot is shown below,

Step 3: Select Response in binary responses/frequency format, Response: Bought column, Response event: 1, Continuous predictors: Income, Categorical: Children and ViewedAd column. The screenshot is shown below,

The result is obtained. The screenshots are shown below,

From the result summary obtained above,

Odds Ratios for Categorical Predictors

Level A Level B Odds Ratio 95% CI
Children
2 1 0.2387 (0.0445, 1.2788)
ViewedAd
2 1 0.3555 (0.1159, 1.0904)

Odds ratio for level A relative to level B

a)

odds of a consumer who viewed the advertisement buying the cereal compared to a consumer who did not view the advertisement is,

b)

Odds of a consumer who has children buying the cereal compared to a consumer who does not have children is,

c)

The R square value (Deviance)= 12.66% which mean model describle only the 12.65% variance of the data points. Which is not a good fit model.

d)

The P-value (Deviance )=0.194 (from Goodness of fit tests) which is greater than 0.05 at 5% significance level. Hence there is a statistical evidence that the model doesnt fit the data well.


Related Solutions

Customer Age Female Income Married Children Loan Mortgage A 29 0 12623.4 1 1 1 0...
Customer Age Female Income Married Children Loan Mortgage A 29 0 12623.4 1 1 1 0 B 25 0 23818.6 1 0 0 0 C 40 1 31473.9 0 2 0 1 D 48 0 20268 1 0 0 0 E 65 0 51417 1 2 0 0 F 59 1 30971.8 1 3 1 1 G 61 1 47025 0 2 1 1 H 30 1 9672.25 1 0 1 0 I 31 1 15976.3 1 0 1 0...
0. 0. 0. 0.0. 0. 0. 0. 0. 1. 1. 1. 1. 1. 1. 2. 2. 2. 3. 4.
0. 0. 0. 0.0. 0. 0. 0. 0.   1. 1. 1. 1. 1. 1. 2. 2. 2. 3.   4. A.)MEAN – B.)MEDIAN - C.)MODE - D.)STANDARD DEVIATION – E.)5 NUMBER SUMMARY – F.)BOX AND WHISKERS PLOT – G.) OUTLIERS-
0. 0. 0. 0.0. 0. 0. 0. 0. 1. 1. 1. 1. 1. 1. 2. 2. 2. 3. 4.
0. 0. 0. 0.0. 0. 0. 0. 0.   1. 1. 1. 1. 1. 1. 2. 2. 2. 3.   4. A.)5 NUMBER SUMMARY – B.)BOX AND WHISKERS PLOT – C.) OUTLIERS-
Let A =   [  0 2 0 1 0 2 0 1 0 ]  . (a)...
Let A =   [  0 2 0 1 0 2 0 1 0 ]  . (a) Find the eigenvalues of A and bases of the corresponding eigenspaces. (b) Which of the eigenspaces is a line through the origin? Write down two vectors parallel to this line. (c) Find a plane W ⊂ R 3 such that for any w ∈ W one has Aw ∈ W , or explain why such a plain does not exist. (d) Write down explicitly...
Consider the matrix A = [2, -1, 1, 2; 0, 2, 1, 1; 0, 0, 2,...
Consider the matrix A = [2, -1, 1, 2; 0, 2, 1, 1; 0, 0, 2, 2; 0, 0, 0, 1]. Find P, so that P^(-1) A P is in Jordan normal form.
Let A = 0 2 0 1 0 2 0 1 0 . (a) Find the...
Let A = 0 2 0 1 0 2 0 1 0 . (a) Find the eigenvalues of A and bases of the corresponding eigenspaces. (b) Which of the eigenspaces is a line through the origin? Write down two vectors parallel to this line. (c) Find a plane W ⊂ R 3 such that for any w ∈ W one has Aw ∈ W , or explain why such a plain does not exist. (d) Write down explicitly a diagonalizing...
Let A = 0 2 0 1 0 2 0 1 0 . (a) Find the...
Let A = 0 2 0 1 0 2 0 1 0 . (a) Find the eigenvalues of A and bases of the corresponding eigenspaces. (b) Which of the eigenspaces is a line through the origin? Write down two vectors parallel to this line. (c) Find a plane W ⊂ R 3 such that for any w ∈ W one has Aw ∈ W , or explain why such a plain does not exist. (d) Write down explicitly a diagonalizing...
Let A = 2 0 1 0 2 0 1 0 2 and eigenvalue λ1 =...
Let A = 2 0 1 0 2 0 1 0 2 and eigenvalue λ1 = 3 and associated eigenvector v(1) = (1, 0, 1)t . Find the second dominant eigenvalue λ2 (or the approximation to λ2) by the Wielandt Dflation method
A= 1 0 -7 7 0 1 0 0 2 -2 10 -7 2 -2 2...
A= 1 0 -7 7 0 1 0 0 2 -2 10 -7 2 -2 2 1 Diagonalize the matrix above. That is, find matrix D and a nonsingular matrix P such that A = PDP-1 . Use the representation to find the entries of An as a function of n.
Given a matrix A = [?1 ? ? 0 ?2 ? 0 0 ?2], with ?1...
Given a matrix A = [?1 ? ? 0 ?2 ? 0 0 ?2], with ?1 ≠ ?2 and ?1, ?2 ≠ 0, A) Find necessary and sufficient conditions on a, b, and c such that A is diagonalizable. B) Find a matrix, C, such that C-1 A C = D, where D is diagonal. C) Demonstrate this with ?1 = 2, ?2 = 5, and a, b, and c chosen by you, satisfying your criteria from A).
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT