Identifying lagged variables

Hello,

I have a model whose linear solution has many lags and different variables appearing in each lag. I would like to know if there is a way to get from dynare solution both the maximum number of lags and which variables appear in each lag.

Thanks a lot.

nsouzas.

Hi,

Look at the following variables:

M_.max_endo_lag
M_.lead_lag_incidence

(the latter has leads/lags in columns, variables in lines: any non-zero entry means that a given endogenous appears at the given lead/lag)

Best,

Dear S├ębastian, thanks a lot for the help.

Sincerely,

nsouzas