I am trying to estimate a small open economy model. The model is rather large: to simplify, let’s say I have four equations (IS-PC-MPR-exchange rate) with four endogenous variables (interest rate, output gap, inflation, exchange rate delta), three shocks (one per equation) and one exogenous variable, Fed Funds rate.

So the model looks something like this:

```
i = c+ alpha1*i(-1) + alpha2*(pi - pi_target) + v
pi = g + beta*outputgap + beta1*pi(-1) + beta2*fx(-1) + u
outputgap = k + gamma*(i(-1) - pi(-1)) + e
fx = i - i_fed
```

This is a simplification, so please do let me know if I’m unclear. I am trying to replicate a paper by the BCB which I can provide if needed.

I would be very grateful if you could please help me with the treatment of the fed funds rate. I’m very much a beginner, so please do redirect me elsewhere if I have missed a previous explanation. From what I understand, there are three ways to incorporate the path we know of the fed funds rate when estimating the parameters of the model:

- treating it as a varobvs, which however in this case presents both a practical issue (not enough equations per endogenous variables) and a theoretical issue (the fed doesn’t care about this particular economy, so it’s not endogenous, and also it cannot be predicted from within the model)
- treating it as varexo, in which case we have two choices: either we say we’re in a stochastic world, and then we can only set the variance of shocks, not their path - which loses the very convenient information that we gain from knowing the path of the fed funds rate at the same time we were observing the rest of the variables; or we say it’s deterministic and we set a path, which however means that the agents will incorporate the information about it from the very start, which however isn’t the case, since the fed isn’t observed until time t in this model, and there’s not other way to predict what they will do.

I guess my question is then: how do we set the path of exogenous variables for the purpose of estimation, if the path of these variables is known? if useful: I have also been reading the documentation on histval, which however as far as I understand 1. doesn’t take a vector as argument, so I would have to input the values manually 2. doesn’t make the dates of the variable correspond to the dates of the endogenous variables. Similarly initval and endval don’t allow for the path but only for some equivalent of a steady state value (which makes sense to me on the basis of the documentation).

I’m sure I have missed something enormous but I am unable to find what it is! Please do redirect me to some documentation/example files if you have some - all the ones I find have varexos being strictly shocks, so more the equivalent of e, v and u as above.

Thanks so much in advance, and apologies if I’m missing some important chunks of Dynare.