Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The file P17_22.xlsx contains the following data on 84 people: annual income, amount invested in the stock market, and a 0-1 variable on whether they
The file P17_22.xlsx contains the following data on 84 people: annual income, amount invested in the stock market, and a 0-1 variable on whether they subscribe to the Wall Street Journal.
Use logistic regression to classify these people on whether they are subscribers. How accurate are the classifications?
The logistic regression model correctly classifies...................... out of ..................... cases.
Person | Income | InvestAmt | WSJ Subscriber |
1 | 32700 | 16900 | 0 |
2 | 68500 | 17500 | 0 |
3 | 66400 | 26900 | 0 |
4 | 87700 | 54300 | 1 |
5 | 57800 | 23400 | 0 |
6 | 60800 | 33300 | 0 |
7 | 74100 | 36700 | 1 |
8 | 78200 | 31900 | 0 |
9 | 67600 | 37600 | 1 |
10 | 59400 | 27300 | 0 |
11 | 57600 | 22200 | 0 |
12 | 87200 | 51000 | 0 |
13 | 75300 | 21700 | 0 |
14 | 67400 | 15900 | 0 |
15 | 90400 | 21400 | 0 |
16 | 50600 | 19300 | 0 |
17 | 80200 | 25400 | 0 |
18 | 43900 | 12400 | 0 |
19 | 62000 | 26800 | 0 |
20 | 64500 | 11800 | 0 |
21 | 90400 | 57300 | 1 |
22 | 45900 | 16800 | 0 |
23 | 85100 | 59800 | 1 |
24 | 92900 | 42000 | 0 |
25 | 49300 | 25400 | 0 |
26 | 45100 | 20300 | 0 |
27 | 86300 | 25900 | 0 |
28 | 67200 | 26400 | 0 |
29 | 84700 | 45000 | 1 |
30 | 88200 | 65400 | 1 |
31 | 60900 | 25800 | 0 |
32 | 83500 | 61300 | 1 |
33 | 79900 | 42100 | 0 |
34 | 41900 | 5000 | 0 |
35 | 93700 | 31300 | 0 |
36 | 83700 | 55500 | 1 |
37 | 66800 | 35600 | 0 |
38 | 48700 | 2300 | 0 |
39 | 54900 | 21500 | 0 |
40 | 61100 | 25200 | 0 |
41 | 66900 | 34400 | 0 |
42 | 86600 | 37000 | 0 |
43 | 60200 | 24000 | 0 |
44 | 76400 | 19800 | 0 |
45 | 83000 | 23700 | 0 |
46 | 70700 | 27200 | 0 |
47 | 46700 | 37700 | 0 |
48 | 84300 | 49800 | 1 |
49 | 51600 | 22000 | 0 |
50 | 63200 | 32500 | 0 |
51 | 81400 | 57400 | 1 |
52 | 75200 | 51100 | 1 |
53 | 90900 | 63800 | 1 |
54 | 59400 | 22100 | 0 |
55 | 64300 | 13700 | 0 |
56 | 61800 | 35100 | 0 |
57 | 68200 | 12300 | 0 |
58 | 53900 | 36400 | 1 |
59 | 86600 | 66600 | 1 |
60 | 59700 | 14900 | 0 |
61 | 100700 | 58800 | 1 |
62 | 54100 | 16700 | 0 |
63 | 64900 | 48300 | 1 |
64 | 61000 | 23100 | 0 |
65 | 64300 | 50100 | 1 |
66 | 67400 | 46600 | 1 |
67 | 60200 | 19300 | 0 |
68 | 76000 | 41900 | 0 |
69 | 72900 | 39400 | 1 |
70 | 100300 | 55500 | 1 |
71 | 78900 | 26500 | 0 |
72 | 89900 | 46200 | 0 |
73 | 88900 | 28600 | 0 |
74 | 74800 | 56000 | 1 |
75 | 86600 | 56200 | 1 |
76 | 66600 | 32200 | 0 |
77 | 77800 | 48500 | 1 |
78 | 90200 | 62900 | 1 |
79 | 50000 | 15300 | 0 |
80 | 66200 | 23800 | 0 |
81 | 88400 | 34500 | 0 |
82 | 78500 | 46000 | 1 |
83 | 68000 | 7100 | 0 |
84 | 77400 | 64700 | 1 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started