Saturday

Portfolio Management Part 1

 

                                                    generated by meta ai

Portfolio management is a vital part of the whole financial management. Today, we will discuss a few primary concepts and their algorithms behind them. 

Five topics we are going to explain below, build on each other beautifully, moving from the foundations of modern risk measurement to cutting-edge portfolio construction and, finally, to the psychological and mathematical edges of investing. Let's unpack each one systematically.

Consider this a MasterClass lecture series, with the math explained conceptually first, then formalized.

---


1. Value at Risk (VaR) & Portfolio Theory

Value at Risk is the answer to a simple, critical question: "How much can my portfolio lose in a given period, with a given probability?"


It’s a single, intuitive number that summarizes the total risk of a complex, multi-asset portfolio. This was its revolution—replacing a dozen different Greek letters and risk measures with one dollar amount a CEO could understand.


The Core Concept:

VaR is defined by a confidence level (e.g., 95% or 99%) and a time horizon (e.g., 1 day, 10 days).

- A 1-day 95% VaR of $1 million means: "We are 95% confident that we will not lose more than $1 million tomorrow." Crucially, this also means there is a 5% chance we *will* lose more than $1 million. VaR says nothing about how much more.


Integrating VaR with Classic Portfolio Theory:

Classic Markowitz portfolio theory uses variance (or standard deviation) as its risk measure. VaR translates that statistical measure into a dollar loss, bridging the gap between quantitative models and decision-makers.


For a portfolio, you don't just add up individual asset VaRs. You must account for diversification. The formula for a portfolio with two assets (A and B) under the standard assumption of normally distributed returns is:


$$\text{VaR}_{\text{portfolio}} = \sqrt{ \text{VaR}_A^2 + \text{VaR}_B^2 + 2 \rho_{A,B} \text{VaR}_A \text{VaR}_B }$$


Where $\rho_{A,B}$ is the correlation coefficient. Notice this is just the standard portfolio variance formula, applied to VaR instead of standard deviation. If correlation is low, portfolio VaR is much lower than the sum of individual VaRs. This demonstrates the power of diversification in loss terms.


The Three Methods of Calculation:

1.  Parametric (Variance-Covariance): Assumes returns are normally distributed. Simple and fast. VaR = $V_p \times ( \mu_p - z_{\alpha}\sigma_p )$, where $V_p$ is portfolio value, $\mu_p$ is expected return, $\sigma_p$ is portfolio standard deviation, and $z_{\alpha}$ is the z-score for the confidence level (e.g., -1.645 for 95%).

2.  Historical Simulation: Takes the actual historical price changes of the current portfolio and plots them in a histogram. The 5th-percentile worst outcome is your 95% VaR. No distribution assumption, but assumes history will repeat.

3.  Monte Carlo Simulation: Generates thousands of random scenarios for market variables based on a defined model (which can handle fat tails and complex instruments). The most powerful and flexible method.


The Critical Drawback: Tail Risk Blindness

VaR only speaks to the threshold of the loss distribution. It is not coherent. A coherent risk measure satisfies axioms like sub-additivity (diversification should always reduce risk). VaR can, for unusual distributions, violate this. Its fatal flaw is ignoring what happens beyond the threshold. This led directly to the development of Expected Shortfall (ES/CVaR), which asks: "What is my average loss, given that I exceed my VaR threshold?"

---


2. Elements of Advanced Classic Portfolio Theory

Markowitz’s mean-variance optimization is elegant but deeply flawed in practice. Advanced classic theory is about fixing these flaws to make the model usable.


Flaw 1: Estimation Error and Instability. The optimization is GIGO (Garbage In, Garbage Out). It requires expected returns, volatilities, and a massive correlation matrix. Our estimates of expected returns are especially poor. The optimizer, a "maximization machine," will heavily concentrate on assets with deceptively small errors in their high-return estimates, creating bizarre, unintuitive portfolios.


Solution: Shrinkage Estimators (The Jorion/Bayes-Stein Approach).

Instead of using raw historical average returns as the best guess, you "shrink" them toward a more stable, common target. A common target is the return of the minimum-variance portfolio. The shrunk return estimate for an asset becomes:

$$\text{Adjusted } E[R_i] = w \times \text{Global Mean} + (1-w) \times \text{Historical } E[R_i]$$

The shrinkage weight $w$ is calculated based on the statistical precision of the asset's data—volatile assets get shrunk more. This drastically improves out-of-sample performance.


Solution: The Black-Litterman Model (Connecting to your point 3). This is the ultimate solution, which we'll detail next.


Flaw 2: Unrealistic Assumptions. Normal distributions are insufficient.

Solution: Non-Normal Distributions & Higher Moments.

Advanced theory incorporates:

- Skewness: Preference for assets with positive skew (lottery-like, small chance of big win). An optimization would maximize utility $U = E[R] - \frac{\gamma}{2}\sigma^2 + \lambda \text{Skew}$, where $\lambda$ is the investor's skewness preference.

- Kurtosis/Fat Tails: Modeling returns with a Student's t-distribution or introducing "jump diffusion" models that add sudden price shocks on top of normal background noise.


Flaw 3: Static, Single-Period Nature.

Solution: Multi-Period Portfolio Choice.

For long-term investors, risk isn't constant. If your investment horizon is long, mean-reversion in stock prices matters. A fall in prices today implies higher expected returns tomorrow. This creates an optimal hedging demand for assets like long-term bonds, making them more attractive to a long-horizon investor than a single-period model would suggest. The Samuelson-Merton dynamic programming framework tackles this.

---


3. The Black-Litterman Model & Probabilistic Scenario Optimization


This is the crown jewel of overcoming estimation error. It directly addresses the fundamental problem: "I, the investor, have views on a few things, but classic theory requires me to have a view on everything."


The Core Idea: A Bayesian Two-Way Mixing of Information.


- The Prior (The Starting Point): You do not start with historical returns. You start with the set of implied returns that make the current market-capitalization weights the optimal portfolio. This is the neutral equilibrium—the idea that if everyone is rational, the market portfolio is the most efficient. These implied equilibrium returns are stable and intuitive.

  $$\Pi = \gamma \Sigma w_{mkt}$$

  where $\Pi$ is the vector of implied returns, $\gamma$ is the global risk aversion coefficient, $\Sigma$ is the covariance matrix, and $w_{mkt}$ are the market cap weights.


- The View Model (Your Opinions): You express specific, uncertain views. You don't say, "Tech will return 12%." You say, "My view is that a portfolio of 100% long Tech, 0% everything else, will outperform a portfolio with 0% Tech by 4%, and I'm only 60% confident in this view." The uncertainty in your view is essential. The input is $(P, Q, \Omega)$:

    - $P$: The "pick matrix" that defines the portfolio for your view.

    - $Q$: The expected excess return of that portfolio.

    - $\Omega$: A diagonal matrix of the variance of your forecast errors (encoding your low confidence).


- The Blending (The Bayesian Math): The model treats both the equilibrium returns and your views as noisy signals of the "true" unknown expected returns. It takes a weighted average, creating the Black-Litterman master formula for posterior expected returns:

  $$E[R] = [(\tau\Sigma)^{-1} + P^T \Omega^{-1} P]^{-1} [(\tau\Sigma)^{-1}\Pi + P^T \Omega^{-1} Q]$$

  Breaking this down:

  - $[ \cdot ]^{-1}$ is the posterior uncertainty.

  - Inside the second bracket, $(\tau\Sigma)^{-1}\Pi$ is the weighted equilibrium signal, and $P^T \Omega^{-1} Q$ is the weighted view signal.

  - The result is a stable, blended return vector that you then feed into a standard mean-variance optimizer.


Probabilistic Scenario Optimization (A Generalization):

Black-Litterman is a specific case of this. The general framework is:

1.  Define a set of discrete scenarios (e.g., "Recession," "Stagflation," "Boom").

2.  Assign a probability to each scenario.

3.  Define the expected return and covariance of all assets *conditional* on that scenario.

4.  Optimize to maximize the expected utility across all scenarios: $U = \sum_s p_s \cdot U(E[R_s], \Sigma_s, \gamma)$. This directly handles non-normal, real-world distribution shapes (like two distinct humps for "war" and "peace") that a single correlation matrix cannot capture.

---


4. Behavioral Finance & Applications of Portfolio Theory


Behavioral finance is the lens that shows us why elegant theories fail. They fail not because the math is wrong, but because humans are not the rational, utility-maximizing agents the models assume.


The Core Behavioral Concepts:

- Loss Aversion (Prospect Theory): A $100 loss hurts about twice as much as a $100 gain feels good. An investor's value function is S-shaped, concave for gains and convex for losses. This explains the extreme aversion to small losses.

- Mental Accounting: We don't treat all money as fungible. We have a "safety of principal" mental account that invests in CDs, and a "get rich" mental account that buys speculative stocks. This violates portfolio theory's focus on the total portfolio's correlation.

- Narrow Framing (Myopic Loss Aversion): An investor who checks their portfolio daily experiences a painful loss 46% of the time, even with a positive annual expected return. This constant pain causes them to under-invest in risky assets. The behavioral solution? Don't peek at your account! The longer the evaluation period, the less likely a loss is and the more attractive stocks become.


Applications: Behavioral Portfolio Theory (BPT)

This is the direct behavioral rebuke to Markowitz. Instead of one optimal portfolio based on mean and variance, BPT proposes building layered pyramids to match mental accounts:

- Layer 1 (Base): Designed to eliminate the pain of loss. Zero-risk, low-return assets (T-bills, CDs). Goal: Avoid poverty/alleviate fear.

- Layer 2 (Middle): Takes on moderate risk. Medium-return assets (bonds, blue-chips). Goal: Maintain lifestyle.

- Layer 3 (Top/Aspirational): Extreme upside, high risk. "Lottery-like" assets (options, speculative stocks, crypto). Goal: Get rich.


Each layer is optimized for its own specific goal, with its own risk-free rate and risk tolerance. The overall portfolio is the sum of these layers and may be *intentionally* under-diversified in the aspirational layer to maximize positive skewness (chance of a home run).

---


5. Kelly Criterion & Risk Parity: Optimizing Growth and Risk


These two approaches represent a deep philosophical shift away from mean-variance optimization's focus on a single-period risk-return trade-off.


The Kelly Criterion: Maximizing Long-Run Geometric Growth

Kelly's goal is not to maximize some arbitrary utility function. It's to answer: "What fraction of my capital, $f$, should I bet on a repeated favorable gamble to maximize the expected compound annual growth rate of my wealth over an infinite horizon?"


- The Formula (for a simple binary bet): $f^* = p - \frac{q}{b}$

  - $p$ = probability of winning.

  - $q = 1-p$ = probability of losing.

  - $b$ = the net fractional odds received on the win (win $b$ dollars for every $1 wagered).

- Interpretation: It's the edge-to-odds ratio. If you have a 60% chance of doubling your money ($b=1$), $f^* = 0.6 - 0.4/1 = 0.2$. You bet 20% of your wealth each time.

- Key Properties (The Math is Unforgiving):

  - It maximizes the geometric mean return, $G(f) = (1+fb)^p (1-f)^q$, which asymptotically dominates all other strategies.

  - Betting more than $f^*$ (exceeding "full Kelly") reduces growth and dramatically increases the probability of ruin. Betting double Kelly guarantees eventual ruin.

  - In a portfolio context with continuous outcomes: The optimal Kelly vector of weights is $w^* = \Sigma^{-1} \mu$, which is identical to the portfolio that maximizes the continuously compounded (geometric) return. This is mathematically equivalent to a mean-variance portfolio with a *specific* risk-aversion coefficient that results in a log-utility function ($U = \ln(\text{Wealth})$).

- Practicality: Full Kelly is famously volatile. Almost all practitioners use "Fractional Kelly" (e.g., half-Kelly) to dramatically smooth the ride at the cost of some long-term growth.


Risk Parity: A Revolution in Capital Allocation

Risk parity dethrones capital allocation ($ budget) and replaces it with **risk allocation** ($\sigma$ budget).


- The Core Insight: A classic 60/40 stock/bond portfolio allocates 60% of your *dollars* to stocks, but because stocks are ~3x more volatile than bonds, it allocates over 90% of the portfolio's *risk* to stocks. That one factor, equity risk, drives almost all returns. This is not diversified.


- The Goal: Allocate capital so that each asset class (or factor) contributes an equal amount of risk to the total portfolio.


- The Mathematics:

  The marginal contribution to risk of an asset $i$ is its beta with the portfolio times its weight: $MCR_i = \beta_{i,p} \times w_i$. The total risk contribution is $TRC_i = w_i \times MCR_i$.

  The sum of all $TRC_i$ equals the total portfolio risk $\sigma_p$.

  Risk Parity finds the weights such that $TRC_i = TRC_j$ for all assets $i, j$. It is the portfolio where $w_i \propto 1 / \sigma_i$ if all correlations are the same. More generally, it requires an optimization to solve for the weights that equalize TRCs.


- The "Leverage" Problem & Solution: A pure risk parity portfolio has very low expected return because it's overloaded on low-risk bonds. To make it a competitive strategy, you apply leverage to the entire portfolio to scale its return and volatility up to a target level (e.g., 10% vol). You are then getting a much higher return per unit of risk (Sharpe ratio) from the well-diversified risk-parity core than from an equity-heavy portfolio, and you finance the leverage cheaply.


- Bridgewater's All-Weather: The practical incarnation. It targets parity of risk across four fundamental economic environments (rising/falling growth and inflation), not just asset classes.


This framework is now a cornerstone of modern institutional portfolio management, representing the evolved, practical end of the journey you've laid out from VaR to Kelly.

House Based Manufacturing Micro Clustering

                                 image generated by meta ai House-based manufacturing micro-clustering in China refers to the hyper-local, v...