Page 1 of 1
Input to SCHUR must not contain NaN or Inf.
Posted:
Tue Apr 05, 2016 4:08 am
by qing23185
??? Error using ==> schur
Input to SCHUR must not contain NaN or Inf.
Where is my error?
Thanks for your help!
Re: Input to SCHUR must not contain NaN or Inf.
Posted:
Tue Apr 05, 2016 7:06 pm
by jpfeifer
Run model_diagnostics, which turns up:
MODEL_DIAGNOSTICS: The following endogenous variables aren't present at the current period in the model:
zetalU
Re: Input to SCHUR must not contain NaN or Inf.
Posted:
Wed Apr 06, 2016 3:58 pm
by qing23185
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.
Re: Input to SCHUR must not contain NaN or Inf.
Posted:
Wed Apr 06, 2016 4:00 pm
by qing23185
This is code and data.
Re: Input to SCHUR must not contain NaN or Inf.
Posted:
Fri Apr 08, 2016 1:33 pm
by 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?
Re: Input to SCHUR must not contain NaN or Inf.
Posted:
Fri Apr 08, 2016 1:34 pm
by qing23185
This is new code and data.
Re: Input to SCHUR must not contain NaN or Inf.
Posted:
Fri Apr 08, 2016 1:37 pm
by qing23185
qing23185 wrote: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?
Sorry.It is "Reference to non-existent field 'varobs'."
Re: Input to SCHUR must not contain NaN or Inf.
Posted:
Thu Apr 14, 2016 8:26 am
by jpfeifer
You cannot do
- Code: Select all
shock_decomposition(parameter_set =posterior_mode);
at the posterior mode when you do not estimate the model. Use the
- Code: Select all
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