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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 1551 views
  • 1 like
  • 3 in conversation