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-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

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
  • 769 views
  • 0 likes
  • 2 in conversation