Question: The accompanying data file contains 20 observations on the binary response variable y along with the predictor variables x 1 and x 2 . a-1.
The accompanying data file contains 20 observations on the binary response variable y along with the predictor variablesx1andx2.
a-1.Estimate the linear probability model.(Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.)
a-2.Use the above estimates to computeyy^forx1=12, andx2= 8.(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 %). b-1.Estimate the logistic regression model.(Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.)
b-2.Use the above estimates to computeyy^forx1=12, andx2= 8.(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 |
| 0 | 14.44 | 13.93 |
| 1 | 18.45 | 3.16 |
| 0 | 5.45 | 8.51 |
| 0 | 10.77 | 10.04 |
| 1 | 11.21 | 10.02 |
| 1 | 8.31 | 9.50 |
| 1 | 13.09 | 2.66 |
| 1 | 19.72 | 9.61 |
| 1 | 18.06 | 9.24 |
| 1 | 8.13 | 9.32 |
| 0 | 6.26 | 4.19 |
| 0 | 5.31 | 10.89 |
| 1 | 19.83 | 3.33 |
| 1 | 7.00 | 7.27 |
| 1 | 9.77 | 5.66 |
| 0 | 19.83 | 13.03 |
| 0 | 9.87 | 8.06 |
| 0 | 6.31 | 8.99 |
| 1 | 17.01 | 10.60 |
| 1 | 4.59 | 8.08 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
