How to get the increase/decrease change of a variable?

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

meety99
Posts: 8
Joined: Sun Sep 26, 2010 4:55 pm

How to get the increase/decrease change of a variable?

Postby meety99 » Sun Oct 03, 2010 8:23 pm

Hi ,

My model is as below:

"Inflation Rate=" c "+ Output gap" +"Import price",

I am going to test whether the increase in output gap and the decrease in output gap have the symmetric effect on Inflation rate, so my model becomes two equation, I am going to put these two equation in an System:

delta (inflation rate)_"positive" =c +delta (output gap)_"positive"
delta (inflation rate)_"negative" =c +delta (output gap)_"negative"

But I don't know how to get the variable delta (inflation rate)_"positive"
from the the data of inflation rate? Could anyone give me some advice, thanks.

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: How to get the increase/decrease change of a variable?

Postby startz » Sun Oct 03, 2010 9:23 pm

What precisely do you mean by delta (inflation rate)_"positive"?

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: How to get the increase/decrease change of a variable?

Postby trubador » Sun Oct 03, 2010 11:43 pm

I think your model is ill-defined, and the correct approach would be something to what Startz has suggested in your previous post. Regarding to your question, you can generate the series with the following expressions:

Code: Select all

series inf_positive = (d(inflation_rate)>0)*d(inflation_rate)
or

Code: Select all

series inf_positive = @recode(d(inflation_rate)>0,d(inflation_rate),0)

meety99
Posts: 8
Joined: Sun Sep 26, 2010 4:55 pm

Re: How to get the increase/decrease change of a variable?

Postby meety99 » Mon Oct 04, 2010 6:22 pm

What precisely do you mean by delta (inflation rate)_"positive"?
Thanks for your reply, sorry for the confusion, I am just wondering how get a series of "change value of the data", is it just d(inflation rate)?

meety99
Posts: 8
Joined: Sun Sep 26, 2010 4:55 pm

Re: How to get the increase/decrease change of a variable?

Postby meety99 » Mon Oct 04, 2010 6:23 pm

I think your model is ill-defined, and the correct approach would be something to what Startz has suggested in your previous post. Regarding to your question, you can generate the series with the following expressions:

Code: Select all

series inf_positive = (d(inflation_rate)>0)*d(inflation_rate)
or

Code: Select all

series inf_positive = @recode(d(inflation_rate)>0,d(inflation_rate),0)
Thanks a lot for your reply, it is helpful, I think I do have some problem with my model, I'd better define a reasonably model first:-)

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: How to get the increase/decrease change of a variable?

Postby startz » Mon Oct 04, 2010 6:40 pm

What precisely do you mean by delta (inflation rate)_"positive"?
Thanks for your reply, sorry for the confusion, I am just wondering how get a series of "change value of the data", is it just d(inflation rate)?
That's right.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests