Question: Take the cps09mar dataset (full sample). (a) Estimate quadratic spline regressions of log(wage) on experience. Estimate four models: (1) no knots (a quadratic); (2) one
Take the cps09mar dataset (full sample).
(a) Estimate quadratic spline regressions of log(wage) on experience. Estimate four models: (1) no knots (a quadratic); (2) one knot at 20 years; (3) two knots at 20 and 40; (4) four knots at 10, 20, 30,
& 40. Plot the four estimates. Intrepret your findings.
(b) Compare the four splines models using either cross-validation or AIC. Which is the preferred specification?
(c) For your selected specification plot the estimated regression function along with 95% pointwise confidence intervals. Intrepret your findings.
(d) If you also estimated a polynomial specification do you prefer the polynomial or the quadratic spline estimates?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
