Question: Develop an M-file to implement polynomial regression. Pass the M-file two vectors holding the x and y values along with the desired order m. Test
Develop an M-file to implement polynomial regression. Pass the M-file two vectors holding the x and y values along with the desired order m. Test it by solving Prob. 15.3.
Data From Problem 15.3
Fit a cubic polynomial to the following data:

Along with the coefficients, determine r2 and sy/x.
X 3 y 1.6 4 3.6 5 4.4 7 8 9 11 3.4 2.2 2.8 3.8 12 4.6
Step by Step Solution
3.45 Rating (161 Votes )
There are 3 Steps involved in it
ANSWER function coefficients r2 syx polynomialregressionx y m Determine the number of data points n ... View full answer
Get step-by-step solutions from verified subject matter experts
