numerical or model error?

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.

numerical or model error?

Postby dmbn » Fri Feb 10, 2017 10:29 am

Hi! The following model has two AR(1) processes:
Code: Select all
log(theta) = aTheta + bTheta log(theta(-1))+epsTheta
log(Chi) = aChi + bTChi log(Chi(-1))+epsChi

Normally, if I shock theta, Chi should show no reaction. But in my case Chi behaves very strange: after three periods it jumps from 0 to -2.7756e-17. At period 28 it jumps back to 0. Is it a dynare/numerical error or can it lie on the model? Thanks in advance!

P.S.: both values from parameterfile:
Code: Select all
chiS = 1.181357861634841e+003
chiN = 1.273992578596610
Attachments
small.mod
(2.47 KiB) Downloaded 72 times
Last edited by dmbn on Fri Feb 17, 2017 9:58 am, edited 1 time in total.
dmbn
 
Posts: 17
Joined: Mon Jun 02, 2014 7:46 pm

Re: numerical or model error?

Postby jpfeifer » Sat Feb 11, 2017 6:36 am

Usually, anything smaller than 1e-10 is numerical error and indistinguishable from 0.
------------
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: numerical or model error?

Postby dmbn » Fri Feb 17, 2017 9:57 am

Thanks a lot!
dmbn
 
Posts: 17
Joined: Mon Jun 02, 2014 7:46 pm


Return to Dynare help

Who is online

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