- #1

- 54

- 0

## Homework Statement

Does the "through-origin" least squares line

yhat = b*X

pass through the point (ybar, xbar)?

The "through-origin" model is the least squares model without the intercept.

## Homework Equations

b = sum[YX]/sum[X^2]

yhat = b*X

## The Attempt at a Solution

when I calculate a sample linear model yhat = b*X, ybar =/= b*xbar. The aforementioned result was obtained for two different data sets.

Online it says that for:

y = a + bX

(xbar, ybar) does lie on the line. However, for the model in question:

y = bX

(xbar, ybar) does not lie on the line.

I have the answer but I don't understand why it is so?

Last edited: