Question
The accompanying data file contains 20 observations on the binary response variable y along with the explanatory variables x 1 and x 2 . a-1.
The accompanying data file contains 20 observations on the binary response variable y along with the explanatory variablesx1andx2. a-1.Estimate the linear probability regression model.(Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.) Constant:
x1:
x2: 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 %). y= b-1.Estimate the logistic regression model.(Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.) constant:
x1:
x2: 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=
y | x1 | x2 |
0 | 14.44 | 13.93 |
1 | 18.45 | 3.16 |
0 | 5.45 | 8.51 |
0 | 10.77 | 10.04 |
0 | 11.21 | 10.02 |
0 | 8.31 | 9.50 |
1 | 13.09 | 2.66 |
1 | 19.72 | 9.61 |
1 | 18.06 | 9.24 |
0 | 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
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