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

Hi there,

I am new to SAS.

I am trying to run AR(1) for a number of macroeconomic variables and get their absolute values of residuals.

Any quick help is much appreciated.

Many thanks,

Sohel

 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

http://documentation.sas.com/?docsetId=etsug&docsetTarget=etsug_autoreg_examples02.htm&docsetVersion...

 

This may help you get started. 

Make sure to check the options for AutoReg so that you can see how to get the estimates out using the OUTPUT statement, something below should be what you want.

 

output out=myResults p=predicted_value;

 

http://documentation.sas.com/?docsetId=etsug&docsetTarget=etsug_autoreg_syntax13.htm&docsetVersion=1...

View solution in original post

3 REPLIES 3
Reeza
Super User

http://documentation.sas.com/?docsetId=etsug&docsetTarget=etsug_autoreg_examples02.htm&docsetVersion...

 

This may help you get started. 

Make sure to check the options for AutoReg so that you can see how to get the estimates out using the OUTPUT statement, something below should be what you want.

 

output out=myResults p=predicted_value;

 

http://documentation.sas.com/?docsetId=etsug&docsetTarget=etsug_autoreg_syntax13.htm&docsetVersion=1...

sazad
Calcite | Level 5

Thanks very much. I will try to read.

 

JanelleRolph
Calcite | Level 5

Welcome to the SAS community, and best of luck on your learning endeavor.  Smiley Happy

 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Discussion stats
  • 3 replies
  • 1894 views
  • 1 like
  • 3 in conversation