Professional Documents
Culture Documents
Test 5
Test 5
Pr[𝑟𝑒𝑠𝑝𝑛𝑒𝑤 =0 Pr[𝑟𝑒𝑠𝑝=1]
=
Pr[𝑟𝑒𝑠𝑝𝑛𝑒𝑤 =1] Pr[𝑟𝑒𝑠𝑝=0]
Using this result, we can see that the odds ratios are the reciprocal from the
original model, thus:
Pr[𝑟𝑒𝑠𝑝=1] 1
=
Pr[𝑟𝑒𝑠𝑝=0] exp(𝛽𝑜+ ∑𝑘
𝑖=2 𝐵𝑗𝑋𝑗𝑖)
𝑘
Pr[𝑟𝑒𝑠𝑝 𝑛𝑒𝑤 = 0
= exp(−𝛽𝑜 − ∑ 𝐵𝑗𝑋𝑗𝑖)
Pr[𝑟𝑒𝑠𝑝 𝑛𝑒𝑤 = 1]
𝑖=2
Pr[𝑟𝑒𝑠𝑝=1]
= exp(β0 + β1 malei + β2activitei + β3agei + β4(agei/10)2)
Pr[𝑟𝑒𝑠𝑝=0]
During lecture 5.5 you have seen that this odds ratio obtains its
maximum value for age equal to 50 years for males as well as females.
Suppose now that you want to extend the logit model and allow that
this age value is possibly different for males than for females. Discuss
how you can extend the logit specification
Results
Dependent variable:
response
male -2.142
(1.828)
activity 0.939***
(0.186)
age -0.017
(0.058)
I((age/10)2) 0.016
(0.054)
I(male * age) 0.133*
(0.073)
I(male * (age/10)2) -0.132*
(0.069)
Constant -0.477
(1.458)
Observations 925
Log Likelihood -600.041
Akaike Inf. Crit. 1,214.082
Note: p<0.1; p<0.05; p<0.01