What is the best estimate for B in Least Squares Fitting?

nickerst
Messages
9
Reaction score
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?
 
Physics news on Phys.org
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?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top