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, 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
Get step-by-step solutions from verified subject matter experts
