Question
exercise you will use least-squares curve fitting to develop two equations to model the data given. Using these equations, we will predict the function values
exercise you will use least-squares curve fitting to develop two equations to model the data given. Using these equations, we will predict the function values for two inputs and evaluate the prediction made by each of the curves and linear interpolation. PART A( X 6 11 16 21 26 31 38 43 48 53) (Y 19 27 33 35 40 39 41 44 46 50) Using the 8 non-shaded values above, find a0 and a1 for the least squares linear regression. We will save the shaded values for our test data, that is, data points that are known but we will not include in the information used to make a representative curve. We will use these points to see how close our curve fit is to predicting actual values that were not used to derive the curve. Compute the overall squared-error. Write the completed polynomial. PART B Using the 8 non-shaded values from part A, find a0, a1, and a2 for a parabolic least squares regression (polynomial of degree 2). Use MS Excel to solve for these coefficients. Compute the overall squared-error. Write the completed polynomial. Include a printout of your Excel spreadsheet. PART C On two separate graphs, plot the non-shaded data points and show the resulting curves from Part A and Part B; a separate graph for each curve. Use graph paper. PART D Fill in the following test table: Y values Absolute Error: |Actual-Predicted| Results X linear interpolation linear fit parabolic fit linear interpolation linear fit parabolic fit actual best value best method 21 35 43 44 Which method(s) performed the best? Would you have expected the outcomes? How do these perform for these data points vs. the linear and parabolic curves squared errors? Discuss your answer.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started