Question: help Build a function which: - takes as input a data frame, and the two elements of a frame that you want to model -

help Build a function which: - takes as input a data frame,help

Build a function which: - takes as input a data frame, and the two elements of a frame that you want to model - Plot the data fit with a smoothing spline with the default cross validation, vs the smoothing spline with 2 degrees of freedom (linear fit). - Test the difference of fit using the F test - Plot the normal quantile quantile plots for the residuals Run it on the NOAAnew data include the code and the result the run in a pdf file Install the ISLR package into your computer (data sets) Read section 5.2 in ISLR (see Syllabus) on the bootstrap. (free pdf)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!