Pre-Engineering 220 Introduction to MatLab ® & Scientific Programming j kiefer



Download 8.69 Mb.
Page72/128
Date02.05.2018
Size8.69 Mb.
#47255
1   ...   68   69   70   71   72   73   74   75   ...   128

1. Goodness of Fit

The method of least squares uses a particular measure of goodness of fit.


a. Total squared error, E

First of all, never forget that the word error in this context means uncertainty. Now, let’s say {xi,fi} are the n+1 data values and f(x) is the assumed function. Then E is defined to be





The {} are weighting factors that depend on the nature of the uncertainties in the data {fi}. For measured values, the , the experimental uncertainties. Often, we just take all the , perhaps implying that the experimental uncertainties are all the same.. In that case,

.
b. Least squares fit

We wish to derive an f(x) which minimizes E. That means taking the derivative of E with respect to each adjustable parameter in f(x) and setting it equal to zero. We obtain a set of simultaneous linear equations with the adjustable parameters as the unknowns. These are called the normal equations.





Download 8.69 Mb.

Share with your friends:
1   ...   68   69   70   71   72   73   74   75   ...   128




The database is protected by copyright ©ininet.org 2024
send message

    Main page