-
-
Notifications
You must be signed in to change notification settings - Fork 204
Description
Summary
HARK's PortfolioConsumerType supports portfolio choice between one risky asset and one riskless asset. Real-world portfolio decisions involve multiple asset classes (equities, bonds, international stocks, real estate, commodities, alternatives) whose correlations shift over time: stock-bond correlation was positive before 2000 and negative after. Extending HARK to
Connection to Financial Services Practice
The LSEG partner plugin contains skills for multiple asset classes simultaneously: fixed-income-portfolio (partner-built/lseg/skills/fixed-income-portfolio/SKILL.md) analyzes bond portfolios with duration, convexity, and scenario analysis; fx-carry-trade (partner-built/lseg/skills/fx-carry-trade/SKILL.md) models foreign exchange carry strategies; option-vol-analysis (partner-built/lseg/skills/option-vol-analysis/SKILL.md) handles equity and FX volatility surfaces. The wealth-management portfolio-rebalance skill (wealth-management/skills/portfolio-rebalance/SKILL.md) manages drift across 9 asset classes (US Large Cap, US Small/Mid, International Developed, Emerging Markets, IG Bonds, High Yield, TIPS, Alternatives, Cash). A multi-asset HARK model would derive the optimal life-cycle allocation that these practitioner tools approximate through rebalancing bands and strategic targets.
Mathematical Model
Environment
Time is discrete,
State Variables
The individual state is
Asset Returns
The
where the expected excess return vector is
A standard specification uses the multivariate lognormal:
with correlation structure specified through the covariance matrix
Preferences
with relative risk aversion
The age-dependent survival probability
Choice Variables
Each period the agent chooses consumption
Wealth Evolution
where the portfolio gross return is
and
Recursive Formulation
subject to:
-
Budget constraint:
$w' = (w - c) R^p_{t+1} + Y_{t+1}(z')$ -
No-shorting constraints:
$\alpha_{i,t} \geq 0$ for all$i = 1, \ldots, N$ -
No-leverage constraint:
$\sum_{i=1}^{N} \alpha_{i,t} \leq 1$ -
Borrowing constraint:
$w - c \geq 0$ (or some minimum savings level)
First-Order Conditions
For an interior solution, the Euler equations for each risky asset
combined with the standard consumption Euler equation:
When shorting constraints bind (
Analytical Benchmark: Merton-Samuelson
In the special case of no labor income (
This continuous-time result uses instantaneous expected excess returns
This mean-variance efficient portfolio, scaled by inverse risk aversion, provides a useful benchmark. With labor income (a bond-like asset), the agent tilts toward equities when young (human capital substitutes for bonds, provided labor income is uncorrelated with equity returns) and toward bonds when old, the central result of Cocco, Gomes, and Maenhout (2005). When income covaries positively with stock returns, the hedging motive pushes the young agent away from equities.
Practical Case: $N = 3$ (Stocks, Bonds, Housing/REITs)
For the most policy-relevant case, we consider three risky assets:
| Asset | Symbol | Calibration target |
|---|---|---|
| Domestic equity | S&P 500 total return | |
| Long-term bonds | 10-year Treasury total return | |
| Real estate / REITs | NCREIF or FTSE NAREIT |
Stocks and bonds have time-varying correlation (positive pre-2000, negative post-2000), and real estate is moderately correlated with both. Over the life cycle, the optimal allocation shifts from equity-heavy (young, when labor income acts as a bond) to bond-heavy (retired, drawing down) with a moderate real estate allocation throughout.
Extension: Time-Varying Risk Premia
If the expected return vector
the state space expands to
Extension: Transaction Costs
With proportional transaction costs
Key References
- Cocco, J. F., Gomes, F. J., and Maenhout, P. J. (2005). "Consumption and Portfolio Choice over the Life Cycle." Review of Financial Studies, 18(2), pp. 491-533.
- Gomes, F. and Michaelides, A. (2005). "Optimal Life-Cycle Asset Allocation: Understanding the Empirical Evidence." Journal of Finance, 60(2), pp. 869-904.
- Campbell, J. Y. and Viceira, L. M. (2002). Strategic Asset Allocation: Portfolio Choice for Long-Term Investors. Oxford University Press.
- Campbell, J. Y., Chan, Y. L., and Viceira, L. M. (2003). "A Multivariate Model of Strategic Asset Allocation." Journal of Financial Economics, 67(1), pp. 41-80.
- Merton, R. C. (1971). "Optimum Consumption and Portfolio Rules in a Continuous-Time Model." Journal of Economic Theory, 3(4), pp. 373-413.
- Merton, R. C. (1973). 'An Intertemporal Capital Asset Pricing Model.' Econometrica, 41(5), pp. 867-887.
Implementation Notes
- At each grid point, the
$N$ -dimensional portfolio optimization is the main computational challenge. For$N = 2$ , a 2D grid search or root-finding on two Euler equations is tractable. For$N \geq 3$ , the nested optimization becomes expensive, requiring an optimizer (e.g., scipy's constrained minimizer) within backward induction. - Alternatively, the endogenous grid method for non-concave problems (Fella 2014; Iskhakov, Jørgensen, Rust, and Schjerning 2017) can smooth the portfolio choice.
-
PortfolioConsumerType($N = 1$ ) solves the portfolio FOC on a 1D grid. Extending to$N = 2$ requires solving a 2D FOC system at each wealth grid point, feasible with Newton's method. - For
$N = 3$ with transaction costs, the state$(w, \alpha_1^-, \alpha_2^-, z, t)$ is 5-dimensional, requiring sparse grid or machine learning approximation. - HARK's
DiscreteDistributionandcombine_indep_dstnsmachinery already supports multivariate discrete approximations to the return distribution. - Start with the frictionless
$N = 2$ case (stocks + bonds), then extend to$N = 3$ and add transaction costs. - Within-account portfolio choice in the tax-differentiated accounts model (Issue Tax-Differentiated Account Model (401k/IRA/Roth/Taxable) #1731) is a special case of this framework with account-type constraints on asset placement.