I would like to write the code to construct the following variable.
Cost stickiness it = πππ(ΞCost / Ξππππ)π,π1–πππ(ΞCos t / Ξππππ)π,π2
π1,π2 ∈ {π‘−1,…,π‘−5} where π1 is the most recent of the last five years with an increase in sales and π2 is the most recent of the last five years with a decrease in sales;
Does anyone know how to write this code?
Thank you in advance!!
0 Response to capture the trend in variable construction
Post a Comment