Input to SCHUR must not contain NaN or Inf.

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Input to SCHUR must not contain NaN or Inf.

Postby qing23185 » Tue Apr 05, 2016 4:08 am

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


Where is my error?
Thanks for your help!
Attachments
wangshuai.zip
(24.74 KiB) Downloaded 87 times
qing23185
 
Posts: 9
Joined: Sun Mar 20, 2016 9:15 am

Re: Input to SCHUR must not contain NaN or Inf.

Postby jpfeifer » Tue Apr 05, 2016 7:06 pm

Run model_diagnostics, which turns up:
MODEL_DIAGNOSTICS: The following endogenous variables aren't present at the current period in the model:
zetalU
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Input to SCHUR must not contain NaN or Inf.

Postby qing23185 » Wed Apr 06, 2016 3:58 pm

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.
qing23185
 
Posts: 9
Joined: Sun Mar 20, 2016 9:15 am

Re: Input to SCHUR must not contain NaN or Inf.

Postby qing23185 » Wed Apr 06, 2016 4:00 pm

This is code and data.
Attachments
wangshuai1.zip
(31.04 KiB) Downloaded 90 times
qing23185
 
Posts: 9
Joined: Sun Mar 20, 2016 9:15 am

Re: Input to SCHUR must not contain NaN or Inf.

Postby qing23185 » Fri Apr 08, 2016 1:33 pm

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?
qing23185
 
Posts: 9
Joined: Sun Mar 20, 2016 9:15 am

Re: Input to SCHUR must not contain NaN or Inf.

Postby qing23185 » Fri Apr 08, 2016 1:34 pm

This is new code and data.
Attachments
wangshuai2.zip
(18.49 KiB) Downloaded 77 times
qing23185
 
Posts: 9
Joined: Sun Mar 20, 2016 9:15 am

Re: Input to SCHUR must not contain NaN or Inf.

Postby qing23185 » Fri Apr 08, 2016 1:37 pm

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'."
qing23185
 
Posts: 9
Joined: Sun Mar 20, 2016 9:15 am

Re: Input to SCHUR must not contain NaN or Inf.

Postby jpfeifer » Thu Apr 14, 2016 8:26 am

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
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 14 guests