Hello Johanes!
Again, thank you for your response. You re a very generous person with your knowledge. I appreciate it very much.
Let me explain what the
qx variable is. This variable, which I use as an auxiliary variable the code (a pounded # variable), defines the probability that agents assign to being in a monetary regime of peg; thus
1-qx is the probability people assign of being in an inflation targeting regime. This auxiliary variable
qx (line 37) is an increasing function of the foreign exchange purchases from the central bank. These purchases are defined in the codes as the variable
x (line 50).
The idea I have in mind is to see if (and in a positive case when) the central bank has conducted foreign exchange policy in the pursue of output growth. I intend to do it by looking at the probability people assign to the pegged interest rate. I will be very happy if I could see the shock decomposition on some variables and identify the periods where the interest rate shocks (the variable
epsiloni in the code -line 48-) had a significant impact in some variables such as output and inflation. The problem is that I don't manage to make Dynare to estimate the model.
I have included the
model_diagnostics block as you proposed me, but (maybe I do not know where to look) I don't see any difference in Dyane's output.
I find very interesting to use the
check and
resid blocks because i can see if my eigenvalues and the residuals, which in turn allows me to see which equations may present problems. The problem is that everything seems to be good because i have 4 eigenvalues outside the unit circle for the 4 forward looking variables and all the residuals are zero.
I was thinking that maybe the error Dynare gives me when it tries to estimate the model
- Code: Select all
Error using print_info (line 45)
Blanchard Kahn conditions are not satisfied: indeterminacy
may come from the fact that the
qx variable is non-linear, as you very well pointed out. This is the reason why I wanted to see if there is a possible way to define this probability using a linear function of
x.
What do you think Johanes, does it makes sense? and if so, do you know which formula could I use for this probability?
Yours cordially,
Este