Non-Markovian Regime Switching with Endogenous States and Time-Varying State Strengths

Size: px
Start display at page:

Download "Non-Markovian Regime Switching with Endogenous States and Time-Varying State Strengths"

Transcription

1 WORKING PAPER SERIES Non-Markovian Regime Switching with Endogenous States and Time-Varying State Strengths Siddhartha Chib and Michael Dueker Working Paper A November 2004 FEDERAL RESERVE BANK OF ST. LOUIS Research Division 411 Locust Street St. Louis, MO The views expressed are those of the individual authors and do not necessarily reflect official positions of the Federal Reserve Bank of St. Louis, the Federal Reserve System, or the Board of Governors. Federal Reserve Bank of St. Louis Working Papers are preliminary materials circulated to stimulate discussion and critical comment. References in publications to Federal Reserve Bank of St. Louis Working Papers (other than an acknowledgment that the writer has had access to unpublished material) should be cleared with the author or authors. Photo courtesy of The Gateway Arch, St. Louis, MO.

2 Non-Markovian Regime Switching with Endogenous States and Time-Varying State Strengths October 2004 Siddhartha Chib Olin School of Business Washington University Michael Dueker Federal Reserve Bank of St. Louis P.O. Box 442, St. Louis, MO fax (314) The content is the responsibility of the authors and does not represent official positions of the Federal Reserve Bank of St. Louis or the Federal Reserve System. I

3 Non-Markovian Regime Switching with Endogenous States and Time-Varying State Strengths Abstract This article presents a non-markovian regime switching model in which the regime states depend on the sign of an autoregressive latent variable. The magnitude of the latent variable indexes the strength of the state or how deeply the system is embedded in the current regime. In this model, regimes have dynamics, not only persistence, so that one regime can gradually give way to another. In this framework, it is natural to allow the autoregressive latent variable to be endogenous so that regimes are determined jointly with the observed data. We apply the model to GDP growth, as in Hamilton (1989), Albert and Chib (1993) and Filardo and Gordon (1998) to illustrate the relation of the regimes to NBER-dated recessions and the time-varying expected durations of regimes. The article makes use of the Metropolis-Hastings algorithm to make multi-move draws of the latent regime strength variable, where the extended Kalman filter provides a valid proposal density for the latent variable. JEL classifications: F42, C25, C22 Key words: Regime switching, Markov Chain Monte Carlo, nonlinear state space II

4 Introduction Autoregressive models are popular in economics because many economic variables appear to respond more to their own past values than they do to a distributed lag of any other variable. The same is likely true of regimes. If conditions gradually become ripe for a regime change, it might not be possible to find an exogenous covariate whose evolution matches this ripening process. For example, when modeling the Volcker monetary policy regime change in 1979, a regime modeler might claim that the occurrence of high inflation engendered a shift in probability toward a new regime. If this were true, then a regimeswitching model could include past inflation as an explanatory variable in Filardo s (1994) time-varying transition probability Markow switching model. However, the history of monthly or quarterly inflation rates (or almost any other extrinsic variable) does not suggest a uniquely high monthly inflation rate that served as a trigger for a change of monetary policy regime in 1979 [see Sims and Zha (2004) for a discussion of monetary policy regimes]. Instead, it is likely that pressure for a regime change built gradually across time Similarly, if the regime studied is the recession/expansion state of the business cycle, then a well-known problem is how to identify a variable or set of variables that heralds a shift from an expansion phase to a recession phase. In both of these cases, autoregressive dynamics might prove more useful than a distributed lag of any exogenous covariate in modeling a gradual shift in regime probabilties. A related issue is the extent to which regimes are determined separately from the observable data. A negative shock that moves the business cycle phase toward the expansion state from the recession state is possibly associated with a negative shock to observed GDP growth. These two shocks do not have to be postively correlated, and they might even be negatively correlated, but regime modelers should be hesitant to assume that the regime is exogenous and uncorrelated with the innovations to the data affected by the 1

5 regime. With our latent variable approach, it is quite simple and straightforward to allow for endogenous regimes that are correlated with the observable data. This article introduces a new non-markovian regime switching model in which the regime states depend on the sign of an autoregressive latent variable. The magnitude of the latent variable indexes the strength of the state or how deeply the system is embedded in the current regime. This non-markovian regime switching automatically implies time-varying state transition probabilities. With autoregressive dynamics governing the transition probabilities, we can readily demonstrate how the expected duration of the current regime can vary across time. In this way, the regimes themselves have autoregressive dynamics, so that pressure for a regime change can build gradually across time. In essence, our model of hidden regimes is the counterpart to the dynamic probit approach to observed regimes, as discussed below. This model is readily contrasted with the typical two-state Markov switching model if we write the transition probabilities of a two-state Markov process as a function of a normally-distributed latent variable, S, that governs the binary regime indicator S: S t = λ + θs t 1 + e t (1) e t N(0, 1) S t = 0 S t < 0 The constant transition probabilities for this Markov process are therefore parameterized as P (S t = 0 S t 1 = 0) = Φ( λ) P (S t = 1 S t 1 = 1) = 1 Φ( λ θ), (2) 2

6 where Φ(.) is the cumulative standard normal density function. With constant transtition probabilities, the Markov switching model implies a constant expected duration of the current regime. Note that, when the regimes are observed, models of the form of eq. (1) are sometimes inappropriately called dynamic probits [DeJong and Woutersen (2004); Horowitz (1992)], because the same nomenclature is also used to describe the dynamic probit model of Eichengreen, Watson and Grossman (1985), where the lagged latent variable is on the right-hand side. Putting the lagged state on the right-hand side adds persistence, not dynamics, to the regimes. To see this, note that eq. (1) is equivalent to: S t = λ + e t (3) S t = 0 if S t < 0, S t 1 = 0 or S t < θ, S t 1 = 1 The form of equation (3) makes clear that the regime strength, S, has no dynamics. For this reason, the transition probabilities in Markov switching models are called persistence parameters because they do not connote regime dynamics. The model we propose with autoregressive state strengths takes the form S t = λ + θs t 1 + e t (4) e t N(0, 1) S t = 0 S t < 0 This model is the hidden regime counterpart to the dynamic probit model of Eichengreen, Watson and Grossman (1985) because the latent variable is autoregressive, implying true regime dynamics. This autoregressive latent variable generates a non-markovian regime process because the probability of the state this period depends not only on the state 3

7 last period but a continuous measure of the strength of the state last period. For these non-markovian regimes, the time-varying state transition probabilities are P (S t = 0 S t 1) = Φ( λ θs t 1) P (S t = 1 S t 1) = 1 Φ( λ θs t 1). (5) In the model with autoregressive state strengths, the probability of a regime change would rise if the latent index of regime strength, S, approached zero. The Markov switching model time-varying transition probabilities introduced by Filardo (1994) would add lagged covariates, Z, such that S t = λ + θs t 1 + κz t 1 + e t (6) e t N(0, 1) S t = 0 S t < 0. Our model with autoregressive state strengths suggests that one strong candidate to be included in Z t 1 is St 1, whereupon S t 1 becomes unnecessary. As mentioned above, one useful feature of the non-markovian reqime switching model of equation (4), unlike the Markov switching model of equation (1), is that the expected duration of a regime is time-varying. Filardo and Gordon (1998) add time-varying expected regime durations by way of time-varying transition probabilities. In general, this covariate approach to time-varying expected durations requires an auxiliary model to predict the future evolution of the Z covariates. Lam (2004) uses the regime durations as Z t 1 in eq. (6) to make the transition probabilities vary across time, where the unobserved regimes are counted relative to a probability threshold. Our autoregressive model of regime strengths, in contrast, implies time-varying expected regime durations even in the absence of covariates in the regime equation. 4

8 II. MCMC estimation of non-markovian regime switching We estimate the model with a latent autoregressive variable via Markov Chain Monte Carlo methods. MCMC methods for estimating the hidden Markov switching model of Hamilton (1989) were put forth in Albert and Chib (1993), who showed that once one augments the data with draws of the latent regime states, then the conditional distributions of the other model parameters are straightforward regression coefficient priors and posteriors. The specific model that we apply to GDP growth, denoted y, is y t = α 1 + (α 0 α 1 )I(St < 0) + φy t 1 + u t (7) S t = λ + θ 1 S t 1 + θ 2 y t 1 + e t where I(.) is the indicator function. Note that in this specification only the nonlinearity of the indicator function (and, more specifically, the cumulative density function, which is the forecast of the indicator function) allows one to separately identify φ and θ 2, for example. This identification is potentially sensitive to the distributional assumption one uses for the cumulative density function, as discussed by Heckman and Macurdy (1986). Therefore, we compare results where the identification relies on a distributional assumption, as in eq. (7) above, and a specification where a variable other than y t 1 appears on the right side of the latent state equation. In the latter case, an independent source of variation in the latent variable S is ensured and nonlinearlity is no longer the sole source of identification. The covariance matrix of the error terms is allowed to be general such that ( ) ( ) ut σ 2 Cov = Σ = u ρ. (8) ρ 1 The parameter groupings for MCMC estimation of the model are e t ϱ 1 = (α 0, α 1, φ) 5

9 ϱ 2 = (λ, θ 1, θ 2 ) ϱ 3 = Σ ϱ 4 = {S t }, t = 1,..., T (9) Because the model of equation (6) is easily cast in state-space form as ( et+1 S t y t = α 1 + (α 0 α 1 )I(St < 0) + ρe t + v t ) ( ) ( ) ( ) ( 0 0 et = + 1 θ 1 λ θ 2 S t 1 y t 1 ) + ( et+1 0 ), (10) a natural estimation approach to consider is to use the Kalman filter to integrate out the unobserved latent state strength variable S. Instead of integrating out S, however, we choose to sample it for two reasons: First, this state-space model is nonlinear and the extended Kalman filter applied to nonlinear state-space models is inexact and, therefore, we subject the draw of the latent variable to a Metropolis-Hastings step; second, the conditional distributions of the model parameters in ϱ 1 and ϱ 2 are easily derived from simple regressions conditional on value of S. Thus, we find it convenient to make use of the data augmentation capabilities of Markov Chain Monte Carlo methods. To use regression techniques to derive a conditional mean and variance for ϱ 1, it is necessary to control for the endogeneity of S. Fortunately, the data augmentation makes this relatively simple. 1 Conditional on (ϱ 2, ϱ 3, ϱ 4 ), we can write u t = ρe t + v t, (11) where v t is uncorrelated with e t, and re-write equation (7) as y t ρe t = α 0 I(S t < 0) + α 1 I(S t 0) + φy t 1 + v t (12) 1 Kim, Piger and Startz (2004) discuss maximum-likelihood estimation of a Markov switching model with endogenous regimes that does not involve data augmentation. 6

10 In this form, we have a regression equation in which the error term is uncorrelated with the regressor I(S t < 0). The conditional distribution of the coefficients in ϱ 1 is Normal with the mean and variance implied by the Bayesian regression, given a prior. The priors used for the Bayesian regressions are discussed in section III. Similarly, the regime strength equation must take account of the non-zero E(e t u t ) by writing e t = ρ/σuu 2 t + ν t. The regression equation thus becomes S t ρ/σ 2 uu t = λ + θ 1 S t 1 + θ 2 y t 1 + ν t (13) Conditional on ϱ 1, ϱ 2, ϱ 4, the residual series {u t } and {e t } are calculated and the approach from Chib, Greenberg and Jeliazkov (2003) is used to sample the covariance matrix Σ using inverted Wishart distributions, subject to the restriction that Σ 2,2 = 1. A detailed discussion of sampling the autoregressive latent variable follows. Sampling the latent variable To reduce the degree of autocorrelation of the sampled values across MCMC iterations and to speed convergence of the sampler to the posterior distribution, multi-state sampling is preferable to single-state sampling of the latent variable. In single-state sampling, the conditional distribution of the latent variable this iteration would depend on values drawn for the previous iteration (with iteration number denoted as a superscript): f(s (i+1) t {S (i+1) j } j<t, {S (i) k } k>t, {y t }). (14) In our application, single-move sampling appeared not to converge, even after we discarded more than 100,000 burn-in iterations. The single-move posterior means differed 7

11 substantially across estimation runs, whereas the multi-move sampler reproduces nearly identical results across numerous estimation runs of 40,000 iterations, each with 10,000 discarded. As suggested by Carter and Kohn (1994), Fruhwirth-Schnatter (1994) and De Jong and Shephard (1995), multi-state sampling can be carried out based on the identity T f({st } {y t }) = f(st 1 {y t }) f(st St+1, {y j } j=1,..,t ), (15) using the Kalman filter to calculate the conditional distributions on the right side of eq. (14). One key feature of our approach, however, is that we use the extended Kalman filter only to produce a proposal density for the latent state strength index, S, and not to claim that the filter gives an exact conditional distribution [see Welch and Bishop (2002) for a t=1 useful summmary of the extended Kalman filter]. If we start with a canonical linear state-space model with observation variables y and state variables X, y = HX t + v t then the well-known Kalman filtering equations are X t+1 = F X t + DZ t + w t+1, (16) X t+1 t = F X t t + DZ t X t+1 t+1 = X t+1 t + K t+1 [y t+1 HX t+1 t ] P t+1 t = F P t t F + Q P t+1 t+1 = P t+1 t K t+1 HP t+1 t K t+1 = P t+1 t H (HP t+1 t H + R) 1 (17) As shown above, the non-markovian regime switching model has the nonlinear statespace form of eq. (10). The extended Kalman filter is based on approximating the 8

12 nonlinear functions in the state-space model. In the case of eq. (10), the nonlinear function is the indicator function which we approximate as I(S < 0) P (S < 0 I t 1 ) + H t (e t, S t 1 S t 1 t 1), (18) which is superior to the Taylor series approximation I(S < 0) I(S t t 1 < 0) + H t (e t, S t 1 S t 1 t 1). (19) In most applications of the extended Kalman filter, the Taylor series approximation is used because typically the nonlinear function is one where we know how to take expectations of its arguments, but we do not now how to take expectations of the function itself. With the indicator function, however, we can take the expectation of the function directly as the cumulative density function, as in eq. (18), and avoid the Jensen s inequality problem that plagues the Taylor series approximation. It also puts the P (S t < 0 I t 1 ), which is the most natural forecast of I(S t < 0), into the Kalman gain equation. The extended Kalman filter calls for replacement of the indicator in eq. (7) with the approximating eq. (18) and replaces the vector H from eq. (17) with the the Jacobian, H t, of the approximating eq. (18). In this case, the 1 2 Jacobian vector, H t, includes a finitedifference approximation to differentiating the indicator function, where X t = (ɛ t, S t 1) : where H t = E I(S (X t ) < 0) ξ t E[ξ t St > <0, St 1 < P (S (X t ) < 0 I t 1 ) ξ t < 0, (20) >0] X t ξ t X t ξ t = S t λ θ 1 St 1 t 1 θ 2y t 1 (P (1,1) t t 1 2θ 1P (1,2) t t 1 + (21) θ2 1P (2,2) t t 1 )0.5 and superscript (2,2) indicates the element of the matrix. The negative sign on H t reflects the expected decrease in the indicator function from a shock to the unobserved components of the latent variable S. Because ξ t is a standard normal, E[ξ t S t > 0] = φ(ξ t S t = 0)/[1 Φ(ξ t S t = 0)] 9

13 E[ξ t S t < 0] = φ(ξ t S t = 0)/Φ(ξ t S t = 0) E I(S (X t ) < 0) E[ξ t S t > <0, S t 1 < >0] ξ t X t = = 1[1 Φ(ξ t S t = 0)]I(S t 1 t 1 < 0)/E[ξ t S t > 0] +Φ(ξ t St = 0)I(St 1 t 1 > 0)/E[ξ t St < 0] ( ) 1 /(P (1,1) t t 1 2θ 1P (1,2) t t 1 + θ2 1P (2,2) t t 1 )0.5 (22) θ 1 where φ(.) is the standard normal density function and Φ(.) is the cumulative standard normal density. The ratio of finite differences in H t represents the probability that a shock to the latent variable will cause a change in the indicator function times the sign of the change in the indicator function divided by the expected value of the shock conditional on it being large enough to induce a regime change. Thus, the extended Kalman filtering equations are altered from the canonical form of eq. (17) to X t+1 t = F X t t X t+1 t+1 = X t+1 t + K t+1 [y t+1 φy t α 1 (α 0 α 1 )P (S (X t+1 ) < 0 I t )] P t+1 t = F P t t F + Q P t+1 t+1 = P t+1 t K t+1 H t+1 P t+1 t K t+1 = P t+1 t H t+1(h t+1 P t+1 t H t+1 + R) 1 (23) where P (S (X t+1 ) < 0 I t ) = Φ(ξ t+1 S t+1 = 0). (24) We also need to apply one smoothing step following the sampling of X t+1 : X t t+1 = X t t + P t t F P 1 t+1 t (X t+1 X t+1 t ) P t t+1 = P t t + P t t F P 1 t+1 t (P t+1 t+1 P t+1 t )(P t t F P 1 t+1 t ) (25) 10

14 In this way, the latent variable is sampled in reverse order, starting with X T = (ɛ T, S t 1). It is important to note that this distribution for the latent variable is only considered a proposal density and these draws of the latent variable are a draw from the proposal density. In a Metropolis-Hastings step, the proposal density does not have to represent the exact conditional distribution of the parameters, which the extended Kalman filter does not provide. Instead, the proposal density simply needs to provide a useful approximation to the posterior density of the parameters in question. The posterior density of S can be evaluated directly via Bayes Law and does not involve Kalman filter recursions at all. The latent variable vector, {St }, t = 1,..., T, is updated according to the following AR-MH algorithm: 1. Draw a proposed value of the vector {S t }, using as a proposal density the distribution implied by the extended Kalman filtering algorithm outlined above. Denote this proposal density as q(.). 2. Given an uninformative prior for the latent variable, the posterior density of {St } depends only on the density of the data conditional on the value of {S }. We need to calculate the densities of the data conditional on the proposed value of {S } and conditional on last iteration s value of {S }, denoted h(s p ) and h(s c ), respectively. 3. The acceptance probability for S p, as opposed to staying at S c, is min{ h(s p )q(s c ) h(s c )q(s p ), 1}. The efficiency of the Metropolis-Hastings sampler depends greatly on the acceptance rate of the proposed draws. Our method of drawing the latent variable vector {S t } resulted in an acceptance rate of approximately 75 percent (54 percent in the model specification that uses the leading indicators as an explanatory variable in the latent 11

15 regime strength equation) in our application to GDP growth. This high rate is a sign that our modification to the extended Kalman filter is leading to highly useful inferences of the latent state strength measure. We discuss the ability of our algorithm to track the latent variable in Mote Carlo simulations below. III. A Monte Carlo investigation of the sampling procedure To investigate how well the extended Kalman filter uncovers the parameters of the data-generating process for the latent variable, we performed a Monte Carlo simulation. We generated 1000 samples of artificial data, each with 200 observations, based on eq. (7). In this form, with y t 1 as a covariate in the latent state strength equation, the system is self-contained and can be simulated without additional assumptions. The true parameter values and priors were set close to those reported below for the application to GDP growth. The regression priors are discussed in the next section with the GDP results. For each sample, we ran the MCMC estimation procedure for iterations and we saved the posterior means of the parameter draws from the last iterations. For each estimation, we saved the 5, 50 and 95 percent quantiles for each parameter and then calculated the average of these quantiles across the 1000 estimations. Table 1 shows the results from this Monte Carlo investigation. In all cases, the true parameter value lies comfortably within the estimated 90 percent interval. In addition, the 50 percent quantile can serve as a useful point estimate of the parameter value. From this monte carlo exercise, we also saved quantiles of approximately every 15th value of the latent variable, S. More specifically, we saved the 5, 50 and 95 percent quantiles of the difference between the MCMC inferred values and true values of the latent variable. Figure 1 depicts the 90 12

16 percent intervals, which are fairly wide for a given observation, but it also shows that there is no significant bias in the sampling algorithm. Table 1: Monte Carlo Simulation of MCMC Sampling Algorithm Inferred Quantiles True value Prior Observation equation α (0.036,0.226) α (0.780,0.966) φ None (0.237,0.420) Latent regime equation λ None (0.040,0.752) θ (0.400,0.698) θ None (-0.178,0.183) Covariance matrix σ None (0.706,1.11) ρ None (0.043,0.467) Estimated 50 percent quantiles with 5 and 95 percent quantiles in parentheses IV. Application to business cycle phases In applying this regime switching model to GDP growth, we found that an informative prior is necessary to slow down the fluctuations in the latent variable. With an uninformative prior, the inferred latent S series closely mimics the data y with a different mean and variance. The estimated values of growth states, α 0 and α 1, are also closer together than one would associate with two distinct business cycle regimes in the absence of an 13

17 informative prior. In a Bayesian regression, as shown in Chib and Greenberg (1996), the coefficients are normally distributed such that: β N( ˆβ, B 1 n ) (26) B n = B 0 + X X/σ 2 ˆβ = B 1 n (B 0 β 0 + X y/σ 2 ), where X is set of regressors, y is the regressand, σ 2 is the variance and, most importantly, B 0 is a diagonal matrix that determines the strength of the prior placed on the set of coefficient values β 0. For the GDP growth regression of eq. (7), where the coefficients are (α 0, α 1, φ), the diagonal elements of B 0 were set to (300,300,0) and β 0 was set to (0.10,0,90,0.30), so that no prior was placed on the lagged dependent variable. For the latent state from eq. (7), where the coefficients are (λ, θ 1, θ 2 ), the diagonal elements of B 0 were set to (0,100,0) and β 0 was set to (0.30,0.80,0.10), so that the prior only served to lift the autoregressive coefficient, θ 1. Experimentation showed that these priors were strong enough to prevent the regime from changing in more than one-third of the observations; when the regime changes more often than this, the model is trying to fit high-frequency fluctuations between two expansionary growth states, as opposed to lowerfrequency business cycle fluctuations. One obvious question is why the Markov switching regimes of Hamilton (1989) do not require any prior restrictions in order to match business cycle fluctuations, whereas the present non-markovian regime switching model does. Consider first the Markov switching model. Suppose that it tried to fit high-frequency fluctuations between two expansionary growth states of 2.5 and 4 percent annualized growth. With fixed transition probabilities the model would need to have states that were not very persistent to have relatively frequent transitions. As a consequence though, the one-step-ahead forecast of output growth 14

18 would not vary much across time, so little would be gained in terms of the likelihood function value. Consider, in contrast, the non-markovian regime switching from eq. (7), in which transition probabilities automatically are time-varying. In this model one can have both frequent regime transitions and one-step-ahead forecasts of output growth that vary considerably across time. All it takes in eq. (7) is for the unconditional mean of the latent variable, S, to be near zero and for the autoregressive coefficient, θ 1, to be greater than zero. Then, the conditional mean of S can differ from zero, causing the one-step-ahead forecasts of output growth to differ from the unconditional mean. For the model with the informative priors discussed above, the MCMC sampler was run through 40,000 iterations with the first 10,000 iterations discarded to allow the sampler to converge on the posterior distribution. The multi-move Metropolis-Hastings sampler of the latent regime strength variable is efficient enough that this number of iterations ensures that the posterior mean of the latent variable vector is replicated across numerous estimation runs. Quarterly GDP growth data from 1960Q1 to 2003Q4 were used to estimate the non-markovian regime switching model. Table 2 shows the posterior means and 90 percent probability intervals for the coefficients corresponding to the self-contained model of equation (7), where a lagged dependent variable is the only covariate in the latent state strength equation. In this case, the identification of the model parameters in the latent state equation is tied to the distributional assumption of normality. 15

19 Table 2: Coefficient posterior distributions for self-contained model Posterior dist. Prior Observation equation α (0.044,0.236) α (0.778,0.956) φ Flat (0.080,0.289) Latent regime equation λ Flat (-0.007,0.565) θ (0.473,0.745) θ Flat (-0.190,0.285) Covariance matrix σ Flat (0.494,0.777) ρ Flat (-0.052,0.348) 90% prob. interval in parentheses The posterior means of the α intercepts in the observation equation move less from the prior values than does the autoregressive coefficient, θ 1, in the latent regime equation. The fact that the model finds that the autoregressive coefficient, θ 1, is centered far from zero in the latent regime equation supports the idea that the index of regime strength, S, responds more closely to its own past value than to other variables, such as y t 1. For the self-contained model, the probability interval for the covariance parameter, ρ is not decisively positive, so the evidence in favor of regime endogeneity is not overwhelming. We re-examine the probability interval for this parameter of regime endogeneity below for a specification that is not self-contained and not identified solely through a cboice of nonlinear distribution function. 16

20 As an alternative specification, we replaced y t 1 as a covariate in the latent regime equation (7) with the lagged change in the index of leading indicators. In this case, a unique source of movement in the latent regime strength index, S, from the leading indicators helps identify the latent variable, apart from the nonlinear identification from the distribution function. The coefficient on the leading indicators is denoted θ 2, as the leading indicators simply take the place of y t 1 in the latent regime equation. Table 3 presents the posterior means of the coefficients for the specification that uses the lagged change in the log of the leading indicators as a predetermined covariate. Table 3: Coefficient posterior distributions for specification with leading indicator covariate Posterior dist. Prior Observation equation α (0.034,0.222) α (0.794,0.978) φ Flat (0.088,0.298) Latent regime equation λ Flat (-0.027,0.469) θ (0.412,0.679) θ Flat (0.013,0.225) Covariance matrix σ Flat (0.478,0.731) ρ Flat (-0.063,0.321) 90% prob. interval in parentheses On the whole, the parameter estimates are quite similar across the two specifications, and this suggests that the identification that hinges on the normality assumption is not 17

21 terribly off base. Nevertheless, one difference between the two specifications is that the leading indicators covariate has a 90 percent probability interval that lies only in the positive region. In this case, the leading indicators add some regime forecasting power beyond that brought by the autoregressive term, whereas lagged GDP growth did not. Like the specification without an instrument, the estimated covariance parameter ρ is positive, although its 90 percent probability interval includes zero. This result stands in contrast to the typical Markov switching model which assumes that the unobserved regimes are determined exogenously from the observed data. Next we compare the posterior means of the latent variable from these two non- Markovian regime switching models with business cycle turning points defined by the National Bureau of Economic Research (NBER). Matching NBER business cycle turning points The most interesting output from the non-markovian regime switching model of GDP growth is the posterior mean of the latent, strength-of-regime indicator, S. The results from the self-contained model reported in Table 2 are presented first. Figure 2 shows the posterior mean of the latent regime strength index and how well its crossings of zero match the NBER business cycle turning points. The biggest discrepancies between the sign of the posterior mean of the latent variable and the NBER recession dates occur in the relatively mild 1970 and 2001 recessions. In both cases, the latent regime index dip below zero a bit earlier than the onset of the NBER recession and they also move back above zero a bit before the NBER-dated trough. at the March 1991 NBER trough date. Overall, however, the regime switching model implies switching dates that are very close to NBER turning points throughout the sample. The posterior mean of the latent variable 18

22 can also serve as a business cycle index, given that it measures the strength of growth rate regimes. For example, 1965, 1972, 1978 and 1984 are periods of pronounced cyclical strength. Similarly, the milder recessions are reflected in the posterior mean of the latent variable as recessions where the the latent variable did not dip as far below zero, such as in 1960, 1970 and We also calculate posterior means of the regime probabilities, calculated as the percentage of the draws that the latent variable, St, was above zero. For this measure, a posterior mean probability of 0.5 corresponds closely with NBER turning points, as shown in Figure 3. The priors needed to induce the latent variable to change signs at the business cycle frequency included a prior to keep the two growth rate parameters, α 0 and α 1, sufficiently far apart so as not to reflect fast and moderate growth within economic expansions; the other prior was to ensure a degree of persistence on the latent variable by way of the autoregressive coefficient, θ 1. The corresponding figures for the specification that used the growth in the index of leading indicators as an instrument in the latent regime strength equation are Figures 4 and 5. The results for the posterior mean of the latent variable and the posterior mean of the regime probabiilities are largely the same as they were in Figures 2 and 3 without an instrument, although the 1980 regime shift starts earlier with the instrument. In addition, the specification that uses the leading indicators also finds a near-recession in 1995, when a recession scare, emanating from a false alarm from the leading indicators among other sources, led the Federal Reserve to cut the federal funds rate three times between July 1995 and January Time-varying expected regime durations With positive serial dependence, the farther the autoregressive latent variable is from 19

23 zero (the greater the strength of the current regime), the higher is the expected time before a sign (regime) change. Here we illustrate this feature of the self-contained non- Markovian regime switching model with calculations of time-varying expected durations. Starting with the posterior mean value of the latent variable, S t, and posterior mean values of the parameters, we simulated shock processes for eq. (7) until the sign changed at S t+k, where k is the duration of the regime from time t. Note that if we started from the value of S (i) t where S (i) t from each iteration i of the MCMC sampler, we would be mixing cases was positive and negative. For this reason, we use the posterior mean values as a common starting point. The mean value of k from the simulations was calculated as the expected duration. Figure 6 plots these expected durations. Given the positive intercept, λ, the expected durations are longer on average when S t is above zero (for expansions) than when it is below zero (for recessions). On average, the expected duration in the expansion regime is about three times as long as in the recession regime. This ratio suggests that about 25 percent of the observations will pertain to the recession regime and this figure is not much different from the 21 percent of quarters that the NBER has declared to be recessions. Of course, the expected durations presented here are only in-sample estimates for the purpose of illustrating this feature of the model. Conclusions In this article, we present a non-markovian regime switching model in which the magnitude of the latent variable indexes the time-varying strength of the regime. In our application to regime switching at the business cycle frequency in the growth rate of GDP, we find that the posterior mean of the latent variable looks much like a business cycle index that indicates the degree of cyclical strength or weakness in the economy. Another 20

24 useful feature of the non-markovian model is the time-varying nature of its transition probabilities. For the self-contained model, it is straightforward to calculate the expected duration of the current regime at each observation. We also demonstrate the straightforward adjustment one can make within the MCMC estimation procedure to allow for the regime process to be correlated with the observable data. Our estimates of GDP growth indicate that the regimes are likely not independent from the observed data. This feature helps regime-switching models confront regime switches where the pressure for a change in regime builds gradually across time. In terms of methodology, we exploit the fact that it is simple to take expectations of nonlinear regime indicator functions when performing the Kalman filtering as part of a multi-move sampling procedure for the latent regime strength variable. This leads to more natural updates in the Kalman filter equation and better inferences of the latent variable. 21

25 REFERENCES Albert, James H. and Siddhartha Chib (1993), Bayes Inference via Gibbs Sampling of Autoregressive Time Series, Subject to Markov Mean and Variance Shifts, Journal of Business and Economic Statistics 11, Carter, C.K. and P. Kohn (1994), On Gibbs Sampling for State-Space Models, Biometrica 81, Chib, Siddhartha and Edward Greenberg (1996), Markov Chain Monte Carlo Simulation Methods in Econometrics, Econometric Theory 12, DeJong, Robert and Tieman Woutersen (2004), Dynamic Time Series Binary Choice, manuscript Ohio State University. Eichengreen, B. and M.W. Watson and R.S. Grossman (1985), Bank Rate Policy under the Interwar Gold Standard, Economic Journal 95, Filardo, Andrew J. and Stephen F. Gordon (1998), Business Cycle Durations, Journal of Econometrics 85, Filardo, Andrew J. (1994), Business-Cycle Phases and Their Transitional Dynamics, Journal of Business and Economic Statistics 12, Hamilton, James D. (1989), A New Approach to the Economic Analysis of Nonstationary Time Series and the Business Cycle, Econometrica 57, Horowitz, Joel (1992), A Smoothed Maximum Score Estimator for the Binary Response Model, Econometrica 60, Kim, Chang-Jin, Jeremy Piger and Richard Startz (2003), Estimation of Markov Regime- Switching Regression Models with Endogenous Switching, Federal Reserve Bank of St. Louis Working Paper Lam, Pok-Sang (2004), A Markov Switching Model of GNP Growth with Duration Dependence, International Economic Review 45, Sims, Christopher and Tao Zha (2004), Were There Regime Switches in U.S. Monetary Policy? manuscript, Princeton University. 22

26 Performance of Sampling the Latent Variable in Monte Carlo (Deviation from True Value; Every 15th Observation) upper 5% lowest 5% mean

27 Figure 2: Posterior Mean of Latent Regime Strength from Self-Contained Model (no instrument)

28 Figure 3: Posterior Mean of the Probablility of the High-Growth Regime from Self-Contained Model (no instrument)

29 2000:3 2002:3 1996:3 1998:3 1994: Expected Regime Duration Implied by Self-Contained Model 1970:3 1972:3 1974:3 1976:3 1978:3 1980:3 1982:3 1984:3 1986:3 1988:3 1990:3 1992:3 1968:3 1966:3 1964:3 1962:3 1960:3

30 Figure 5: Posterior Mean of the Latent Regime Strength Using Leading Indicators as an Instrument

31 Figure 6: Posterior Mean of the Probablility of the High-Growth Regime Using Leading Indicators as an Instrument

Non-Markovian Regime Switching with Endogenous States and Time-Varying State Strengths

Non-Markovian Regime Switching with Endogenous States and Time-Varying State Strengths Non-Markovian Regime Switching with Endogenous States and Time-Varying State Strengths January 2004 Siddhartha Chib Olin School of Business Washington University chib@olin.wustl.edu Michael Dueker Federal

More information

Research Division Federal Reserve Bank of St. Louis Working Paper Series

Research Division Federal Reserve Bank of St. Louis Working Paper Series Research Division Federal Reserve Bank of St Louis Working Paper Series Kalman Filtering with Truncated Normal State Variables for Bayesian Estimation of Macroeconomic Models Michael Dueker Working Paper

More information

Online appendix to On the stability of the excess sensitivity of aggregate consumption growth in the US

Online appendix to On the stability of the excess sensitivity of aggregate consumption growth in the US Online appendix to On the stability of the excess sensitivity of aggregate consumption growth in the US Gerdie Everaert 1, Lorenzo Pozzi 2, and Ruben Schoonackers 3 1 Ghent University & SHERPPA 2 Erasmus

More information

A Comparison of Business Cycle Regime Nowcasting Performance between Real-time and Revised Data. By Arabinda Basistha (West Virginia University)

A Comparison of Business Cycle Regime Nowcasting Performance between Real-time and Revised Data. By Arabinda Basistha (West Virginia University) A Comparison of Business Cycle Regime Nowcasting Performance between Real-time and Revised Data By Arabinda Basistha (West Virginia University) This version: 2.7.8 Markov-switching models used for nowcasting

More information

Multivariate Markov Switching With Weighted Regime Determination: Giving France More Weight than Finland

Multivariate Markov Switching With Weighted Regime Determination: Giving France More Weight than Finland Multivariate Markov Switching With Weighted Regime Determination: Giving France More Weight than Finland November 2006 Michael Dueker Federal Reserve Bank of St. Louis P.O. Box 442, St. Louis, MO 63166

More information

TAKEHOME FINAL EXAM e iω e 2iω e iω e 2iω

TAKEHOME FINAL EXAM e iω e 2iω e iω e 2iω ECO 513 Spring 2015 TAKEHOME FINAL EXAM (1) Suppose the univariate stochastic process y is ARMA(2,2) of the following form: y t = 1.6974y t 1.9604y t 2 + ε t 1.6628ε t 1 +.9216ε t 2, (1) where ε is i.i.d.

More information

Working Paper Series

Working Paper Series Discussion of Cogley and Sargent s Drifts and Volatilities: Monetary Policy and Outcomes in the Post WWII U.S. Marco Del Negro Working Paper 23-26 October 23 Working Paper Series Federal Reserve Bank of

More information

DSGE MODELS WITH STUDENT-t ERRORS

DSGE MODELS WITH STUDENT-t ERRORS Econometric Reviews, 33(1 4):152 171, 2014 Copyright Taylor & Francis Group, LLC ISSN: 0747-4938 print/1532-4168 online DOI: 10.1080/07474938.2013.807152 DSGE MODELS WITH STUDENT-t ERRORS Siddhartha Chib

More information

Markov-Switching Models with Endogenous Explanatory Variables. Chang-Jin Kim 1

Markov-Switching Models with Endogenous Explanatory Variables. Chang-Jin Kim 1 Markov-Switching Models with Endogenous Explanatory Variables by Chang-Jin Kim 1 Dept. of Economics, Korea University and Dept. of Economics, University of Washington First draft: August, 2002 This version:

More information

Do Markov-Switching Models Capture Nonlinearities in the Data? Tests using Nonparametric Methods

Do Markov-Switching Models Capture Nonlinearities in the Data? Tests using Nonparametric Methods Do Markov-Switching Models Capture Nonlinearities in the Data? Tests using Nonparametric Methods Robert V. Breunig Centre for Economic Policy Research, Research School of Social Sciences and School of

More information

Business Cycle Comovements in Industrial Subsectors

Business Cycle Comovements in Industrial Subsectors Business Cycle Comovements in Industrial Subsectors Michael T. Owyang 1 Daniel Soques 2 1 Federal Reserve Bank of St. Louis 2 University of North Carolina Wilmington The views expressed here are those

More information

Bayesian Inference in GLMs. Frequentists typically base inferences on MLEs, asymptotic confidence

Bayesian Inference in GLMs. Frequentists typically base inferences on MLEs, asymptotic confidence Bayesian Inference in GLMs Frequentists typically base inferences on MLEs, asymptotic confidence limits, and log-likelihood ratio tests Bayesians base inferences on the posterior distribution of the unknowns

More information

DSGE Model Forecasting

DSGE Model Forecasting University of Pennsylvania EABCN Training School May 1, 216 Introduction The use of DSGE models at central banks has triggered a strong interest in their forecast performance. The subsequent material draws

More information

Are recoveries all the same?

Are recoveries all the same? Are recoveries all the same? Yu-Fan Huang, Sui Luo, and Richard Startz November 2015 Abstract Recessions and subsequent recoveries are frequently classified as L-shaped or U-shaped, with output losses

More information

Dynamic Factor Models and Factor Augmented Vector Autoregressions. Lawrence J. Christiano

Dynamic Factor Models and Factor Augmented Vector Autoregressions. Lawrence J. Christiano Dynamic Factor Models and Factor Augmented Vector Autoregressions Lawrence J Christiano Dynamic Factor Models and Factor Augmented Vector Autoregressions Problem: the time series dimension of data is relatively

More information

Bayesian Estimation of DSGE Models 1 Chapter 3: A Crash Course in Bayesian Inference

Bayesian Estimation of DSGE Models 1 Chapter 3: A Crash Course in Bayesian Inference 1 The views expressed in this paper are those of the authors and do not necessarily reflect the views of the Federal Reserve Board of Governors or the Federal Reserve System. Bayesian Estimation of DSGE

More information

ECO 513 Fall 2009 C. Sims HIDDEN MARKOV CHAIN MODELS

ECO 513 Fall 2009 C. Sims HIDDEN MARKOV CHAIN MODELS ECO 513 Fall 2009 C. Sims HIDDEN MARKOV CHAIN MODELS 1. THE CLASS OF MODELS y t {y s, s < t} p(y t θ t, {y s, s < t}) θ t = θ(s t ) P[S t = i S t 1 = j] = h ij. 2. WHAT S HANDY ABOUT IT Evaluating the

More information

Binomial Autoregressive Moving Average Models with. an Application to U.S. Recessions

Binomial Autoregressive Moving Average Models with. an Application to U.S. Recessions Binomial Autoregressive Moving Average Models with an Application to U.S. Recessions Richard Startz Department of Economics University of Washington Working Paper No. 56 Center for Statistics in the Social

More information

Bayesian Inference for DSGE Models. Lawrence J. Christiano

Bayesian Inference for DSGE Models. Lawrence J. Christiano Bayesian Inference for DSGE Models Lawrence J. Christiano Outline State space-observer form. convenient for model estimation and many other things. Bayesian inference Bayes rule. Monte Carlo integation.

More information

Point, Interval, and Density Forecast Evaluation of Linear versus Nonlinear DSGE Models

Point, Interval, and Density Forecast Evaluation of Linear versus Nonlinear DSGE Models Point, Interval, and Density Forecast Evaluation of Linear versus Nonlinear DSGE Models Francis X. Diebold Frank Schorfheide Minchul Shin University of Pennsylvania May 4, 2014 1 / 33 Motivation The use

More information

Bayesian Inference for DSGE Models. Lawrence J. Christiano

Bayesian Inference for DSGE Models. Lawrence J. Christiano Bayesian Inference for DSGE Models Lawrence J. Christiano Outline State space-observer form. convenient for model estimation and many other things. Bayesian inference Bayes rule. Monte Carlo integation.

More information

The Role of Aggregation in the Nonlinear Relationship between Monetary Policy and Output

The Role of Aggregation in the Nonlinear Relationship between Monetary Policy and Output The Role of Aggregation in the Nonlinear Relationship between Monetary Policy and Output Luiggi Donayre Department of Economics Washington University in St. Louis August 2010 Abstract Within a Bayesian

More information

Non-homogeneous Markov Mixture of Periodic Autoregressions for the Analysis of Air Pollution in the Lagoon of Venice

Non-homogeneous Markov Mixture of Periodic Autoregressions for the Analysis of Air Pollution in the Lagoon of Venice Non-homogeneous Markov Mixture of Periodic Autoregressions for the Analysis of Air Pollution in the Lagoon of Venice Roberta Paroli 1, Silvia Pistollato, Maria Rosa, and Luigi Spezia 3 1 Istituto di Statistica

More information

Testing for Regime Switching: A Comment

Testing for Regime Switching: A Comment Testing for Regime Switching: A Comment Andrew V. Carter Department of Statistics University of California, Santa Barbara Douglas G. Steigerwald Department of Economics University of California Santa Barbara

More information

The Kalman filter, Nonlinear filtering, and Markov Chain Monte Carlo

The Kalman filter, Nonlinear filtering, and Markov Chain Monte Carlo NBER Summer Institute Minicourse What s New in Econometrics: Time Series Lecture 5 July 5, 2008 The Kalman filter, Nonlinear filtering, and Markov Chain Monte Carlo Lecture 5, July 2, 2008 Outline. Models

More information

News Shocks: Different Effects in Boom and Recession?

News Shocks: Different Effects in Boom and Recession? News Shocks: Different Effects in Boom and Recession? Maria Bolboaca, Sarah Fischer University of Bern Study Center Gerzensee June 7, 5 / Introduction News are defined in the literature as exogenous changes

More information

IMPLIED DISTRIBUTIONS IN MULTIPLE CHANGE POINT PROBLEMS

IMPLIED DISTRIBUTIONS IN MULTIPLE CHANGE POINT PROBLEMS IMPLIED DISTRIBUTIONS IN MULTIPLE CHANGE POINT PROBLEMS J. A. D. ASTON 1,2, J. Y. PENG 3 AND D. E. K. MARTIN 4 1 CENTRE FOR RESEARCH IN STATISTICAL METHODOLOGY, WARWICK UNIVERSITY 2 INSTITUTE OF STATISTICAL

More information

Federal Reserve Bank of New York Staff Reports

Federal Reserve Bank of New York Staff Reports Federal Reserve Bank of New York Staff Reports A Flexible Approach to Parametric Inference in Nonlinear Time Series Models Gary Koop Simon Potter Staff Report no. 285 May 2007 This paper presents preliminary

More information

Bayesian Inference for DSGE Models. Lawrence J. Christiano

Bayesian Inference for DSGE Models. Lawrence J. Christiano Bayesian Inference for DSGE Models Lawrence J. Christiano Outline State space-observer form. convenient for model estimation and many other things. Preliminaries. Probabilities. Maximum Likelihood. Bayesian

More information

Spatio-temporal precipitation modeling based on time-varying regressions

Spatio-temporal precipitation modeling based on time-varying regressions Spatio-temporal precipitation modeling based on time-varying regressions Oleg Makhnin Department of Mathematics New Mexico Tech Socorro, NM 87801 January 19, 2007 1 Abstract: A time-varying regression

More information

ECO 513 Fall 2008 C.Sims KALMAN FILTER. s t = As t 1 + ε t Measurement equation : y t = Hs t + ν t. u t = r t. u 0 0 t 1 + y t = [ H I ] u t.

ECO 513 Fall 2008 C.Sims KALMAN FILTER. s t = As t 1 + ε t Measurement equation : y t = Hs t + ν t. u t = r t. u 0 0 t 1 + y t = [ H I ] u t. ECO 513 Fall 2008 C.Sims KALMAN FILTER Model in the form 1. THE KALMAN FILTER Plant equation : s t = As t 1 + ε t Measurement equation : y t = Hs t + ν t. Var(ε t ) = Ω, Var(ν t ) = Ξ. ε t ν t and (ε t,

More information

Testing an Autoregressive Structure in Binary Time Series Models

Testing an Autoregressive Structure in Binary Time Series Models ömmföäflsäafaäsflassflassflas ffffffffffffffffffffffffffffffffffff Discussion Papers Testing an Autoregressive Structure in Binary Time Series Models Henri Nyberg University of Helsinki and HECER Discussion

More information

Postestimation commands predict estat Remarks and examples Stored results Methods and formulas

Postestimation commands predict estat Remarks and examples Stored results Methods and formulas Title stata.com mswitch postestimation Postestimation tools for mswitch Postestimation commands predict estat Remarks and examples Stored results Methods and formulas References Also see Postestimation

More information

The Effects of Monetary Policy on Stock Market Bubbles: Some Evidence

The Effects of Monetary Policy on Stock Market Bubbles: Some Evidence The Effects of Monetary Policy on Stock Market Bubbles: Some Evidence Jordi Gali Luca Gambetti ONLINE APPENDIX The appendix describes the estimation of the time-varying coefficients VAR model. The model

More information

Identifying Aggregate Liquidity Shocks with Monetary Policy Shocks: An Application using UK Data

Identifying Aggregate Liquidity Shocks with Monetary Policy Shocks: An Application using UK Data Identifying Aggregate Liquidity Shocks with Monetary Policy Shocks: An Application using UK Data Michael Ellington and Costas Milas Financial Services, Liquidity and Economic Activity Bank of England May

More information

Why Has the U.S. Economy Stagnated Since the Great Recession?

Why Has the U.S. Economy Stagnated Since the Great Recession? Why Has the U.S. Economy Stagnated Since the Great Recession? Yunjong Eo, University of Sydney joint work with James Morley, University of Sydney Workshop on Nonlinear Models at the Norges Bank January

More information

The Bayesian Approach to Multi-equation Econometric Model Estimation

The Bayesian Approach to Multi-equation Econometric Model Estimation Journal of Statistical and Econometric Methods, vol.3, no.1, 2014, 85-96 ISSN: 2241-0384 (print), 2241-0376 (online) Scienpress Ltd, 2014 The Bayesian Approach to Multi-equation Econometric Model Estimation

More information

NBER WORKING PAPER SERIES IS THE SPURIOUS REGRESSION PROBLEM SPURIOUS? Bennett T. McCallum. Working Paper

NBER WORKING PAPER SERIES IS THE SPURIOUS REGRESSION PROBLEM SPURIOUS? Bennett T. McCallum. Working Paper NBER WORKING PAPER SERIES IS THE SPURIOUS REGRESSION PROBLEM SPURIOUS? Bennett T. McCallum Working Paper 15690 http://www.nber.org/papers/w15690 NATIONAL BUREAU OF ECONOMIC RESEARCH 1050 Massachusetts

More information

Estimating Unobservable Inflation Expectations in the New Keynesian Phillips Curve

Estimating Unobservable Inflation Expectations in the New Keynesian Phillips Curve econometrics Article Estimating Unobservable Inflation Expectations in the New Keynesian Phillips Curve Francesca Rondina ID Department of Economics, University of Ottawa, 120 University Private, Ottawa,

More information

Identifying SVARs with Sign Restrictions and Heteroskedasticity

Identifying SVARs with Sign Restrictions and Heteroskedasticity Identifying SVARs with Sign Restrictions and Heteroskedasticity Srečko Zimic VERY PRELIMINARY AND INCOMPLETE NOT FOR DISTRIBUTION February 13, 217 Abstract This paper introduces a new method to identify

More information

VAR models with non-gaussian shocks

VAR models with non-gaussian shocks VAR models with non-gaussian shocks Ching-Wai (Jeremy) Chiu Haroon Mumtaz Gabor Pinter September 27, 2016 Motivation and aims Density of the residuals from a recursive VAR(13) (1960m1-2015m6) Motivation

More information

SUPPLEMENT TO MARKET ENTRY COSTS, PRODUCER HETEROGENEITY, AND EXPORT DYNAMICS (Econometrica, Vol. 75, No. 3, May 2007, )

SUPPLEMENT TO MARKET ENTRY COSTS, PRODUCER HETEROGENEITY, AND EXPORT DYNAMICS (Econometrica, Vol. 75, No. 3, May 2007, ) Econometrica Supplementary Material SUPPLEMENT TO MARKET ENTRY COSTS, PRODUCER HETEROGENEITY, AND EXPORT DYNAMICS (Econometrica, Vol. 75, No. 3, May 2007, 653 710) BY SANGHAMITRA DAS, MARK ROBERTS, AND

More information

Testing for Regime Switching in Singaporean Business Cycles

Testing for Regime Switching in Singaporean Business Cycles Testing for Regime Switching in Singaporean Business Cycles Robert Breunig School of Economics Faculty of Economics and Commerce Australian National University and Alison Stegman Research School of Pacific

More information

Markov Chain Monte Carlo methods

Markov Chain Monte Carlo methods Markov Chain Monte Carlo methods By Oleg Makhnin 1 Introduction a b c M = d e f g h i 0 f(x)dx 1.1 Motivation 1.1.1 Just here Supresses numbering 1.1.2 After this 1.2 Literature 2 Method 2.1 New math As

More information

A Time-Varying Threshold STAR Model of Unemployment

A Time-Varying Threshold STAR Model of Unemployment A Time-Varying Threshold STAR Model of Unemloyment michael dueker a michael owyang b martin sola c,d a Russell Investments b Federal Reserve Bank of St. Louis c Deartamento de Economia, Universidad Torcuato

More information

Estimating Markov-switching regression models in Stata

Estimating Markov-switching regression models in Stata Estimating Markov-switching regression models in Stata Ashish Rajbhandari Senior Econometrician StataCorp LP Stata Conference 2015 Ashish Rajbhandari (StataCorp LP) Markov-switching regression Stata Conference

More information

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY PREFACE xiii 1 Difference Equations 1.1. First-Order Difference Equations 1 1.2. pth-order Difference Equations 7

More information

Predicting bond returns using the output gap in expansions and recessions

Predicting bond returns using the output gap in expansions and recessions Erasmus university Rotterdam Erasmus school of economics Bachelor Thesis Quantitative finance Predicting bond returns using the output gap in expansions and recessions Author: Martijn Eertman Studentnumber:

More information

Are Forecast Updates Progressive?

Are Forecast Updates Progressive? CIRJE-F-736 Are Forecast Updates Progressive? Chia-Lin Chang National Chung Hsing University Philip Hans Franses Erasmus University Rotterdam Michael McAleer Erasmus University Rotterdam and Tinbergen

More information

K-state switching models with time-varying transition distributions Does credit growth signal stronger effects of variables on inflation?

K-state switching models with time-varying transition distributions Does credit growth signal stronger effects of variables on inflation? K-state switching models with time-varying transition distributions Does credit growth signal stronger effects of variables on inflation? Sylvia Kaufmann Working Paper 4.4 This discussion paper series

More information

Comment on A Comparison of Two Business Cycle Dating Methods. James D. Hamilton

Comment on A Comparison of Two Business Cycle Dating Methods. James D. Hamilton Comment on A Comparison of Two Business Cycle Dating Methods James D. Hamilton Harding and Pagan note that their stripped-down Markov-switching model (3)-(5) is an example of a standard state-space model,

More information

Estimating Macroeconomic Models: A Likelihood Approach

Estimating Macroeconomic Models: A Likelihood Approach Estimating Macroeconomic Models: A Likelihood Approach Jesús Fernández-Villaverde University of Pennsylvania, NBER, and CEPR Juan Rubio-Ramírez Federal Reserve Bank of Atlanta Estimating Dynamic Macroeconomic

More information

Business cycles and changes in regime. 1. Motivating examples 2. Econometric approaches 3. Incorporating into theoretical models

Business cycles and changes in regime. 1. Motivating examples 2. Econometric approaches 3. Incorporating into theoretical models Business cycles and changes in regime 1. Motivating examples 2. Econometric approaches 3. Incorporating into theoretical models 1 1. Motivating examples Many economic series exhibit dramatic breaks: -

More information

Latent Variable Models for Binary Data. Suppose that for a given vector of explanatory variables x, the latent

Latent Variable Models for Binary Data. Suppose that for a given vector of explanatory variables x, the latent Latent Variable Models for Binary Data Suppose that for a given vector of explanatory variables x, the latent variable, U, has a continuous cumulative distribution function F (u; x) and that the binary

More information

Monetary and Exchange Rate Policy Under Remittance Fluctuations. Technical Appendix and Additional Results

Monetary and Exchange Rate Policy Under Remittance Fluctuations. Technical Appendix and Additional Results Monetary and Exchange Rate Policy Under Remittance Fluctuations Technical Appendix and Additional Results Federico Mandelman February In this appendix, I provide technical details on the Bayesian estimation.

More information

Bayesian Linear Models

Bayesian Linear Models Bayesian Linear Models Sudipto Banerjee 1 and Andrew O. Finley 2 1 Department of Forestry & Department of Geography, Michigan State University, Lansing Michigan, U.S.A. 2 Biostatistics, School of Public

More information

Lecture 4: Dynamic models

Lecture 4: Dynamic models linear s Lecture 4: s Hedibert Freitas Lopes The University of Chicago Booth School of Business 5807 South Woodlawn Avenue, Chicago, IL 60637 http://faculty.chicagobooth.edu/hedibert.lopes hlopes@chicagobooth.edu

More information

Gibbs Sampling in Latent Variable Models #1

Gibbs Sampling in Latent Variable Models #1 Gibbs Sampling in Latent Variable Models #1 Econ 690 Purdue University Outline 1 Data augmentation 2 Probit Model Probit Application A Panel Probit Panel Probit 3 The Tobit Model Example: Female Labor

More information

Modelling and forecasting of offshore wind power fluctuations with Markov-Switching models

Modelling and forecasting of offshore wind power fluctuations with Markov-Switching models Modelling and forecasting of offshore wind power fluctuations with Markov-Switching models 02433 - Hidden Markov Models Pierre-Julien Trombe, Martin Wæver Pedersen, Henrik Madsen Course week 10 MWP, compiled

More information

Are 'unbiased' forecasts really unbiased? Another look at the Fed forecasts 1

Are 'unbiased' forecasts really unbiased? Another look at the Fed forecasts 1 Are 'unbiased' forecasts really unbiased? Another look at the Fed forecasts 1 Tara M. Sinclair Department of Economics George Washington University Washington DC 20052 tsinc@gwu.edu Fred Joutz Department

More information

Identifying the Monetary Policy Shock Christiano et al. (1999)

Identifying the Monetary Policy Shock Christiano et al. (1999) Identifying the Monetary Policy Shock Christiano et al. (1999) The question we are asking is: What are the consequences of a monetary policy shock a shock which is purely related to monetary conditions

More information

Mixing the Ingredients: Business cycles, Technology Shocks, Productivity Slowdown and the Great Moderation

Mixing the Ingredients: Business cycles, Technology Shocks, Productivity Slowdown and the Great Moderation Mixing the Ingredients: Business cycles, Technology Shocks, Productivity Slowdown and the Great Moderation Máximo Camacho Universidad de Murcia Gabriel Pérez Quirós Banco de España Hugo Rodríguez Mendizábal

More information

Switching Regime Estimation

Switching Regime Estimation Switching Regime Estimation Series de Tiempo BIrkbeck March 2013 Martin Sola (FE) Markov Switching models 01/13 1 / 52 The economy (the time series) often behaves very different in periods such as booms

More information

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA CHAPTER 6 TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA 6.1. Introduction A time series is a sequence of observations ordered in time. A basic assumption in the time series analysis

More information

Bayesian Linear Models

Bayesian Linear Models Bayesian Linear Models Sudipto Banerjee 1 and Andrew O. Finley 2 1 Biostatistics, School of Public Health, University of Minnesota, Minneapolis, Minnesota, U.S.A. 2 Department of Forestry & Department

More information

Financial Econometrics

Financial Econometrics Financial Econometrics Nonlinear time series analysis Gerald P. Dwyer Trinity College, Dublin January 2016 Outline 1 Nonlinearity Does nonlinearity matter? Nonlinear models Tests for nonlinearity Forecasting

More information

Research Division Federal Reserve Bank of St. Louis Working Paper Series

Research Division Federal Reserve Bank of St. Louis Working Paper Series Research Division Federal Reserve Bank of St. Louis Working Paper Series A Time-Varying Threshold STAR Model of Unemployment and the Natural Rate Michael Dueker Michael T. Owyang and Martin Sola Working

More information

CENTRE FOR APPLIED MACROECONOMIC ANALYSIS

CENTRE FOR APPLIED MACROECONOMIC ANALYSIS CENTRE FOR APPLIED MACROECONOMIC ANALYSIS The Australian National University CAMA Working Paper Series May, 2005 SINGLE SOURCE OF ERROR STATE SPACE APPROACH TO THE BEVERIDGE NELSON DECOMPOSITION Heather

More information

Searching for the Output Gap: Economic Variable or Statistical Illusion? Mark W. Longbrake* J. Huston McCulloch

Searching for the Output Gap: Economic Variable or Statistical Illusion? Mark W. Longbrake* J. Huston McCulloch Draft Draft Searching for the Output Gap: Economic Variable or Statistical Illusion? Mark W. Longbrake* The Ohio State University J. Huston McCulloch The Ohio State University August, 2007 Abstract This

More information

A Robust Approach to Estimating Production Functions: Replication of the ACF procedure

A Robust Approach to Estimating Production Functions: Replication of the ACF procedure A Robust Approach to Estimating Production Functions: Replication of the ACF procedure Kyoo il Kim Michigan State University Yao Luo University of Toronto Yingjun Su IESR, Jinan University August 2018

More information

Bayesian Monte Carlo Filtering for Stochastic Volatility Models

Bayesian Monte Carlo Filtering for Stochastic Volatility Models Bayesian Monte Carlo Filtering for Stochastic Volatility Models Roberto Casarin CEREMADE University Paris IX (Dauphine) and Dept. of Economics University Ca Foscari, Venice Abstract Modelling of the financial

More information

Part I State space models

Part I State space models Part I State space models 1 Introduction to state space time series analysis James Durbin Department of Statistics, London School of Economics and Political Science Abstract The paper presents a broad

More information

Labor-Supply Shifts and Economic Fluctuations. Technical Appendix

Labor-Supply Shifts and Economic Fluctuations. Technical Appendix Labor-Supply Shifts and Economic Fluctuations Technical Appendix Yongsung Chang Department of Economics University of Pennsylvania Frank Schorfheide Department of Economics University of Pennsylvania January

More information

Obtaining Critical Values for Test of Markov Regime Switching

Obtaining Critical Values for Test of Markov Regime Switching University of California, Santa Barbara From the SelectedWorks of Douglas G. Steigerwald November 1, 01 Obtaining Critical Values for Test of Markov Regime Switching Douglas G Steigerwald, University of

More information

Estimating VAR s Sampled at Mixed or Irregular Spaced Frequencies: A Bayesian Approach

Estimating VAR s Sampled at Mixed or Irregular Spaced Frequencies: A Bayesian Approach Estimating VAR s Sampled at Mixed or Irregular Spaced Frequencies: A Bayesian Approach Ching Wai (Jeremy) Chiu, Bjørn Eraker, Andrew T. Foerster, Tae Bong Kim and Hernán D. Seoane December 211 RWP 11-11

More information

Marginal Specifications and a Gaussian Copula Estimation

Marginal Specifications and a Gaussian Copula Estimation Marginal Specifications and a Gaussian Copula Estimation Kazim Azam Abstract Multivariate analysis involving random variables of different type like count, continuous or mixture of both is frequently required

More information

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY

Time Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY & Contents PREFACE xiii 1 1.1. 1.2. Difference Equations First-Order Difference Equations 1 /?th-order Difference

More information

The University of Manchester

The University of Manchester The University of Manchester Discussion Paper Series Seasonal Adjustment and the Detection of Business Cycle Phases By Antoni Matas-Mir * and Denise R Osborn * European Central Bank, rankfurt, Germany

More information

Outline. Clustering. Capturing Unobserved Heterogeneity in the Austrian Labor Market Using Finite Mixtures of Markov Chain Models

Outline. Clustering. Capturing Unobserved Heterogeneity in the Austrian Labor Market Using Finite Mixtures of Markov Chain Models Capturing Unobserved Heterogeneity in the Austrian Labor Market Using Finite Mixtures of Markov Chain Models Collaboration with Rudolf Winter-Ebmer, Department of Economics, Johannes Kepler University

More information

Research Division Federal Reserve Bank of St. Louis Working Paper Series

Research Division Federal Reserve Bank of St. Louis Working Paper Series Research Division Federal Reserve Bank of St. Louis Working Paper Series Forecasting National Recessions Using State Level Data Michael T. Owyang Jeremy M. Piger and Howard J. Wall Working Paper 2012-013B

More information

Gaussian Mixture Approximations of Impulse Responses and the Non-Linear Effects of Monetary Shocks

Gaussian Mixture Approximations of Impulse Responses and the Non-Linear Effects of Monetary Shocks Gaussian Mixture Approximations of Impulse Responses and the Non-Linear Effects of Monetary Shocks Regis Barnichon (CREI, Universitat Pompeu Fabra) Christian Matthes (Richmond Fed) Effects of monetary

More information

A Test for State-Dependent Predictive Ability based on a Markov-Switching Framework

A Test for State-Dependent Predictive Ability based on a Markov-Switching Framework A Test for State-Dependent Predictive Ability based on a Markov-Switching Framework Sebastian Fossati University of Alberta This version: May 17, 2018 Abstract This paper proposes a new test for comparing

More information

Lecture on State Dependent Government Spending Multipliers

Lecture on State Dependent Government Spending Multipliers Lecture on State Dependent Government Spending Multipliers Valerie A. Ramey University of California, San Diego and NBER February 25, 2014 Does the Multiplier Depend on the State of Economy? Evidence suggests

More information

DSGE Methods. Estimation of DSGE models: Maximum Likelihood & Bayesian. Willi Mutschler, M.Sc.

DSGE Methods. Estimation of DSGE models: Maximum Likelihood & Bayesian. Willi Mutschler, M.Sc. DSGE Methods Estimation of DSGE models: Maximum Likelihood & Bayesian Willi Mutschler, M.Sc. Institute of Econometrics and Economic Statistics University of Münster willi.mutschler@uni-muenster.de Summer

More information

A primer on Structural VARs

A primer on Structural VARs A primer on Structural VARs Claudia Foroni Norges Bank 10 November 2014 Structural VARs 1/ 26 Refresh: what is a VAR? VAR (p) : where y t K 1 y t = ν + B 1 y t 1 +... + B p y t p + u t, (1) = ( y 1t...

More information

Working Paper Series. A note on implementing the Durbin and Koopman simulation smoother. No 1867 / November Marek Jarocinski

Working Paper Series. A note on implementing the Durbin and Koopman simulation smoother. No 1867 / November Marek Jarocinski Working Paper Series Marek Jarocinski A note on implementing the Durbin and Koopman simulation smoother No 1867 / November 2015 Note: This Working Paper should not be reported as representing the views

More information

A Bayesian Approach to Testing for Markov Switching in Univariate and Dynamic Factor Models

A Bayesian Approach to Testing for Markov Switching in Univariate and Dynamic Factor Models A Bayesian Approach to Testing for Markov Switching in Univariate and Dynamic Factor Models by Chang-Jin Kim Korea University and Charles R. Nelson University of Washington August 25, 1998 Kim: Dept. of

More information

Assessing Structural Convergence between Romanian Economy and Euro Area: A Bayesian Approach

Assessing Structural Convergence between Romanian Economy and Euro Area: A Bayesian Approach Vol. 3, No.3, July 2013, pp. 372 383 ISSN: 2225-8329 2013 HRMARS www.hrmars.com Assessing Structural Convergence between Romanian Economy and Euro Area: A Bayesian Approach Alexie ALUPOAIEI 1 Ana-Maria

More information

The Metropolis-Hastings Algorithm. June 8, 2012

The Metropolis-Hastings Algorithm. June 8, 2012 The Metropolis-Hastings Algorithm June 8, 22 The Plan. Understand what a simulated distribution is 2. Understand why the Metropolis-Hastings algorithm works 3. Learn how to apply the Metropolis-Hastings

More information

Construction of a Business Cycle Indicator in Japan: A Dynamic Factor Model with Observable Regime Switch

Construction of a Business Cycle Indicator in Japan: A Dynamic Factor Model with Observable Regime Switch Construction of a Business Cycle Indicator in Japan: A Dynamic Factor Model with Observable Regime Switch September Satoru Kanoh Institute of Economic Research Hitotsubashi University Naka -1, Kunitachi

More information

Estimating and Testing the US Model 8.1 Introduction

Estimating and Testing the US Model 8.1 Introduction 8 Estimating and Testing the US Model 8.1 Introduction The previous chapter discussed techniques for estimating and testing complete models, and this chapter applies these techniques to the US model. For

More information

Online Appendix to: Marijuana on Main Street? Estimating Demand in Markets with Limited Access

Online Appendix to: Marijuana on Main Street? Estimating Demand in Markets with Limited Access Online Appendix to: Marijuana on Main Street? Estating Demand in Markets with Lited Access By Liana Jacobi and Michelle Sovinsky This appendix provides details on the estation methodology for various speci

More information

New Information Response Functions

New Information Response Functions New Information Response Functions Caroline JARDET (1) Banque de France Alain MONFORT (2) CNAM, CREST and Banque de France Fulvio PEGORARO (3) Banque de France and CREST First version : February, 2009.

More information

Non-Markovian Regime-Switching Models. by Chang-Jin Kim University of Washington and Jaeho Kim 1 University of Oklahoma. March, 2018.

Non-Markovian Regime-Switching Models. by Chang-Jin Kim University of Washington and Jaeho Kim 1 University of Oklahoma. March, 2018. Non-Markovian Regime-Switching Models by Chang-Jin Kim University of Washington and Jaeho Kim 1 University of Oklahoma March, 2018 Abstract This paper revisits the non-markovian regime switching model

More information

IV. Markov-switching models

IV. Markov-switching models IV. Markov-switching models A. Introduction to Markov-switching models Many economic series exhibit dramatic breaks: - recessions - financial panics - currency crises Questions to be addressed: - how handle

More information

Discussion of Bootstrap prediction intervals for linear, nonlinear, and nonparametric autoregressions, by Li Pan and Dimitris Politis

Discussion of Bootstrap prediction intervals for linear, nonlinear, and nonparametric autoregressions, by Li Pan and Dimitris Politis Discussion of Bootstrap prediction intervals for linear, nonlinear, and nonparametric autoregressions, by Li Pan and Dimitris Politis Sílvia Gonçalves and Benoit Perron Département de sciences économiques,

More information

Nowcasting Norwegian GDP

Nowcasting Norwegian GDP Nowcasting Norwegian GDP Knut Are Aastveit and Tørres Trovik May 13, 2007 Introduction Motivation The last decades of advances in information technology has made it possible to access a huge amount of

More information

Reproducing Business Cycle Features: How Important Is Nonlinearity Versus Multivariate Information?

Reproducing Business Cycle Features: How Important Is Nonlinearity Versus Multivariate Information? Reproducing Business Cycle Features: How Important Is Nonlinearity Versus Multivariate Information? James Morley, Jeremy Piger, and Pao-Lin Tien * First draft: July 17 th, 2008 Abstract Model evaluation

More information

Impulse-Response Analysis in Markov Switching Vector Autoregressive Models

Impulse-Response Analysis in Markov Switching Vector Autoregressive Models Impulse-Response Analysis in Markov Switching Vector Autoregressive Models Hans-Martin Krolzig Economics Department, University of Kent, Keynes College, Canterbury CT2 7NP October 16, 2006 Abstract By

More information

Stock index returns density prediction using GARCH models: Frequentist or Bayesian estimation?

Stock index returns density prediction using GARCH models: Frequentist or Bayesian estimation? MPRA Munich Personal RePEc Archive Stock index returns density prediction using GARCH models: Frequentist or Bayesian estimation? Ardia, David; Lennart, Hoogerheide and Nienke, Corré aeris CAPITAL AG,

More information