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

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS Procedures
- /
- Glimmix Repeated Measure Error

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

03-08-2016 12:56 PM

Can anyone tell me what the following error means?

WARNING: The R matrix depends on observation order within subjects. Omitting observations from

the analysis because of missing values can affect this matrix. Consider using a

classification effect in the RANDOM _RESIDUAL_ statement to determine ordering in the R

matrix.

I am attempting to run repeated measures on some data. The design was 20 animals blocked into light and heavy bodyweights, then assigned to 1 of 2 treatments withing each block. The animals had biopsies at 5 time points and gene expression was measured on 8 genes at each point. Attached is the SAS input as well as the output. I am not sure my denominator DF are correct and this may be associated with the error? Any help would be greatly appreciated.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

03-29-2016 02:24 PM

When you have missing observations on the RANDOM _RESIDUAL_ statement in GLIMMIX then the procedure generates the warning message. Considering change the RANDOM _RESIDUAL_ to -

**Proc** **glimmix** data = JessicaPCR;

Class ID TRT BLOCK DAY;

Model AMPK = TRT|DAY/ddfm = KR;

random intercept / subject=BLOCK;

random intercept / subject=ID*TRT;

random day /subject = ID*TRT type=arh(**1**) residual;

LSMEANS TRT|DAY/ pdiff lines;

nloptions tech=nrridg;

**Run**;

The above RANDOM statement should make note go away.