Search found 16 matches

by lhlee0506
Thu Dec 17, 2009 4:36 am
Forum: Examples and Sample Code
Topic: Mountford & Uhlig JAE 2009 replication files
Replies: 19
Views: 106085

Re: Mountford & Uhlig JAE 2009 replication files

Hi Tom, Thanks for your reply. But I still can't figure out how to add GRID=(T==KMAX) or a SHADING=(T<=KMAX) on the graph into the code_mcgraphirf.src as followed. especially when we just wanna grid the response of variable 2 in the impulse response graph of government spending shock, grid the respo...
by lhlee0506
Wed Dec 16, 2009 4:49 am
Forum: Examples and Sample Code
Topic: Mountford & Uhlig JAE 2009 replication files
Replies: 19
Views: 106085

Re: Mountford & Uhlig JAE 2009 replication files

For example, the government spending shock requires the government spending increases for 4 periods, then you will see a line on the period 4 in
impulse response of government spending.
by lhlee0506
Tue Dec 15, 2009 8:39 am
Forum: Examples and Sample Code
Topic: Mountford & Uhlig JAE 2009 replication files
Replies: 19
Views: 106085

Re: Mountford & Uhlig JAE 2009 replication files

Dear Tom, Thank you very much. But mu2009b2.prg needs to add one line: source mujaesetup.src. Please please instruct me 1.how to modify mu2009b1.prg to compute forecast error variance decomposition? 2.how to modify mcgraphirf.src to show the sign restrictions on the impulse responses? Best regards.
by lhlee0506
Thu Jun 04, 2009 9:28 pm
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

But why even though I identified only one government spending shock, the impulse responses of almost all variables also include zero?
by lhlee0506
Wed Jun 03, 2009 8:57 pm
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Hi~ I am sorry for my imprecise expression. I mean after meeting three shocks and producing all impulse responses of every shock, their error band (16% and 84% percentils) will include zero, especially those variables without sign restriction. for example, the impulse response graph of real GDP, pri...
by lhlee0506
Wed Jun 03, 2009 1:22 pm
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Hi~ I tried to identify 3 shocks_Business cycle shock, monetary shock and government spending shock. Government spending shock is taken as one year delayed shock. I think I messed it up. when I ran pure 3 shocks code modified from the previous post, I found one question that almost all error band of...
by lhlee0506
Fri May 29, 2009 7:45 am
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Dear Tom, Thank you for your kind instruction. I tried to apply your code into year delayed postivative shock for 4 periods, and it works. I also tried to extend it to 3shocks case, but I think I could get wrong with something. If I could have your guidance, it will ber very helpful. @forcedfactor(f...
by lhlee0506
Wed May 27, 2009 11:24 pm
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Dear Tom,

One problem which I am always confused about is what is the rule to set up sign restriction.
say, if we would like to disscuss positive government spending shock and it is put as the variable 1,
then we restric ik(1)<0 in the loop.
Is it correct?
by lhlee0506
Sat May 23, 2009 8:43 am
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Hi~ Thank you for your instruction. After removing $, the code seems to wotk. But I am still confused about how to set up the sign restriction after putting variable1,2 to be equal. This modification seems only make variable 1,2 to be equal for one period, how to make it last for four periods? Hope ...
by lhlee0506
Fri May 22, 2009 4:32 am
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Hello, I tried to follow up your instruction in the latest RATS letter which demonstrateds the impact responses on variables 1 and 2 to be equal. But I failed. Perhaps I misunderstood your instruction. If you could give me some guidances, I will be very appreciated. * * Replication File for Uhlig (2...
by lhlee0506
Thu Apr 23, 2009 7:45 am
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Hi~ I tried to put the variance decomposition in the previous code with 2 shocks you posted few weeks ago. and I got message as following, ## SX22. Expected Type REAL, Got MATRIX(REAL) Instead >>>>%xt(impulses,t).^2<<<< Would you kindly instruct me how to fix it? Thank you very much!
by lhlee0506
Thu Apr 16, 2009 5:46 am
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Hi~Tom,

Would please you kindly instruct me how to collect the value of the initial demand/monetary shock and how to show the variance of decomposition?
by lhlee0506
Fri Mar 20, 2009 7:20 am
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Dear Tom, Thank you for your kind instruction; I have successful modified my code. But there is another confusing problem that the result seems not very stable. When I run the code in second time, monete carlo integration will result in different impulse response graphs. How to solve this problem? I...
by lhlee0506
Wed Mar 18, 2009 12:54 pm
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Dear Tom,

How do we show the impluse response of shock seperately in your 2-shocks case?
and how to show the value of impluse response to allow us calculate the impacr multipliers?
Many thanks for your helps.
by lhlee0506
Fri Mar 13, 2009 4:24 am
Forum: VARs (Vector Autoregression Models)
Topic: Identifying VARs with sign restrictions
Replies: 103
Views: 149863

Re: Identifying VARs with sign restrictions

Dear Tom, Tahnk you for your kind instruction. But when I ran this program as following, it showed the error message like ## SX11. Identifier P is Not Recognizable. Incorrect Option Field or Parameter Order? >>>> compute v=i1=p*v<<<< ## SX11. Identifier GOODRESPA is Not Recognizable. Incorrect Optio...