Question
The accompanying data file contains 20 observations on the binary response variable y along with the predictor variables x 1 and x 2 . Estimate
The accompanying data file contains 20 observations on the binary response variable y along with the predictor variables x1 and x2.
Estimate the linear probability regression model and the logistic regression model. (Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.) b. Compute the accuracy rates of both models. (Round coefficient estimates to at least 4 decimal places and final percentage answers to 2 decimal places.) c. Use the preferred model to predict yy^ for x1= 60, and x2 = 18. (Round coefficient estimates to at least 4 decimal places and final answer to 2 decimal places.) Note: Report the probability between 0 and 1 (not in %).
y | x1 | x2 |
1 | 38.62 | 9.88 |
1 | 71.51 | 9.14 |
0 | 57.55 | 19.11 |
1 | 52.23 | 19.33 |
1 | 79.73 | 19.93 |
1 | 63.93 | 16.7 |
0 | 61.87 | 20.66 |
0 | 41.02 | 25.28 |
0 | 63.43 | 21.78 |
1 | 52.28 | 19.05 |
1 | 56.49 | 12.24 |
0 | 61.12 | 24.24 |
1 | 53.43 | 8.88 |
1 | 51.72 | 13.07 |
1 | 76.66 | 14.02 |
0 | 32.51 | 10.19 |
0 | 65.24 | 23.78 |
1 | 56.15 | 11.17 |
0 | 44.66 | 20.99 |
0 | 45.6 | 10.25 |
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