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?
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top