ChEn263 — Lecture 17
Lecture 17 - Least Square Fitting
- This lecture covers the concept of using a least squares procedure to fit a function, incluing the idea of minimizing the sum of the squared error, and finding the coefficient of determination (i.e. R-squared). The video below covers this material as well as examples in Excel and Python.
Examples
- This video and the file below show an example of least square fitting in Excel. This is the same video as above, cued to start at the 22:40 mark.
- Example - Least Square Fitting in Excel
- This video and the file below show an eample of least square fitting in Python. This is the same video as above, cued to start at the 30:35 mark.