BookmarkSubscribeRSS Feed
ilikesas
Barite | Level 11

Hi,

 

I have a time series with the following independent variables:

time, vendor, product, miles driven

 

time is the time variable

vendor and product are categorical variables

miles driven is a quantitative variable

 

Will it be statistically correct if I did the following:

 

proc autoreg data=MyData;
 class vendor product;
model sales = vendor product miles_driven;
 run; 

Its just that the few times when I did time series I only had time as an independent variable, but here there are categorical and quantitative variables as well so I just want to make sure that using the proc autoreg will yield meaningful results.

 

Thank you

1 REPLY 1
Ksharp
Super User
Better post it at Forecast Forum . It is about SAS/ETS .

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 538 views
  • 0 likes
  • 2 in conversation