Transition dynamics for exchange rate regime switch

Hi professor Pfeifer

  I want to do a transition experiment. As some shock hits the economy, it deviates from the steady state.After some periods(assuming at period 15), I switch to a different exchange rate regime specified by different parameters, which can accelerate the economy back to its original steady state. My question is how to implement the switch at some period in dynare ?

 Suggestions from others are also appreciated. Thanks in advance. Have a nice day.

Depends on whether your exercise is perfect foresight or not. In perfect foresight, see [Permanent Shock to a Parameter). For a stochastic environment, see the discussion in [Using dummy variables in dynare)

Hi.professor pfeifer

 I  want to do an experiment of current accout reversal. As US runs  substantial current account deficit, I want to reverse US current account and simulate the model from deficit instead of  steady state. I do this simulation using two approaches. One is specifying values of state variables in the histval block. The other is using simult_  function. Which way do you think is preferable?

That depends on the setup. What you describe seems to be a simple transition from a starting point back to steady state. This is done with the initval/histval block. If you are thinking about a true regime switch where something completely exogenous suddenly permanently changes, you should go for the simult_ approach.

Hi, professor Pfeifer

 I run into a problem as I perform a transition exercise in a context of perfect foresight. There are a couple of parameters whose values should be decided endogenously in the model , but they can not be included in the initval block. How should I fix this problem ?

What do you mean with