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. 

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!

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