Giter Club home page Giter Club logo

clmmjuliapythonmatlab's Introduction

CLMMJuliaPythonMatlab

This repository contains the source code and notebooks to accompany the paper titled "Codes to accompany the paper "Matlab, Python, Julia: What to Choose in Economics?" by Chase Coleman, Spencer Lyon, Lilia Maliar, and Serguei Maliar

There are two main folders: Growth and NewKeynesian. Inside each of the folders you will find instructions for running the codes associated with that folder.

clmmjuliapythonmatlab's People

Contributors

sglyon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

clmmjuliapythonmatlab's Issues

Automate solver

Hi Spencer and thanks for the awesome package!

When I took macro w/ Jesus FV we learned there are 3 broad approaches to solving econ models:

Method Examples Toolkits
Fixed Point Iteration VFI, PFI, EE iteration VFI toolkit, CLMM
Perturbation Linearization, LQ ... Dynare, SolveDSGE.jl, DSGE.jl
Projection Chebyshev, Smolyak, PEA, FEM SolveDSGE.jl, TaylorProjection.m

1 SolveDSGE.jl is the only package that allows both Perturbation and Projection (& their hybrids)
2 VFI toolkit originally planned a Julia version. It doesn't look like its coming soon.
3 Your package (CLMM) seems to be the best Julia option for FPI (allowing 7 methods!!!)

Is there any way CLMM can be automated into a toolkit?
I mean where the user creates:
ncgm: a set of parameters "ncgm"
u: a return function (flow utility)
g: a transition function for the state vector
And then something like:

solve_fpi(VFI(), ncgm, u, g, guess; maxiter=1000, verbose=false)
solve_fpi(VFI_EGM(), ncgm, u, g, guess; maxiter=1000, verbose=false)
solve_fpi(VFI_ECM(), ncgm, u, g, guess; maxiter=1000, verbose=false)
solve_fpi(dVFI_ECM(), ncgm, u, g, guess; maxiter=1000, verbose=false)

solve_fpi(PFI(), ncgm, u, g, guess; maxiter=1000, verbose=false)
solve_fpi(PFI_ECM(), ncgm, u, g, guess; maxiter=1000, verbose=false)
solve_fpi(EulEq(), ncgm, u, g, guess; maxiter=1000, verbose=false)

Science would be a lot better off if this were possible...
Thanks again for your awesome package

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.