Vector autoregression for advertising analysis