IDEAS home Printed from https://ideas.repec.org/c/dge/qmrbcd/66.html
 

RATS code for Business Cycles Statistics and their Standard Errors

Author

Listed:
  • Wouter Denhaan

    (London Business School)

  • Andrew T. Levin

Programming Language

RATS

Abstract

In this RATS program we calculate the standard set of business cycle statistics including ratios of standard deviations, autocorrelations and crosscorrelations. The user can choose from a variety of detrending methods such as (1) the Hodrick-Prescott filter, (2) the Baxter-King filter, and (3) the first difference filter. To calculate standard errors, the reader can choose between the VARHAC procedure proposed in Den Haan and Levin (1994), and the optimal bandwidth procedure from Newey and West (1994). "cycles.rat" is an example program. The program is very user friendly. The program has a "parameter" section and a "data" section. For most purposes, these are the only sections that the reader would ever want to change. "cycles.dat" is the data file that is being used in this example program.

Suggested Citation

  • Wouter Denhaan & Andrew T. Levin, 1995. "RATS code for Business Cycles Statistics and their Standard Errors," QM&RBC Codes 66, Quantitative Macroeconomics & Real Business Cycles.
  • Handle: RePEc:dge:qmrbcd:66
    as

    Download full text from publisher

    File URL: https://dge.repec.org/codes/denhaan/cycles/
    File Function: program code
    Download Restriction: none
    ---><---

    More about this item

    Keywords

    RATS;

    Statistics

    Access and download statistics

    Corrections

    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:66. See general information about how to correct material in RePEc.

    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.

    We have no bibliographic references for this item. You can help adding them by using 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.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christian Zimmermann (email available below). General contact details of provider: http://dge.repec.org/ .

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

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.