IDEAS home Printed from

FORTRAN code for Heterogeinity, Aggregate Uncertainty and the Short-Term Interest Rate


  • Wouter Denhaan

    (London Business School)


In this paper we solve heterogenous agents models using the parameterized expectations algorithm (PEA) and the policy function iterations algorithm (PFI). The problem in solving these models is that the wealth distribution belongs to the set of state variables. We solve this problem by approximating the distribution with a limited set of moments or percentiles. We find that the number of types has a small effect on the average interest rate and consumption smoothing. The included programs are: PEA program with percentiles from section 3 (xxpe6.f), PEA program with moments from section 3 (xxpe7.f), PFI program from section 3 (xx5.f), Simulation PFI program from section 3 (xxsim5.f), PEA program from section 4 (a3agg.f).

Suggested Citation

  • Wouter Denhaan, 1996. "FORTRAN code for Heterogeinity, Aggregate Uncertainty and the Short-Term Interest Rate," QM&RBC Codes 60, Quantitative Macroeconomics & Real Business Cycles.
  • Handle: RePEc:dge:qmrbcd:60

    Download full text from publisher

    File URL:
    File Function: program code
    Download Restriction: none

    Other versions of this item:

    More about this item


    Access and download statistics


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:dge:qmrbcd:60. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christian Zimmermann). General contact details of provider: .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.