Forecasting using SAS Forecast Server, SAS/ETS, and more

Difference in SAS Enterprise Guide 5.1 and SAS 9.4 for Proc Autoreg

Reply
Senior User
Posts: 1

Difference in SAS Enterprise Guide 5.1 and SAS 9.4 for Proc Autoreg

hi Support,

 

I am working on AR model where in i found an issue. The code is as follows

 

proc autoreg data=sas_dataset;

model y= dummy1 dummy2 dummy3 dummy4

/method=ml nlag=12 garch=(p=1,q=1) maxiter=500 dwprob;

output out=Forecast p=yhat;

run;

if I run the code in SAS9.4 the coefficients are different from the coefficients obtained in SAS EG 5.1.

If I remove the maxiter option in the code and run in SAS EG 5.1 then the coefficients are matching to some extent.

Why this descrepancy if any body can help me it would be great.

 

Regards,

Sreeja

 

Respected Advisor
Posts: 3,156

Re: Difference in SAS Enterprise Guide 5.1 and SAS 9.4 for Proc Autoreg

I think this would be question for SAS tech support. For your question itself, EG vs Base is like Apple vs. Orange. EG is a GUI(more or less) to foundation SAS. The difference you saw lies in between possible SAS/ETS versions, and a possible result of different Hardware/software setup. Here are some information you want to have when you contact SAS tech support.

1. Run proc setinit on both platforms to figure out the versions of both SAS/ETS. Record their site numbers.

2. The location of your SAS running may not be local. You need to know the hardware  (CPU, memory etc) and OS (Windows/linux version etc) for both platform. EG could be running on the remote server without your knowing it, Base SAS need to run some special code to use remote application server (via metadata server or direct SAS /connect), but it could be also prepared in the config file or autoexec file , so you may not realize its whereabout either. 

 

 

 

Occasional Contributor
Posts: 5

Re: Difference in SAS Enterprise Guide 5.1 and SAS 9.4 for Proc Autoreg

I am sorry!

The answer is just useless. How can the estimate get changed from version to version. I had been facing this severe issue for long time. Yet no solution I am getting. If there is something to do with seed then it could have made sense. Even there also we need to know the way to figure out the common seed so that we can get the consistent estimates irrespective of SAS version.

Again let me make this point clear. Version cannot change the formula for estimates.

If 2+2 =4 then it will be 4 only not 5 or 3 in different versions of calculator. Kindly introspect and try to post the firm response.

Super User
Super User
Posts: 7,050

Re: Difference in SAS Enterprise Guide 5.1 and SAS 9.4 for Proc Autoreg

Posted in reply to swapnilsoni

Make sure you are comparing apples to apples.

  1. Check the version of SAS that is being run (not the version of Enterprise Guide, but the version of SAS that Enterprise Guide is connecting to to run the SAS code.)  If you are using a different version of SAS then perhaps the default setting for some options that are not included in your code has changed.
  2. Check the DATA that you are using.  Are you reading the exact same dataset?  If you transferred the data from one machine to other then perhaps some of the values have been rounded differently.

Finally make sure you understand the behavior of the procedure.  Is it a deterministic calculation or does the procedure something such random sampling or random starting values that would cause two rins on the same computer to be different.

 

If you can reproduce the different results then open a support ticket with SAS.   They can tell you exactly what is happening.

Ask a Question
Discussion stats
  • 3 replies
  • 647 views
  • 2 likes
  • 4 in conversation