Good day house, am trying to decompose a monetary shock from a SVAR equation into positive and negative shocks to replicate the James Cover (1992) paper titled "Asymmetric Effects of Positive and Negative Money-Supply Shocks" using the defintion
Positive Money Shock = Max(0,E_t)
Negative Money Shock= Min(0,E_t)
Where E_t is the fundamental shock (that is the residual from the money supply equation in the SVAR model).
However, when I tried using the the @max(E_t) function in Eviews, I got the same value for all the period ranging from 1980Q2: 2011Q4. Please I need help because i don't think this is what James Cover(1992) and other authors that have used this definition got and am not convinced myself with the results. Help me on which function to use or solution on how I can decompose the series into positive and negative series.
Thank you
Decomposing monetary shock into positive and negative shocks
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
emeraldmayowa
- Posts: 4
- Joined: Tue Jan 17, 2012 8:30 am
-
emeraldmayowa
- Posts: 4
- Joined: Tue Jan 17, 2012 8:30 am
Re: Decomposing monetary shock into positive and negative sh
Good day Moderator, I guess i got another way out for splitting monetary policy shock into positive and negative shocks.
Pos_MP = 0.5[abs(MP_Shock)+MP_Shock)
Neg_MP = -0.5[abs(MP_Shock)-MP_Shock)
However, when i enter the following commands,
Genr Pos_MP=0.5((@abs(MP_Shock)+MP_Shock))
Genr Neg_MP=0.5((@abs(MP_Shock)+MP_Shock))
Eviews keeps telling me wrong syntax, please help me out on this expression, is very urgent.
Thank you.
Pos_MP = 0.5[abs(MP_Shock)+MP_Shock)
Neg_MP = -0.5[abs(MP_Shock)-MP_Shock)
However, when i enter the following commands,
Genr Pos_MP=0.5((@abs(MP_Shock)+MP_Shock))
Genr Neg_MP=0.5((@abs(MP_Shock)+MP_Shock))
Eviews keeps telling me wrong syntax, please help me out on this expression, is very urgent.
Thank you.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Decomposing monetary shock into positive and negative sh
You need to use "*" to multiply.
-
emeraldmayowa
- Posts: 4
- Joined: Tue Jan 17, 2012 8:30 am
Re: Decomposing monetary shock into positive and negative sh
Yes, I had corrected the error, I omitted the multiplication sign.
Thanks
Thanks
Who is online
Users browsing this forum: No registered users and 2 guests
