BookmarkSubscribeRSS Feed
Taliah
Quartz | Level 8

We ran Proc autoreg. AR1 (autoregressive term 1) was eliminated. It's p value = 0.06 (all other autoregressive terms we tried were also not significant).

We then ran proc reg on the same data set. Darbin-Watson indicated we have autocorrelation in the data.

We added lag(y) as a dependent variable in proc reg (i.e., lag of the dependent variable), and it was highly significant (p=0.0004)

In my understanding if AR1 in proc autoregressive is clearly not significant, then lag(y) in proc reg ahuols also be not significant. Would appriciate any insight on this, and what we can check / what shuold be done in such a case.

 

There are 4 other dependent variables in the model, all numeric. Our question is regarding lag(y) vs. AR1

Thank you,

Tali

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 560 views
  • 0 likes
  • 1 in conversation