Curve Fitting: Fitting a Curve to a Set of Data Points


Parameters

Table 11.2 shows the parameters that are used in this example.

Table 11.2: Parameters

Parameter Name

Interpretation

x[i]

x coordinate of input data point i

y[i]

y coordinate of input data point i

order

Order of polynomial regression curve

sum_abs_dev

Sum of absolute deviations between predicted and observed values

max_abs_dev

Maximum of absolute deviations between predicted and observed values