Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.1%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: econ-ark
  • Language: TeX
  • Default Branch: master
  • Size: 16.6 MB
Statistics
  • Stars: 6
  • Watchers: 4
  • Forks: 4
  • Open Issues: 4
  • Releases: 0
Created over 5 years ago · Last pushed 11 months ago
Metadata Files
Readme Citation

README.md

Cocco, Gomes, & Maenhout (2005), "Consumption and Portfolio Choice Over the Life Cycle"

A replication by Mateo Velásquez-Giraldo and Matthew Zahn.

Quick launch: the following link launches a Jupyter notebook with the main results. Binder

Description

This repository corresponds to the Final assignment of the course Advanced Macroeconomics I at Johns Hopkins University, by Professor Christopher D. Carroll.

Location of main files:

  1. A notebook attempting to replicate the paper's main results using HARK can be found at Code/Python/CGMPortfolio.ipynb.

  2. A document going into more detail on our attempt to replicate can be found at CGMPortfolio.pdf.

  3. The code that generates all the figures and results in the previous document can be found at Code/Python. Files can be run independently, or all at once through the script ./doALL.py. Additional files ./doMIN.py and ./do_MID.py are made available to execute subsets of the results.

  4. ./do_MIN.py: solves the baseline model plotting its policy functions, and presents mean simulated life-cycle behavior of variables of interest. Runtime: ~400 seconds.

  5. ./do_MID.py: additionally compares the policy functions obtained with HARK with those that we obtain from executing the authors' FORTRAN 90 code. Runtime: ~600 seconds.

  6. ./do_ALL.py: additionally computes all the results from the apendices, in which we alter the baseline model in HARK to cases in which analytical solutions are available. Runtime: ~1300 seconds.

Note: runtimes are estimated using an Intel Core i7-6700HQ CPU @ 2.60GHz.

  1. The original Fortran 90 code made available by the authors can be found in Code/Fortran.

Package requirements

The following packages are required for executing the REMARK notebook: - matplotlib - numpy - scipy - pandas - econ-ark >= 0.10.3

For executing do_ALL.py additional requirements are: - seaborn

Owner

  • Name: Econ-ARK Team
  • Login: econ-ark
  • Kind: organization

Citation (CITATION.cff)

cff-version: 1.2.0
message: "For a consumption/saving problem with transitory and permanent shocks and unbounded (CRRA) utility, this paper derives conditions under which a nondegenerate solution exists, and under which a target wealth ratio exists; all results are paired with illustrative numerical solutions."
authors:
  - family-names: "Velásquez-Giraldo"
    given-names: "Mateo"
    orcid: https://orcid.org/0000-0001-7243-6776
  - family-names: "Zahn"
    given-names: "Matthew"
    orcid: https://orcid.org/0000-0003-1148-2036
title: "REMARK: Consumption and Portfolio Choice Over the Life Cycle"
abstract: "This REMARK is an attempt to reproduce the main results of Cocco, Gomes, & Maenhout (2005), 'Consumption and Portfolio Choice Over the Life Cycle' (https://academic.oup.com/rfs/article-abstract/18/2/491/1599892)" # abstract: optional
date-released: 2020-08-13

references:
  - type: article
    authors:
      - family-names: "Cocco"
        given-names: "Joao F."
      - family-names: "Gomes"
        given-names: "Francisco J."
      - family-names: "Maenhout"
        given-names: "Pascal J."
    title: "Consumption and Portfolio Choice over the Life Cycle"
    doi: "10.1093/rfs/hhi017" # optional
    date-released: 2005-02-10
    publisher:
        name: "The Review of Financial Studies"

repository-code: https://github.com/econ-ark/CGMPortfolio
identifiers:
  - type: url
    value: "https://github.com/econ-ark/CGMPortfolio"

keywords:
  - Portfolio
  - Risky Assets
  - Consumption
  - Life Cycle

GitHub Events

Total
  • Member event: 1
  • Push event: 3
  • Pull request review event: 2
  • Pull request event: 4
  • Create event: 1
Last Year
  • Member event: 1
  • Push event: 3
  • Pull request review event: 2
  • Pull request event: 4
  • Create event: 1

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 13
  • Total Committers: 6
  • Avg Commits per committer: 2.167
  • Development Distribution Score (DDS): 0.769
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
akshay_shanker a****r@i****m 3
Cameron Riddell c****n@d****o 3
Mateo VG m****i@g****m 2
Sebastian Benthall s****l@g****m 2
Alan Lujan a****1@g****m 2
Mridul Seth s****l@g****m 1
Committer Domains (Top 20 + Academic)
dutc.io: 1

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 5
  • Total pull requests: 8
  • Average time to close issues: about 1 month
  • Average time to close pull requests: about 1 month
  • Total issue authors: 3
  • Total pull request authors: 5
  • Average comments per issue: 1.2
  • Average comments per pull request: 0.13
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 6 days
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 4.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sbenthall (3)
  • llorracc (1)
  • kingarthur72 (1)
Pull Request Authors
  • camriddell (4)
  • akshayshanker (4)
  • Mv77 (2)
  • sbenthall (1)
  • alanlujan91 (1)
Top Labels
Issue Labels
Pull Request Labels
documentation (2)

Dependencies

binder/requirements.txt pypi
  • econ-ark ==0.10.7
  • matplotlib ==3.3.2
  • numpy ==1.19.4
  • pandas ==1.1.4
  • scipy ==1.5.4