• No results found

To conclude this Appendix, we comment briefly on the performance of the MCMC algorithm described in Section A.7 and used for simulating λ1. Im-

plementing this algorithm requires the choice of three tuning parameters: the number N of filter particles; the number M of particle smoother paths; and the number K + 1 of blocks in λ1. For all the simulations described in Sections 5.1 and 5.2, involving three different leverage formulations and five different sample sizes, the same tuning parameter values of N = 2000 and M = 100 were used. The number of blocks was chosen as the integer nearest to T /B, with B = 10 for the first 100 MCMC sweeps and B = 50 otherwise. The average MH acceptance probability crucially depends on B, which is an approximate expected block size. Table 8 shows the average acceptance probabilities (after burn-in) for the three stochastic volatility models and for four different sample sizes. They are remark- ably similar across models and sample sizes, in spite of the fact that the same values of N, M, and B were used throughout the simulations. This suggests that the method of Section A.7 is generally applicable beyond the models estimated in this paper.

Appendix B. A description of the particle filter used for marginal likelihood estimation

Table 8. Average acceptance probabilities

Data Model T K λ1(MH) λ1(AR) φ1 φ2 (ν, β) (ρ, σ1)

SV-SL 1041 20 0.83 0.09 0.97 0.80 SMI 93–96 SV-HL 1041 20 0.84 0.09 0.97 0.97 0.80 SV-CL 1041 20 0.81 0.08 0.96 0.79 0.80 SV-SL 2667 52 0.79 0.07 0.97 0.79 S&P500 04–14 SV-HL 2667 52 0.78 0.07 0.98 0.98 0.80 SV-CL 2667 52 0.79 0.08 0.97 0.80 0.80 SV-SL 5439 108 0.79 0.07 0.95 0.80 S&P500 93–14 SV-HL 5439 108 0.78 0.06 0.96 0.99 0.81 SV-CL 5439 108 0.79 0.08 0.97 0.80 0.81 SV-SL 5682 113 0.80 0.07 0.98 0.80 SMI 93–14 SV-HL 5682 113 0.79 0.07 0.99 0.99 0.81 SV-CL 5682 113 0.80 0.08 0.98 0.80 0.81

T + 1: sample size; K + 1: number of blocks.

now form the vector αit = (λi1t, λi2t, Zti). However, λ2,t+1 can be integrated out

of (A.7), yielding the prediction density:

π(λ1,t+1 | λ1t, λ2t, yt) = fN λ1,t+1; μ1+ φ1λ1t+ (μ2+ φ2λ2t)yt, σ12+ yt2σ22

.

(B.1) The observation density is now written as:

p(yt | αt) = p(yt | λ1t, Zt) = fN  yt; β  Zt− δ 2 ν− 2  exp  λ1t 2  , Ztexp(λ1t)  . (B.2) The filter is initialized by drawing N independent particles (λi10, λi20, Z0i) from (2.5), (2.7), and (2.10). The first term in (4.3) is computed as:

p(y0 | θ) = 1 N N $ i=1 p(y0 | λi10, Z0i)

and the filter weights at time t = 0 are computed as: wi0 = p(y0 | λi10, Z0i), π0i = w i 0 N j=1wj0 .

For t = 1, . . . , T , p(yt | y0:t−1,θ) is computed by the following algorithm,

which uses as input N ancestor particle vectors (λi1,t−1, λi2,t−1) with associated normalized importance weights πit−1.

(1) Draw N independent particles Zti from (2.5). (2) Compute, for i = 1, . . . , N:

˜

λi1t = μ1 + φ1λi1,t−1 + (μ2+ φ2λi2,t−1)yt−1 (B.3)

and compute the first stage weights:

wit−1|t= p(yt | ˜λi1t, Zti)× πit−1, πt−1|ti = wit−1|t N j=1wt−1|tj . (B.4) (3) For i = 1, . . . , N:

3.1 Sample an index k ∈ {1, . . . , N} with probability πt−1|tk .

3.2 Draw λi2tfrom a Normal distribution with expectation μ22λk2,t−1

and variance σ2 2.

3.3 Draw λi1t from an importance density derived along the lines of (A.15):

g(λ1t| λk1,t−1, λi2t, Zti, yt, yt−1) =

fN λ1t; m(λk1,t−1, λi2t, Zti, yt, yt−1), v(Zti, yt)

(B.5) where the moments m(•) and v(•) are obtained from the right- hand sides of (A.12), (A.16) and (A.17), upon replacing mt(λ1,t−1)

by μ1+ φ1λk1,t−1+ λi2tyt−1, Zt by Zti, and θt by β(Zti− δ2/(ν− 2)).

3.4 Compute the second stage weights:

wit = p(yt | λ

i

1t, Zti)p(λi1t | λk1,t−1, λi2t, yt−1)

g(λi1t| λk1,t−1, λi2t, Zti, yt, yt−1)p(yt | ˜λk1t, Zti)

(B.6) where k is the index drawn in step 3.1 and ˜λk1t is given by (B.3) with

i = k; the densities appearing in (B.6) are given by (B.2), (B.5),

and:

(4) Normalize the second stage weights to obtain: πti = w i t N j=1wtj .

(5) From Pitt et al. (2012), the estimated predictive density is: p(yt | y0:t−1,θ) =  N $ i=1 wit−1|t  N i=1wit N  .

(6) Resample (λi1t, λi2t) if necessary, using the weights πit. References

Aas K, Haff IH. 2006. The generalized hyperbolic skew Student’s t-distribution.

Journal of Financial Econometrics 4: 275-309.

Andrieu C, Doucet A, Holenstein R. 2010. Particle Markov chain Monte Carlo methods (with discussion). Journal of the Royal Statistical Society (Series B)

72: 369-342.

Barndorff-Nielsen OE. 1977. Exponentially decreasing distributions for the log- arithm of particle size. Proceedings of the Royal Society of London (Series A)

353: 401-419.

Barndorff-Nielsen OE. 1997. Normal inverse Gaussian distributions and stochas- tic volatility modelling. Scandinavian Journal of Statistics 24: 1-13.

Carter CK, Kohn R. 1994. On Gibbs sampling for state space models. Biometrika

81: 541-553.

Chib S, Greenberg E. 1994. Bayes inference in regression models with ARMA(p,q) errors. Journal of Econometrics 64: 183-206.

Chib S, Greenberg E. 1995. Understanding the Metropolis-Hastings algorithm.

The American Statistician 49: 327-335.

Chib S, Nardari F, Shephard N. 2002. Markov chain Monte Carlo methods for stochastic volatility models. Journal of Econometrics 108: 281-316.

De Jong P, Shephard N. 1995. The simulation smoother for time series models.

Biometrika 82: 339-350.

Deschamps PJ. 2012. Bayesian estimation of generalized hyperbolic skewed stu- dent GARCH models. Computational Statistics and Data Analysis 56: 3035- 3054.

Dickey JM. 1971. The weighted likelihood ratio, linear hypotheses on normal location parameters. The Annals of Mathematical Statistics 42: 204-223.

Douc R, Garivier A, Moulines E, Olsson J. 2011. Sequential Monte Carlo smooth- ing for general state space hidden Markov models. The Annals of Applied Prob-

ability 21: 2109-2145.

Durbin J, Koopman SJ. 2002. A simple and efficient simulation smoother for state space time series analysis. Biometrika 89: 603-615.

Fearnhead P, Wyncoll D, Tawn J. 2010. A sequential smoothing algorithm with linear computational cost. Biometrika 97: 447-464.

Fr¨uhwirth-Schnatter S. 2004. Estimating marginal likelihoods for mixture and Markov switching models using bridge sampling techniques. Econometrics Jour-

nal 7: 143-167.

Geweke J. 2005. Contemporary Bayesian Statistics and Econometrics. Wiley: Hoboken.

Geweke J, Amisano G. 2010. Comparing and evaluating Bayesian predictive distributions of asset returns. International Journal of Forecasting 26: 216-230. Gilks WR, Wild P. 1992. Adaptive rejection sampling for Gibbs sampling. Jour-

nal of the Royal Statistical Society Series C (Applied Statistics) 41: 337-348.

Glosten LR, Jagannathan R, Runkle D. 1993. On the relation between the ex- pected value and the volatility of the nominal excess return on stocks. Journal

of Finance 48: 1779-1801.

Godsill SJ, Doucet A, West M. 2004. Monte Carlo smoothing for nonlinear time series. Journal of the American Statistical Association 99: 156-168.

Harvey AC. 1989. Forecasting, Structural Time Series Models and the Kalman

Filter. Cambridge University Press: Cambridge.

Jacquier E, Polson NG, Rossi PE. 1994. Bayesian analysis of stochastic volatility models. Journal of Business and Economic Statistics 12: 371-389.

Jacquier E, Polson NG, Rossi PE. 2004. Bayesian analysis of stochastic volatility models with fat-tails and correlated errors. Journal of Econometrics 122: 185- 212.

Jeffreys H. 1961. Theory of Probability (3d. edition). Oxford University Press: Oxford.

Jørgensen B. 1982. Statistical Properties of the Generalized Inverse Gaussian

Distribution. Lecture Notes in Statistics Vol.9. Springer: Heidelberg.

Kim S, Shephard N, Chib S. 1998. Stochastic volatility: likelihood inference and comparison with ARCH models. Review of Economic Studies 65: 361-393.

Kim CJ, Nelson CR. 1999. State-Space Models with Regime Switching: Classical

and Gibbs-Sampling Approaches with Applications. MIT Press: Cambridge MA.

Kitagawa G. 1996. Monte Carlo filter and smoother for non-Gaussian nonlinear state space models. Journal of Computational and Graphical Statistics 5: 1-25. Liesenfeld R, Richard JF. 2006. Classical and Bayesian analysis of univariate and multivariate stochastic volatility models. Econometric Reviews 25: 335-360. Liesenfeld R, Richard JF. 2003. Univariate and multivariate stochastic volatility models: estimation and diagnostics. Journal of Empirical Finance 10: 505-531. Maskell S. 2004. An introduction to particle filters. In: State Space and Unob-

served Component Models: Theory and Applications, Harvey A, Koopman SJ,

Shephard N (eds). Cambridge University Press: Cambridge.

Meng XL, Wong WH. 1996. Simulating ratios of normalizing constants via a simple identity: a theoretical exploration. Statistica Sinica 6: 831-860.

Nakajima J, Omori Y. 2009. Leverage, heavy-tails and correlated jumps in sto- chastic volatility models. Computational Statistics and Data Analysis 53: 2335- 2353.

Nakajima J, Omori Y. 2012. Stochastic volatility model with leverage and asym- metrically heavy-tailed error using GH skew Student’s t-distribution. Compu- tational Statistics and Data Analysis 56: 3690-3704.

Nelson DB. 1991. Conditional heteroskedasticity in asset returns: a new ap- proach. Econometrica 59: 347-370.

Omori Y, Chib S, Shephard N, Nakajima J. 2007. Stochastic volatility with leverage: fast and efficient likelihood inference. Journal of Econometrics 140: 425-449.

Omori Y, Watanabe T. 2008. Block sampler and posterior mode estimation for asymmetric stochastic volatility models. Computational Statistics and Data

Analysis 52: 2892-2910.

Pitt MK, Shephard N. 1999. Filtering via simulation: auxiliary particle filters.

Journal of the American Statistical Association 94: 590-599.

Pitt MK, Dos Santos Silva R, Giordani P, Kohn R. 2012. On some properties of Markov chain Monte Carlo simulation methods based on the particle filter.

Journal of Econometrics 171: 134-151.

Shephard N, Pitt MK. 1997. Likelihood analysis of non-Gaussian measurement time series. Biometrika 84: 653-667. Correction: Biometrika 91: 249-250. Tierney L. 1994. Markov chains for exploring posterior distributions. The Annals

Verdinelli I, Wasserman L. 1995. Computing Bayes factors using a generalization of the Savage-Dickey density ratio. Journal of the American Statistical Associa-

Related documents