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.
Download Info
To download:
If you experience problems downloading a file, check if you have the
proper application to
view it first. Information about this may be contained
in the File-Format links below. In case of further problems read
the IDEAS help
file. Note that these files are not on the IDEAS
site. Please be patient as the files may be large.
Publisher Info
Software component provided by Quantitative Macroeconomics & Real Business Cycles in its series QM&RBC Codes with number
66.