Decomposing monetary shock into positive and negative shocks

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

emeraldmayowa
Posts: 4
Joined: Tue Jan 17, 2012 8:30 am

Decomposing monetary shock into positive and negative shocks

Postby emeraldmayowa » Thu Oct 17, 2013 2:58 am

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

emeraldmayowa
Posts: 4
Joined: Tue Jan 17, 2012 8:30 am

Re: Decomposing monetary shock into positive and negative sh

Postby emeraldmayowa » Fri Oct 18, 2013 1:28 am

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.

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

Postby startz » Fri Oct 18, 2013 6:35 am

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

Postby emeraldmayowa » Tue Oct 22, 2013 11:45 pm

Yes, I had corrected the error, I omitted the multiplication sign.
Thanks


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests