Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

find the f(x) in the least square method

Options
  • 06-12-2011 7:23pm
    #1
    Registered Users Posts: 393 ✭✭


    Hi

    Just trying to remember how to find the f(x) in the least square method


    I have a big chart of data points but ill just provide the first

    x___y___x^2___x.y____f(x)
    -8__6.8__64____-54.4__?


    sorry for the format but this is the best I can do

    x= -8
    y= 6.8
    x^2 = 64
    x.y = -54.4
    f(x) = ?


Comments

  • Registered Users Posts: 12,965 ✭✭✭✭bnt


    Got an exam coming up? If so, you'll never need to remember it after that. You can just look it up if you ever need to do it by hand again. ;)

    See this page: you basically have to assemble two simultaneous equations from the various sums of the data, and solve them for the two parameters.

    From out there on the moon, international politics look so petty. You want to grab a politician by the scruff of the neck and drag him a quarter of a million miles out and say, ‘Look at that, you son of a bitch’.

    — Edgar Mitchell, Apollo 14 Astronaut



  • Registered Users Posts: 393 ✭✭godwin


    I cracked it , this was very useful

    http://www.zweigmedia.com/RealWorld/calctopic1/regression.html
    bnt wrote: »
    Got an exam coming up? If so, you'll never need to remember it after that. You can just look it up if you ever need to do it by hand again. ;)

    See this page: you basically have to assemble two simultaneous equations from the various sums of the data, and solve them for the two parameters.


Advertisement