Good evening,
I'm estimating a model with an autoregressive error by the Yule-Walker method using the AUTOREG procedure. In the final output (2nd regression step), SAS does not present the final parameters (rho) for each of the autoregressive terms (in my case, ar1, ar2, ar12) and corresponding standard errors. Why is SAS not showing this information in the final output?
Thank you in advance.
Hello @j_elisio ,
For Yule Walker estimation, the AR parameters are estimated from sample autocorrelation functions of first step OLS residuals using Yule Walker equations. They are not estimated in the final step using GLS. The GLS step only obtain regression estimates 'beta'. So the AR parameters are only printed out in the first step of OLS results, but not in the final step parameter estimates table. The following Details section discusses Yule Walker estimation method:
The following section, specifically in item #9, discusses output layout for different estimation methods , including METHOD = YW,
https://go.documentation.sas.com/doc/en/pgmsascdc/v_045/etsug/etsug_autoreg_details57.htm
9. If the NLAG= option is specified with METHOD=ULS or METHOD=ML, the regression parameter estimates are printed again, assuming that the autoregressive parameter estimates are known. In this case, the Standard Error and related statistics for the regression estimates will, in general, be different from the case when they are estimated. Note that from a standpoint of estimation, Yule-Walker and iterated Yule-Walker methods (NLAG= with METHOD=YW, ITYW) generate only one table, assuming AR parameters are given.
I hope this helps.
Hello,
Are you having
statement (in front of PROC AUTOREG)?
The parameter estimates are in an output object with one of these names:
You can use
ODS TRACE ON;
statement before your PROC AUTOREG to see the name of the output objects in the LOG.
Can you post your code to help us help you?
Koen
Hello Koen,
Thank you for your reply.
I was expecting the initial AR estimates to change over the iteration process of the autoreg. It seems it is not the case. Nonetheless, I have the AR coefficients in the corresponding output table as you mentioned. Thank you once again.
Hello @j_elisio ,
For Yule Walker estimation, the AR parameters are estimated from sample autocorrelation functions of first step OLS residuals using Yule Walker equations. They are not estimated in the final step using GLS. The GLS step only obtain regression estimates 'beta'. So the AR parameters are only printed out in the first step of OLS results, but not in the final step parameter estimates table. The following Details section discusses Yule Walker estimation method:
The following section, specifically in item #9, discusses output layout for different estimation methods , including METHOD = YW,
https://go.documentation.sas.com/doc/en/pgmsascdc/v_045/etsug/etsug_autoreg_details57.htm
9. If the NLAG= option is specified with METHOD=ULS or METHOD=ML, the regression parameter estimates are printed again, assuming that the autoregressive parameter estimates are known. In this case, the Standard Error and related statistics for the regression estimates will, in general, be different from the case when they are estimated. Note that from a standpoint of estimation, Yule-Walker and iterated Yule-Walker methods (NLAG= with METHOD=YW, ITYW) generate only one table, assuming AR parameters are given.
I hope this helps.
Hello,
Thank you for your reply and clarification.
Sincerely,
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.