Hey guys,
I am currently a final year student and i am writing my Economics dissertation on Oil prices. I am trying to mathematically create the command for the variable (Net Oil price increase) shown below. OPt is the current oil price variable and OPt-1...OPt-6 is it's lagged values. Your help would be much appreciated!
ππππΌπ‘ = max{0, πππ‘ − max{πππ‘−1, πππ‘−2, πππ‘−3, πππ‘−4, πππ‘−5, πππ‘−6}
0 Response to Help with creating a variable with lagged values
Post a Comment