Structural modeling of economic choices of heterogeneous agents

REMARK: Consumption and Portfolio Choice Over the Life Cycle

No content available.



  • Velásquez-Giraldo
  • Zahn


This REMARK is an attempt to reproduce the main results of Cocco, Gomes, & Maenhout (2005), 'Consumption and Portfolio Choice Over the Life Cycle' (


Live Interactive Notebook

This material includes a Jupyter Notebook version. You can directly launch and interact with the Notebook within your browser using MyBinder.

Launch Notebook

Material Source Code

Econ-ARK materials are open source and available to view and clone from GitHub.

View on GitHub

View Paper

An electronic version of the research paper associated with this material is avaiable to view and download.

View Paper

How to Execute this Notebook

Install econ-ark on your computer (Quick Start Guide then follow these instructions:

  1. At a command line, change the working directory to the one where you want to install
    • On MacOS/unix, if you install in the /tmp directory, the installation will disappear after a reboot:
    • cd /tmp
  2. git clone --recursive
  3. cd CGMPortfolio
  4. jupyter notebook Code/Python/CGMPortfolio.ipynb