Question: Please compete using MATLAB: Data is as follows: x = [ 1 2 3 4 5 6 7 ] y = [ 1.11 0.75 -0.44
Please compete using MATLAB:
Data is as follows:
x = [ 1 2 3 4 5 6 7 ]
y = [ 1.11 0.75 -0.44 -1.14 -0.59 0.61 1.14 ]

construct least-squares fits that are polynomials of degrees 1, 2, and 3. Give the fitted coefficients, RSS R2, adjusted R2, and AIC score for each fit. Include plots that show the original points together with the fitted polynomials. Which fit do you think is best, and why? construct least-squares fits that are polynomials of degrees 1, 2, and 3. Give the fitted coefficients, RSS R2, adjusted R2, and AIC score for each fit. Include plots that show the original points together with the fitted polynomials. Which fit do you think is best, and why
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
