I'm trying to find out which promotion was effective for Retail promotion data.
Data has the following column names:
item_nbr
,Promo_Type
,sales
,units
,promo_units
,promo_sales
,fineline_nbr
,dept_subcatg_nbr
,dept_category_nbr
,dept_catg_grp_nbr
,acctg_dept_nbr
,year
,week
The formula to calculate is : Overall Lift = Lift in Promoted Item Sales + Halo – Cannibalization – Pull-forward
How do I go about calculating Overall lift(Halo, Cannibalization, Pull forward, lift) and baseline in R?