最小二乘法(Least Squares Fitting)

least squares fitting proceeds by finding the sum of the squares of the vertical deviations R2 of a set of n data points:
這裏寫圖片描述

The condition for R2 to be a minimum is that
這裏寫圖片描述

for i=1, …, n. For a linear fit,
這裏寫圖片描述

so
這裏寫圖片描述

These lead to the equations
這裏寫圖片描述

In matrix form,
這裏寫圖片描述

so
這裏寫圖片描述

The 2×2 matrix inverse is
這裏寫圖片描述

so
這裏寫圖片描述

原文鏈接:Least Squares Fitting

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章