(adsbygoogle = window.adsbygoogle || []).push({}); Can you give me a "least squares" example?

Assume that, I have a function to estimate like below:

f(x) = a_{3}x^{3}+ a_{2}x^{2}+ a_{1}x^{1}+ a_{0}x^{0}

After several experiments I have obtained these (x, f(x)) pairs:

(x_{1}, y_{1})

(x_{2}, y_{2})

(x_{3}, y_{3})

(x_{4}, y_{4})

(x_{5}, y_{5})

(x_{6}, y_{6})

How can I estimate a_{0}, a_{1}, a_{2}and a_{3}?

I searched in Google, there are lots of definition of the theorem, but there is no example. I will be glad if you guys spare your time to help me.

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Can you give me a least squares example?

Loading...

Similar Threads - least squares example | Date |
---|---|

Least Square basic problem | Jan 20, 2018 |

I Trying to understand least squares estimates | Feb 25, 2017 |

Linearizing a nonlinear least squares model | Dec 7, 2015 |

Least squares parameter correlation | May 5, 2015 |

Large weighted least squares system | Apr 17, 2015 |

**Physics Forums - The Fusion of Science and Community**