How can I use the expression for a in this problem

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
Faiq
Messages
347
Reaction score
16

Homework Statement



A random sample of size ##n## from a bivariate distribution is denoted by ##(x_r,y_r), r=1,2,3,...,n##. Show that if the regression line of ##y## on ##x## passes through the origin of its scatter diagram then[/B]
$$\bar y \sum^n_{r=1} x_r^2=\bar x\sum^n_{r=1} x_r y_r$$ where ## (\bar x,\bar y)## is the mean point of the sample.

I don't really know how to begin. I am aware the line equation is $$b=\frac{y}{x}=\frac{\sum xy-\frac{\sum x\sum y}{n}}{\sum x^2-\frac{(\sum x)^2}{n}}$$

Not sure what to do next.
 
Last edited by a moderator:
Physics news on Phys.org
Faiq said:

Homework Statement



A random sample of size ##n## from a bivariate distribution is denoted by ##(x_r,y_r), r=1,2,3,...,n##. Show that if the regression line of ##y## on ##x## passes through the origin of its scatter diagram then[/B]
$$\bar y\sum^n_{r=1} x_r^2=\bar x\sum^n_{r=1} x_r y_r$$ where ## (\bar x,\ bar y)## is the mean point of the sample.

I don't really know how to begin. I am aware the line equation is $$b=\frac{y}{x}=\frac{\sum xy-\frac{\sum x\sum y}{n}}{\sum x^2-\frac{(\sum x)^2}{n}}$$

Not sure what to do next.
(1) Do not write ##\xbar##, write ##\bar{x}##. Right-click on the formula to see its TeX commands.
Mod note: Fixed the TeX in the original post and above.
(2) What can you say about the data if the least-squares line has intercept ##a## equal to zero?
 
Last edited by a moderator:
Y is proportional to X
 
Faiq said:

Homework Statement


[/B]
A random sample of size ##n## from a bi-variate distribution is denoted by ##(x_r,y_r), r=1,2,3,...,n##. Show that if the regression line of ##y## on ##x## passes through the origin of its scatter diagram then
$$\bar y \sum^n_{r=1} x_r^2=\bar x\sum^n_{r=1} x_r y_r$$ where ## (\bar x,\bar y)## is the mean point of the sample.

The Attempt at a Solution


I don't really know how to begin. I am aware the line equation is $$b=\frac{y}{x}=\frac{\sum xy-\frac{\sum x\sum y}{n}}{\sum x^2-\frac{(\sum x)^2}{n}}$$ Not sure what to do next.
I suppose the that the linear model you are working with is: ##\ \displaystyle y=a+bx\ ##.

You have the correct expression for finding the linear coefficient, ##\ b\,.\ ##( Leave out the ##\ \displaystyle \frac yx\ ## ).

It seems to me that you must also consider the expression for ##\ a\,.\ ## Then show that if ##\ a=0\,,\ ## then you obtain the desired result:
##\displaystyle \bar y \sum^n_{r=1} x_r^2=\bar x\sum^n_{r=1} x_r y_r ##​
.
 
Last edited: