Vasicek Beta

The Vasicek Beta shrinks the Ordinary Least Squares Beta towards the average Beta of the assets, by how uncertain the estimate is. Vasicek (1973) treated the Beta of an asset as a draw from the Betas of all assets (the prior) and combined it with the asset’s own estimate in a Bayesian way, so a noisy estimate moves further towards the average than a precise one, where the Blume Adjusted Beta moves every estimate by the same fraction.

The formula for the Vasicek Beta first takes the uncertainty of the Ordinary Least Squares Beta Beta_OLS, the squared standard error \(\text{SE}^{2}\) of the slope, from the residuals \(e_{t}\) of the regression of the asset returns \(R_{a}\) on the benchmark returns \(R_{m}\) over the n dates:

\[\text{SE}^{2} = \frac{\sum_{t=1}^{n} e_{t}^{2}}{(n - 2) \cdot \sum_{t=1}^{n} \left(R_{m,t} - \operatorname{mean}\left(R_{m}\right)\right)^{2}}\]

It then weighs Beta_OLS against the prior mean Beta_prior by the precisions, with \(\sigma_{\text{prior}}^{2}\) the variance of the prior:

\[\text{Beta}_{\text{Vasicek}} = \frac{\sigma_{\text{prior}}^{2} \cdot \text{Beta}_{\text{OLS}} + \text{SE}^{2} \cdot \text{Beta}_{\text{prior}}}{\sigma_{\text{prior}}^{2} + \text{SE}^{2}}\]

Where Beta_prior and \(\sigma_{\text{prior}}^{2}\) are the mean and the sample variance of the Ordinary Least Squares Betas of the assets over the same period. A Beta estimated from few or noisy returns ends up close to the average of the assets, one estimated precisely stays close to its own value.

Beta is the slope of an asset’s returns on those of the market: the part of its risk that comes from moving with the market as a whole. In the Capital Asset Pricing Model (CAPM) of Sharpe, Lintner and Mossin this is the only risk that earns a premium, because the rest disappears in a diversified portfolio, so Beta sets the return investors require and enters the cost of equity. The market is the benchmark, typically a broad index such as the S&P 500.

Beta is read against 1, the benchmark’s own Beta: above 1 the asset tends to amplify market moves, below 1 to dampen them, and a negative Beta means it tends to move against the market. A Beta close to zero can come from a low correlation with the market rather than from low volatility, so it is worth checking both before calling a stock defensive. Every estimate rests on a sample of returns and moves from one window to the next, which is why the estimators differ in how they deal with estimation noise, late reactions to the market and asymmetry between rising and falling markets.

See definition: Beta (finance) (Wikipedia)

Also known as: Bayesian Beta, shrinkage Beta.

In the Finance Toolkit this is get_beta with method="vasicek", the same function as Beta.

Example · NVDA, TSLA, JPM · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_beta:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["NVDA", "TSLA", "JPM"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.performance.get_beta(method="vasicek")

Which returns:

References

  • Paper Vasicek, O.A. (1973). “A Note on Using Cross-Sectional Information in Bayesian Estimation of Security Betas.” Journal of Finance, 28(5), 1233-1239.
Share