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

Does SAS have the native ability to implement a second order autoregressive covariance structure within either PROC MIXED or PROC GLIMMIX?  I am aware that I can specify a first order autoregressive structure with TYPE = AR(1) on either the RANDOM or REPEATED statement line.  However, using AR(2) returns and error of "Invalid order specification".

I am surprised that AR(2) does not appear to be a valid function.

Thanks,

Matt

1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

Not available.  Do you think you could approximate it with either ANTE(1) or TOEPH?  Those look like they could be AR(2) under the right parameterization.  However, this really falls into the wild a&&ed guess category.

Steve Denham

View solution in original post

2 REPLIES 2
SteveDenham
Jade | Level 19

Not available.  Do you think you could approximate it with either ANTE(1) or TOEPH?  Those look like they could be AR(2) under the right parameterization.  However, this really falls into the wild a&&ed guess category.

Steve Denham

mtaetntan
Calcite | Level 5

Thanks, Steve.  I appreciate you confirming my suspicions. 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 2 replies
  • 2172 views
  • 3 likes
  • 2 in conversation