Hi,

When I run my model on dynare I keep getting the following message:

In an assignment A(I) = B, the number of elements in B and

I must be the same.

Does this mean that I have lagged one of the variables incorrectly (the usual use stock at the end of the period and not beginning of the period), or could there be another explanation?

If it is a timing of lags issue, I suspect it’s probably something to do with me including a lagrangian multipler in the model.

My dynare model includes a lagrangian multiplier on an employment evolution equation a la mortensen pissarides:

n(+1) = (1-p)n + q*v

I realize that n here should be modelled as one would model capital (i.e. stock at the end of the period and hence n above should be n(-1) etc), but what about the lagrangian multiplier on this equation? How would one write the timing for this lagrangian multiplier? Should it also be treated in a similar manner? Unfortunately I can’t get rid of this lagrangean multiplier so I have to include it in the model. Any help on this matter would be greatly appreicated.