Code Monkey home page Code Monkey logo

Comments (3)

matthieugomez avatar matthieugomez commented on May 27, 2024

Thanks! I have corrected it.

from econpdes.jl.

vr235 avatar vr235 commented on May 27, 2024

Great! I am going through the code line by line since I intend to use it for my research.
I have one more concern, and here I might be wrong, is:
"Sbar = σ * sqrt(γ / (κs - b / γ))" even correct?
Formula in the text is "Sbar = σ * sqrt(γ / (1 - κs - b / γ))", however I admit that I might not understand the issue fully. It does not affect the results much (only lambda) since Sbar determines grid parameters which ultimately do not matter for as long as solution converges. However, it impacts surplus consumption over which P/D is spanned - at this is an important takeaway from the paper.
Finally, I have some issues with replicating r_m results using this code - if you ever have time please add your version of how to compute it so I can cross-reference.
When I am finished, I also intend to upload my version of the file - it has line-by-line comments, which should make it more instructive.
Thanks,
Vitaliy

from econpdes.jl.

vr235 avatar vr235 commented on May 27, 2024

Forget about Sbar = σ * sqrt(γ / (1 - κs - b / γ)) question. I see how variables are redefined now.
Still , I have two issues remaining:

  1. r_f using the code replicates Wachter (2005) but not CC (1999)
  2. Can't replicate r_m

from econpdes.jl.

Related Issues (20)

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.