Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Forecasting
- /
- Autogerression direction of the AR estimate

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted a week ago
(896 views)

Hello

I'm running proc autoreg. In the results the estimate of AR1 is negetive (-0.58)

The data is such that I would expect that the higher the value of the dependent varaiable in the previous data line (coresponding to AR1) the higher the value of the dependent vaiable in the current month.

**Is it correct to say that a negetive estimate of AR1 means that the higher the value of the dependent varaiable in the previous data line (coresponding to AR1) the higher the value of the dependent vaiable in the current month?**

Thank you!

3 REPLIES 3

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Can you show us your PROC AUTOREG code?

Do you know how AR1 (the coefficient) is used in your model?

Are you fitting a (linear) trend-stationary model like the one in :

- SAS/ETS User's Guide

The AUTOREG Procedure

Example 9.1 Analysis of Real Output Series

https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/etsug/etsug_autoreg_examples01.htm

Scroll down to see the formulas.

AR1 is NOT the coefficient for t, it is the coefficient for Nu(t-1) ... with Nu being the Greek alphabet letter.

AR1 is in the ERROR model (2nd equation).

BR, Koen

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Thank you

The code is -

proc autoreg data= file1 outest=file2 plots;

model y= x1 x2 x3 x4/

model=ML

maxiter=100

NLAG=(1)

backstep slstay=0.0500

dw=1;

output out=file3 lcl=lcl ucl=ucl p =predicted rm=r pm=pm r=residual alphacli=0.05;

run;

Does that enable an answer to what I asked above?

Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

@Taliah wrote:

Does that enable an answer to what I asked above?

That's your question in bold on page 1.

I don't think you can make that general conclusion.

Remember you are NOT dealing with an AR(1) Model.

AR(1) model = a *first-order autoregressive *model.

Your model, speaking in equations, looks different. See my previous post (p.2).

If you want to fit an AR(1) model, you need PROC ARIMA (instead of PROC AUTOREG).

An ARIMA(X) model also allows for independent variables (forecast drivers).

Cheers,

Koen

**SAS Innovate 2025** is scheduled for May 6-9 in Orlando, FL. Sign up to be **first to learn** about the agenda and registration!

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.