Could someone recommend a link or help me out here: where can I find the formula for the regression without an intercept, and how is it deriveed differently than the formula with the intercept? (matrix form)
Tell me more
×
Cross Validated is a question and answer site for
statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.
|
It's the same formula you use in regression with an intercept: $\hat{\beta}=\left(X^TX\right)^{-1}X^Ty$. Just make sure there isn't a column of ones for the intercept. It's the same derivation as the formula with an intercept. Here's a link to some notes that derive regression coefficients: Statistics 512: Applied Linear Models - Chapter 5: Linear Regression in Matrix Form [PDF]. |
|||||||||||||||||
|