Regression Line (Alpha and Beta)
Finds: the best-fit line and a stock's beta and alpha.
When to use it: Use it to fit a straight line through paired data, for example to estimate a stock's beta against the market and its alpha, the return not explained by the market.
The formula
In words: y-hat = alpha + beta x, with beta = Cov(x,y) / Var(x) and alpha = mean y − beta x mean x
What each symbol means
| y-hat | The return predicted for Y | percent |
| alpha | Intercept, the return of Y when X is zero | percent |
| beta | Slope, how much Y moves for each 1 unit move in X | number |
| x | The explanatory variable, such as the market return | percent |
| Cov(x,y) | Covariance of X and Y | percent squared |
| Var(x) | Variance of X | percent squared |
Worked example
Over six periods the market returned 8%, −2%, 12%, 5%, −6% and 10%, and a stock returned 12%, −6%, 18%, 6%, −10% and 14%. What are the stock's beta and alpha?
| Beta | 1.594 | |
| Alpha | −1.51% |
The answer
The beta is 1.594 and the alpha is −1.51% per period.
Want every formula on a few pages?Get the free Cheat Sheet (PDF) →
Calculator
Beta1.594
Alpha−1.51%