Giter VIP home page Giter VIP logo

portfoliochoiceblogpost's Introduction

Reproduce the results and figures

You can reproduce all of the results of this REMARK on any computer that can run docker.

To install docker locally follow the guide, and launch it so that it is running in the background on your computer.

(Instructions below will work in the terminal on a Mac or Linux machine; Windows users will need to install bash)

  • Then clone the REMARK repository locally
$ git clone https://github.com/econ-ark/PortfolioChoiceBlogPost
  • To make sure figures are reproduced on the correct path, make sure you are in the PortfolioChoiceBlogPost directory
$ cd PortfolioChoiceBlogPost

As a sanity check, you can confirm the present working directory using

$ pwd

and it should give you something like

/path_to_clone/PortfolioChoiceBlogPost
  • Run the following bash script in the directory to reproduce all the figures against different parameters.
$ ./do_all_code.sh
  • This will reproduce the figures in the figures directory.

  • If you make any changes to the jupyter notebook you need to rerender the HTML document.

jupyter nbconvert --to html PortfolioChoiceBlogPost.ipynb

Other Experiments (Removed to Shorten Blog Post)

Rising Risk Aversion with Age

Risk aversion is remarkably difficult to measure, and economists' efforts to determine whether it increases with age have been inconclusive. Some studies have found evidence for an increase (at least during working life) and others have found little increase.

For technical reasons, it is difficult for the model to incorporate risk aversion that increases with age. But your willingness to invest in risky assets depends on both your degree of aversion to risk and your perception of the size of the risk. So a backdoor way to examine the consequences of rising risk aversion with age is to assume that the perceived riskiness of stock investments goes up with age. In figures available in the links below, we show that if the perceived riskiness of stock market investment doubles between age 65 and age 100, the model's recommendation looks more like the advice of financial advisors.

This figure suggests that the "100 minus age" rule is not too bad as an approximation of what an extremely risk averse person might want to do -- if they also become more and more fearful of risk after retirement.

What If Perceived Risk Increases With Age?

Greater Income Risk When Young

After the CGM paper was published, better estimates became available about the degree and types of income uncertainty that consumers face at different ages. The most important finding was that the degree of uncertainty in earnings is quite large for people in their 20s but falls sharply then flattens out at older ages.

It seems plausible that this greater uncertainty in labor earnings could account for the fact that in empirical data young people have a low share of their portfolio invested in risky assets; economic theory says that an increase in labor income risk should reduce your willingness to expose yourself to financial risk.

But the figure below shows that even when we update the model to incorporate the improved estimates of labor income uncertainty, the model still says that young people should have 100 percent of their savings in the risky asset.

Using Better Data on Income Risk By Age

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.