Need Help

jjhova702

New member
Joined
Apr 14, 2011
Messages
3
The following experimental data set has been collected {(xi, yi)} = { (0.6, 10), (1.3, 20), (2.1, 30), (3.6, 50), (7.3, 100) }. Find the best straight line y = mx that fists the data by using a method that minimizes the error squared:

E =n=1 (y- mx)^2 = (y1 - mx1)^2 + (y2- mx2)^2 + ... + (yn - mxn)^2.

The task is to find slope, m of the straight line by minimizing E using the data set given above. Please help. I don't know where to begin.
 
Hint: Add and subtract \(\displaystyle m \bar x\) inside each term, then expand.
 
Top