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

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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