Question: 6. Use the mcycle data in the MASS package for this problem (see Homework 3 Qn 5). Instead of fitting polynomial regression, fit an additive


6. Use the mcycle data in the MASS package for this problem (see Homework 3 Qn 5). Instead of fitting polynomial regression, fit an additive model using splines to this dataset. Compare the MSE of the spline model to the polynomial regression model, where MSE = (Yi - Ya)2, Y, is the observed response variable and Y; is the predicted response variable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
