**??? Error using ==> schur
Input to SCHUR must not contain NaN or Inf.**

Where is my error?

Thanks for your help!

wangshuai.zip (24.7 KB)

**??? Error using ==> schur
Input to SCHUR must not contain NaN or Inf.**

Where is my error?

Thanks for your help!

wangshuai.zip (24.7 KB)

Run model_diagnostics, which turns up:

[quote]MODEL_DIAGNOSTICS: The following endogenous variables aren’t present at the current period in the model:

zetalU

[/quote]

Hi Johannes,

This problem has been solved.But i had a new problem now. I got:

**All parameters are identified in the model (rank of H).

WARNING !!!

The rank of J (moments) is deficient!**

Where am I wrong？

Thanks for your help.

Dear Professor.

I already fixed all problems.

Then i added the shock_decomposition(parameter_set =posterior_mode);

But i got ** “Reference to non-existent field ‘varobsr’.”**

Which command should I run?

[quote=“qing23185”]Dear Professor.

I already fixed all problems.

Then i added the shock_decomposition(parameter_set =posterior_mode);

But i got ** “Reference to non-existent field ‘varobsr’.”**

Which command should I run?[/quote]

Sorry.It is “Reference to non-existent field ‘varobs’.”

You cannot do

at the posterior mode when you do not estimate the model. Use the `parameter_set=calibration `

option. You still need to define observables (which is the cause of the error message) and provide a datefile. Otherwise, there is no data on which to do the decomposition