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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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