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