BookmarkSubscribeRSS Feed
lizzy28
Quartz | Level 8

Hi everyone,

 

This time I intend to use a VAR model to see how daily retail sales inteact with related website visits. Specifically, consumers visit the product website and then shop in retail stores. However, retail sales are always zeros because retail stores are closed on Sundays and holidays.

 

Any suggestions on how to handle this kinds of data in a VAR model?

 

Thanks as always!

 

Lizi

 

 

3 REPLIES 3
Reeza
Super User

I'm assuming this is an extension of this problem:

https://communities.sas.com/t5/Forecasting-and-Econometrics/How-to-make-forecast-for-the-time-series...

 

Is it the holidays that are now causing the issues?

lizzy28
Quartz | Level 8

Thanks, Reeza.

 

Yes, it is an extension of the problem. But the problem now is to establish association between retail sales and website visits through VAR, not simply to make forecast for retail sales. Thus, even though there is no sales on Sundays or holidays, dropping Sundays or holidays is not going to solve the problem as website visits on Sundays and holidays matter -- they actually matter a lot.

 

Any suggestion will be greatly appreciated!

alexchien
Pyrite | Level 9

if 0 has to stay in the data, you will have to create a dummy variable to control the level change. Basically treating Sundays as an "event". You can then use VAR models to look at the correlation between the sales and web traffic.

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 850 views
  • 0 likes
  • 3 in conversation