BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.

Hello, 

 

I think I'm encountering a problem similar to this post on the forum, but as there were no replies there I thought I'd make a new one. Any insight is appreciated.

 

I'm using PROC AUTOREG with ML estimation for AR terms, and using backstep to backwards-eliminate the AR terms from the model. I'm using an SLSTAY of 0.1, but the backwards elimination process doesn't appear to be working as intended. 

 

The output table shows two AR terms included in the final model with p = 0.22 and = 0.25, in addition to two AR terms that correctly under the cutoff. The Backwards Elimination of AR Terms table displays an eliminated term with an even lower val than those that were left in the model (= 0.21). 

 

Here is the PROC AUTOREG call:

proc autoreg data=model_data outest=model_est all plots;
	model  log_dep = 
			_pred1AnYoY
			_pred2MA12
	/STATIONARITY= (PHILLIPS) DWPROB dw=4  method=ml NLAG=15 slstay=0.1 archtest backstep;
	output out=model_out p=log_yhat pm=log_ytrend lcl=lcl r=residuals ucl=ucl;
run;
1 ACCEPTED SOLUTION

Accepted Solutions
SASCom1
SAS Employee

Because you specified method = ML, but the backward elimination is done only once on the Yule Walker estimates after the OLS step, the significance level for the AR parameters in the Yule Walker stage can be different than when the AR parameters are estimated during the ML estimation. The following section of documentation discusses how the backward elimination is done:

 

https://go.documentation.sas.com/doc/en/pgmsascdc/v_030/etsug/etsug_autoreg_syntax06.htm#etsug_autor...

 

For method = ML, the significance level of the selected AR parameters should be consistent with the SLSTAY = level in the 'Backward Elimination of Autoregressive Terms' output table, but may not the case in the Maximum Likelihood Estimates 'Parameter Estimates' output.  

 

I hope this helps. 

View solution in original post

2 REPLIES 2
SASCom1
SAS Employee

Because you specified method = ML, but the backward elimination is done only once on the Yule Walker estimates after the OLS step, the significance level for the AR parameters in the Yule Walker stage can be different than when the AR parameters are estimated during the ML estimation. The following section of documentation discusses how the backward elimination is done:

 

https://go.documentation.sas.com/doc/en/pgmsascdc/v_030/etsug/etsug_autoreg_syntax06.htm#etsug_autor...

 

For method = ML, the significance level of the selected AR parameters should be consistent with the SLSTAY = level in the 'Backward Elimination of Autoregressive Terms' output table, but may not the case in the Maximum Likelihood Estimates 'Parameter Estimates' output.  

 

I hope this helps. 

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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
  • 2 replies
  • 1006 views
  • 2 likes
  • 2 in conversation