PDA

View Full Version : How to find the f(x) (least square method)


mjmara
Dec6-11, 11:41 AM
Hi my first post , I hope I chose the right forum?

I'm here looking for a memory jog not for someone to do my work, I'm trying to remember how to find the f(x) to complete this chart , there is many more data points but I'm just providing you with the top line , I shall do the rest myself, can someone help me please?
It's been many years since I attempted this problem :(


x y x^2 xy f(x) f(x)-y (f(x)-y)^2
________________________________________________
-8 6.8 64 -54.4 ?
1. The problem statement, all variables and given/known data



2. Relevant equations



3. The attempt at a solution

mjmara
Dec6-11, 12:37 PM
sorry

the format is all messed up

here

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) = ?

HallsofIvy
Dec6-11, 07:30 PM
It still is not at all clear what you are asking. Yes, if x= -8 and y= 6.8, then x^2= 64 and xy= -54.4 but that has nothing to do with some function, "f". Do you have any other information?

NascentOxygen
Dec7-11, 02:54 AM
I'm here looking for a memory jog not for someone to do my work, I'm trying to remember how to find the f(x) to complete this chart
A google search on method of least squares will find some good examples for you to follow, if I have you right. Here is one (http://www.emathzone.com/tutorials/basic-statistics/example-method-of-least-squares.html) that may help.