Above: what it imports. Below: what imports it.
mf-hansen-jagannathan-bound · portfolio_and_performance.json · full statement
Hansen–Jagannathan Bound on the Sharpe Ratio
On a probability space let the stochastic discount factor m and the gross return R be square-integrable with E[m] > 0 and Var R > 0, let m price R (E[m R] = 1) and the riskless return r_f (r_f E[m] = 1). Then |sharpeRatio(E R, r_f, σ(R))| = |E[R] − r_f| / σ(R) ≤ σ(m) / E[m]. The proof is Cauchy–Schwarz for Cov(m, R − r_f) = −E[m] E[R − r_f]. The existence of the discount factor, and the minimum-variance discount factor attaining the bound, are not part of this entry.
mf-capm-from-affine-discount-factor · portfolio_and_performance.json · full statement
CAPM from a Discount Factor Affine in the Market Return
On a probability space let m = a − b·R_m pointwise, with R_m and R_i square-integrable and Var R_m ≠ 0. If m prices R_i (E[m R_i] = 1), the market return (E[m R_m] = 1) and the riskless return (r_f E[m] = 1), then E[R_i] = securityMarketLine r_f β_i E[R_m], i.e. E[R_i] = r_f + β_i (E[R_m] − r_f), with β_i = Cov(R_i, R_m) / Var R_m (the library's beta). Intermediate: E[R_i] − r_f = r_f·b·Cov(R_i, R_m). The existence of such a discount factor (from preferences or equilibrium) is not proved here.
mf-capm-equilibrium-from-discount-factor · portfolio_and_performance.json · full statement
CAPM Equilibrium from Discount-Factor Pricing of a Market Portfolio
For finitely many square-integrable returns R_k (k ∈ s), a market portfolio R_m = Σ w_k R_k, and a discount factor m = a − b·R_m that prices every R_k (E[m R_k] = 1) and the riskless return (r_f E[m] = 1), with w'Σw ≠ 0 for the covariance matrix Σ of the returns: E[R_i] − r_f = β_i · Σ_k w_k (E[R_k] − r_f), β_i = (Σw)_i / (w'Σw). This is CAPM_from_market_equilibrium with its tangent-portfolio cross-product hypothesis derived from the discount factor (the excess returns are r_f·b times the marginal variances) rather than assumed.