Homework answer key will be posted on Tuesday/Wednesday.
Make sure you check it out!
Exercises: Multiple regression (e.g. Bechdel Test example), differences in associations between groups (e.g. luxury vs non-luxury cars depreciation).
Check personalized feedback for JITT 3, if included.
Homework answer key will be posted on Tuesday/Wednesday.
Make sure you check it out!
Exercises: Multiple regression (e.g. Bechdel Test example), differences in associations between groups (e.g. luxury vs non-luxury cars depreciation).
Check personalized feedback for JITT 3, if included.
Roadmap of where we've been and where we're going.
Nonlinear models:
Introduction to Causal Inference
Another way to capture nonlinear associations between the outcome (Y) and covariates (X) is to include polynomial terms:
Another way to capture nonlinear associations between the outcome (Y) and covariates (X) is to include polynomial terms:
Let's look at an example!
log(Wage)=β0+β1Educ+β2Exp+ε
log(Wage)=β0+β1Educ+β2Exp+β3Exp2+ε
log(Wage)=β0+β1Educ+β2Exp+β3Exp2+ε
log(Wage)=β0+β1Educ+β2Exp+β3Exp2+ε
log(Wage)=0.52+0.09⋅Educ+0.034⋅Exp−0.0005⋅Exp2
log(Wage)=β0+β1Educ+β2Exp+β3Exp2+ε
log(Wage)=0.52+0.09⋅Educ+0.034⋅Exp−0.0005⋅Exp2
log(Wage)=β0+β1Educ+β2Exp+β3Exp2+ε What is the association between experience and wages?
log(Wage)=β0+β1Educ+β2Exp+β3Exp2+ε What is the association between experience and wages?
log(Wage)=β0+β1Educ+β2Exp+β3Exp2+ε What is the association between experience and wages?
Increasing work experience from Exp0 to Exp0+1 years is associated, on average, to a (^β2+2^β3×Exp0)100% increase on hourly wages, holding education constant
log(Wage)=β0+β1Educ+β2Exp+β3Exp2+ε What is the association between experience and wages?
Increasing work experience from Exp0 to Exp0+1 years is associated, on average, to a (^β2+2^β3×Exp0)100% increase on hourly wages, holding education constant
Let's put some numbers into it:
log(Wage)=0.52+0.09⋅Educ+0.034⋅Exp−0.0005⋅Exp2
log(Wage)=β0+β1Educ+β2Exp+β3Exp2+ε What is the association between experience and wages?
Increasing work experience from Exp0 to Exp0+1 years is associated, on average, to a (^β2+2^β3×Exp0)100% increase on hourly wages, holding education constant
Let's put some numbers into it:
log(Wage)=0.52+0.09⋅Educ+0.034⋅Exp−0.0005⋅Exp2
Increasing work experience from 20 to 21 years is associated, on average, to a (0.034−2×0.0005×20)×100=1.4% increase on hourly wages, holding education constant
log(Wage)=β0+β1Educ+β2Exp+β3Exp2+ε What is the association between experience and wages?
Increasing work experience from Exp0 to Exp0+1 years is associated, on average, to a (^β2+2^β3×Exp0)100% increase on hourly wages, holding education constant
Let's put some numbers into it:
log(Wage)=0.52+0.09⋅Educ+0.034⋅Exp−0.0005⋅Exp2
Increasing work experience from 20 to 21 years is associated, on average, to a (0.034−2×0.0005×20)×100=1.4% increase on hourly wages, holding education constant
Note that in this case we are interpreting the association between Experience and Wages as a percent change, because Wages is in a logarithm!
Let's go to R
Homework answer key will be posted on Tuesday/Wednesday.
Make sure you check it out!
Exercises: Multiple regression (e.g. Bechdel Test example), differences in associations between groups (e.g. luxury vs non-luxury cars depreciation).
Check personalized feedback for JITT 3, if included.
Keyboard shortcuts
↑, ←, Pg Up, k | Go to previous slide |
↓, →, Pg Dn, Space, j | Go to next slide |
Home | Go to first slide |
End | Go to last slide |
Number + Return | Go to specific slide |
b / m / f | Toggle blackout / mirrored / fullscreen mode |
c | Clone slideshow |
p | Toggle presenter mode |
t | Restart the presentation timer |
?, h | Toggle this help |
Esc | Back to slideshow |