Difference between different types of moments

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.

Re: Difference between different types of moments

Postby jpfeifer » Fri Dec 12, 2014 3:28 pm

------------
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: Difference between different types of moments

Postby devidosti » Mon Dec 15, 2014 4:25 pm

thanks for the reply!
devidosti
 
Posts: 6
Joined: Thu Dec 11, 2014 6:39 pm

Re: Difference between different types of moments

Postby devidosti » Thu Jan 29, 2015 9:13 am

hey all, i absolutely need you to help me fixing this code

problem with finding the steady states and sometime blanchand and kahn condition non verified

davide
Attachments
Regional.mod
(6.45 KiB) Downloaded 50 times
devidosti
 
Posts: 6
Joined: Thu Dec 11, 2014 6:39 pm

Re: Difference between different types of moments

Postby jpfeifer » Mon Feb 09, 2015 2:00 pm

Put
Code: Select all
resid(1);

before the steady command. Your model is supposed to be linear, but given initial values of 0, resid(1) returns:
Residuals of the static equations:

Equation number 1 : 0
Equation number 2 : 0
Equation number 3 : 0
Equation number 4 : 0
Equation number 5 : 0
Equation number 6 : 0
Equation number 7 : 0
Equation number 8 : -0.03475
Equation number 9 : -0.03475
Equation number 10 : 0
Equation number 11 : 0
Equation number 12 : 0
Equation number 13 : 0
Equation number 14 : 0
Equation number 15 : 0
Equation number 16 : 0
Equation number 17 : 0
Equation number 18 : 0
Equation number 19 : 0
Equation number 20 : 0
Equation number 21 : 0
Equation number 22 : 0
Equation number 23 : 0
Equation number 24 : -1
Equation number 25 : -1
Equation number 26 : -0.99
Equation number 27 : -0.99
Equation number 28 : -0.5
Equation number 29 : -0.5
Equation number 30 : 1
Equation number 31 : 1
Equation number 32 : 0
Equation number 33 : 0
Equation number 34 : -0.009537
Equation number 35 : -0.009537
Equation number 36 : -1
Equation number 37 : -0.5
Equation number 38 : 0
Equation number 39 : 0
Equation number 40 : 0
Equation number 41 : 0
Equation number 42 : 0
Equation number 43 : 0
Equation number 44 : 0
Equation number 45 : 0

The non-zero equations are the ones where the linearization must be wrong or wrongly entered.
------------
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

Previous

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests