Page 1 of 1

Jacquier, Polson, Rossi (1994)

PostPosted: Mon Apr 12, 2010 10:49 am
by TomDoan
These programs do the analysis of a stochastic volatility model from "Bayesian Analysis of Stochastic Volatility Models." Eric Jacquier, Nicholas G. Polson and Peter E. Rossi; Journal of Business and Economic Statistics, 1994, 12(4), pp. 371-89 using two techniques. The first does the author's original suggestion of a Metropolis procedure for drawing the log h's, but uses a more refined method for doing the draws which is quite a bit more efficient. The second uses the rejection method as proposed in Kim, Shephard and Chib(1998), "Stochastic Volatility: Likelihood Inference and Comparison with ARCH Models", Review of Economic Studies, vol 65, pp 361-93, but with a similar refinement which improves their approximation. The second form requires the kscpostdraw.src procedure which is also posted here.

As written, this requires 7.3, although that's only for the DENSITY instructions at the end. With 7.0-7.2, just take out the SMOOTHING option on the DENSITY instructions at the end. By the way, this runs in half the time with 7.3 compared with 7.0 due to the optimizations that we have made.

Program file - Metropolis method
JPR_Metropolis.prg
(4.92 KiB) Downloaded 227 times


Program file - rejection method
JPR_rejection.prg
(3.94 KiB) Downloaded 177 times


Procedure file for rejection method
kscpostdraw.src
(2.37 KiB) Downloaded 165 times


Data file:
jpr_weekly.rat
(102.25 KiB) Downloaded 186 times