Portfolio Risk Allocation

Finance, Risk & Regime Modeling 2014 Asset Allocation Prototype

Overview

This project explored portfolio construction and risk allocation methods using MATLAB, with a focus on how different optimization frameworks translate return, covariance and investor-view assumptions into portfolio weights.

The work compared classical mean-variance ideas with resampled efficient frontiers, Black-Litterman expected returns and equal-risk-contribution portfolio construction.

The project should be read as an asset-allocation research prototype, not as a live trading system.

Problem

Portfolio optimization is highly sensitive to expected returns, covariance estimates and constraints. Small changes in inputs can produce unstable or concentrated allocations.

The goal was to compare allocation methods that address this instability from different angles: resampling, equilibrium-implied returns, subjective views and risk-budgeting logic.

Methods

The project combined several allocation approaches:

Black-Litterman Framework

The Black-Litterman component started from market-capitalization weights and a covariance matrix to infer equilibrium expected returns through reverse optimization.

implied excess returns = risk_aversion * covariance * market_weights

Investor views were encoded through a view matrix and a vector of expected view returns. The posterior Black-Litterman returns were then used to derive new portfolio weights.

Equal Risk Contribution

The Equal Risk Contribution component searched for portfolio weights such that each asset contributed approximately the same amount of total portfolio risk.

minimize differences between asset risk contributions
subject to:
  weights sum to 1
  weights are non-negative

The implementation used constrained nonlinear optimization and verified the result through marginal and percentage risk contributions.

Resampling and Rolling Analysis

The resampling component simulated return paths from an estimated mean and covariance structure, computed multiple efficient frontiers and averaged the resulting portfolio weights.

The goal was to obtain smoother and less input-sensitive portfolio allocations than a single-sample efficient frontier.

Rolling experiments extended this logic to time-varying input estimates, allowing allocations to adapt as covariance and return estimates changed.

VaR-Based Risk Controls

The portfolio-allocation work was complemented by Value-at-Risk diagnostics and backtesting logic used to evaluate whether risk estimates were consistent with realized portfolio behavior.

These controls were used as a validation layer for allocation and strategy experiments, rather than as standalone trading signals.

Implemented Elements

Outputs

The project produced portfolio weights, efficient-frontier plots, resampled frontier comparisons, Black-Litterman expected-return adjustments and risk-contribution diagnostics.

The outputs were used to compare how different allocation methods distribute risk and expected return across assets.

Evaluation Limits

The project focused on allocation methodology rather than production-grade trading evaluation.

Modern Extension

A modern version of the project would turn the allocation logic into a reproducible research notebook and add a stronger backtesting layer.

Technologies and Methods Used

Resources

Code and raw market data are not public.

An anonymized technical note can be prepared upon request.