Hi.
I run a New Keynesian DSGE model with 23 equations and 23 endogenous variables.

When I run the model I have QZ decomposotion error in solving the model. I used model_diagonistic command to recognize the problem. This command indicates that:

There are not enough input arguments.

But I have 23 endogenous variables and also 23 equations in the model.

What can be the cause of this problem ? NEWNKDSGE.mod (4.1 KB)

Hi.
I changed the model structure. Many problems solved completely but impulse response functions have explosive form and are not normal. When I use model_diagnostics(M_,options_,oo_) command this command indicates that there is no obvious problem in the model and resids are zero for all equations.

I attach you my DSGE file for better investigation. ANEWMODEL.mod (4.6 KB)