Set λ = −1, and fit the mean function
using ols; that is, fit the ols regression with Tension as the response and 1/Sulfur as the regressor. Add a line for the fitted values from this fit to the plot you drew in If you do.
not have a program that will do this automatically, you can let new be a vector of 100 equally spaced values between the minimum value of Sulfur and its maximum value. Compute the fitted values
and a line joining these points to your graph. Repeat for λ = 0, 1, and so in the end you will have three lines on your plot. Which of these three choices of λ gives fitted values that match the data most closely?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here