SECTION 7: CURVE FITTING
MAE 4020/5020 –Numerical Methods with MATLAB 2 Introduction
K. Webb MAE 4020/5020 Curve Fitting
3
Often have data, , that is a function of some independent variable, , but the underlying relationship is unknown Know ’s and ’s (perhaps only approximately), but don’t know Measured data Tabulated data Determine a function (i.e., a curve) that “best” describes relationship between and An approximation to (the unknown) This is curve fitting
K. Webb MAE 4020/5020 Regression vs. Interpolation
4 We’ll look at two categories of curve fitting:
Least‐squares regression Noisy data – uncertainty in value for a given value Want “good” agreement between and data points Curve (i.e., ) may not pass through any data points
Polynomial interpolation Data points are known exactly – noiseless data Resulting curve passes through all data points
K. Webb MAE 4020/5020 5 Review of Basic Statistics
Before moving on to discuss least‐squares regression, we’ll first review a few basic concepts from statistics.
K. Webb MAE 4020/5020 Basic Statistical Quantities
6
Arithmetic mean –the average or expected value ∑
Standard deviation (unbiased) –a measure of the spread of the data about the mean