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