Code for Moving Beyond Linearity:
Applied Exercises:
chap_7_prob_3.R
(Produces a plot of the given output
Y
)
chap_7_prob_4.R
(Produces a plot of the given output
Y
)
chap_7_prob_6.R
(Non-linear prediction using the
Wage
data set)
chap_7_prob_9.R
(Predicting
dis
in the
Boston
data set)
chap_7_prob_10.R
(Using a GAM on the
College
data set)
chap_7_prob_11.R
(Implementing
backfitting
for multiple linear regression)
chap_7_prob_12.R
(A more extensive example of
backfitting
)
John Weatherwax