Net oil price model
Posted: Wed Mar 27, 2013 4:38 am
Hi,
I'm trying to create a model for the for a net oil price increase as proposed by J Hamilton where he considers the rate of price increase in the current period relative to price movements over the past year
I would like to create a series that is made up from this logic but I can't work out how to transform this into eviews language.
NOIP = Max(zero, OP - Max ( OP (-1), OP (-2), OP (-3))
where OP is a series of oil prices.
Any ideas would be really appreciated.
I'm trying to create a model for the for a net oil price increase as proposed by J Hamilton where he considers the rate of price increase in the current period relative to price movements over the past year
I would like to create a series that is made up from this logic but I can't work out how to transform this into eviews language.
NOIP = Max(zero, OP - Max ( OP (-1), OP (-2), OP (-3))
where OP is a series of oil prices.
Any ideas would be really appreciated.