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

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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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