Question: Please use MATLAB to answer the following question - this assignment is due tomorrow so I will rate with a thumbs up if you can
Please use MATLAB to answer the following question - this assignment is due tomorrow so I will rate with a thumbs up if you can answer this to the best of your ability, thanks


Project3-Ise.xlsx
| 45 | 100 |
| 60 | 150 |
| 45 | 56 |
| 20 | 66 |
| 15 | 72 |
| 35 | 87 |
| 44 | 56 |
| 0 | 25 |
| 5 | 60 |
| 10 | 50 |
| 44 | 63 |
| 87 | 150 |
| 15 | 50 |
| 55 | 125 |
| 35 | 88 |
| 47 | 102 |
| 56 | 110 |
| 30 | 66 |
| 47 | 78 |
| 48 | 85 |
| 85 | 200 |
| 71 | 160 |
| 84 | 170 |
| 66 | 120 |
| 77 | 123 |
| 85 | 181 |
| 74 | 110 |
| 68 | 110 |
| 91 | 220 |
Problem 2: Least Square Regression Least square regression is a powerful modeling technique to estimate the relation between two variables in a simple linear regression. For a simple linear regression model: bo b1x where y is the depended variable and x is the independent variable, the least square estimate of bo and bi are defined as folows: and Use the data projec3-lse.xlsx to do the following. i. Write a function called least square to do the work. The function reads the file project3- lse.xlsx data to do the work. Use column 1 of the file as x and column 2 as y. ii. Use a for loop to generate the table below iii. Use the polynomial you developed above to predict the value of y when x 44. Problem 2: Least Square Regression Least square regression is a powerful modeling technique to estimate the relation between two variables in a simple linear regression. For a simple linear regression model: bo b1x where y is the depended variable and x is the independent variable, the least square estimate of bo and bi are defined as folows: and Use the data projec3-lse.xlsx to do the following. i. Write a function called least square to do the work. The function reads the file project3- lse.xlsx data to do the work. Use column 1 of the file as x and column 2 as y. ii. Use a for loop to generate the table below iii. Use the polynomial you developed above to predict the value of y when x 44
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
