• Support PF! Buy your school textbooks, materials and every day products Here!

Least Squares Fitting

  • Thread starter nickerst
  • Start date
  • #1
9
0
1. Homework Statement

Suppose two variables x and y are known to satisfy a relation y=Bx. That is a graph of x vs. y is a line through the origin. Suppose further that you have N measurements (xi,yi)and that the uncertainties in x are negligible and those in y are equal. Prove the best estimate for B is B= [Sum(xy)]/[Sum(x^2)]

2. Homework Equations

B= [(N Sum(xy))-(Sum(x))*(Sum(y))]/[Del]

Del = [N(Sum(x^2))] - (Sum(x))^2]

3. The Attempt at a Solution [/b]

So I plugged the equation of Del into the equation for B so I can try to simplify it and therefor show the best estimate. But it just gets more and more complicated. Is that for sure where I should start?
 

Answers and Replies

  • #2
9
0
I simplified the expression for B into...

[Sum(x)Sum(y)] * [(N - 1)] / [Sum(x^2)] [N - Sum(x^2)]

This almost gives me what I want but I'm not sure what to do with the N - 1 and N - Sum(x^2). Might it be that when N = 0 (at the origin) it reduces the expression to just the best estimate for B?
 

Related Threads for: Least Squares Fitting

  • Last Post
Replies
3
Views
861
  • Last Post
Replies
2
Views
896
  • Last Post
Replies
12
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
10
Views
2K
Replies
2
Views
3K
Replies
0
Views
2K
Replies
1
Views
775
Top