On this page
Define explanatory and response returns
Let X be the chosen benchmark and Y the asset return in matched periods. Use one compatible return basis. The least-squares line includes an intercept and minimises the sum of squared Y-direction residuals.
Use the centered sums
Sxx must be positive; this is not a symmetric fit in X and Y.
Check the original record
Centered cross-product is 21 and benchmark squared sum 10 in percentage-point units, giving slope 2.1. Computing both covariance and benchmark variance with the same divisor gives the same ratio.
Retain the estimated-coefficient distinction
This is a sample fitting formula, not proof of a population coefficient, a causal exposure or future performance. Inference needs its own assumptions and calculation.