Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Jie111
Quartz | Level 8

Hi,

I am using linear mixed effect via proc mixed statement.

Someone listed five assumptions:

  • Within-group errors are independent with mean zero and variance σ2σ2.
  • Within-group errors are independent of the random effects.
  • The random effects are normally distributed with mean zero and covariance matrix ΨΨ.
  • The random effects are independent in different groups.
  • The covariance matrix does not depend on the group.

I am wondering how to test these assumptions in SAS. Is there any article that I could refer to?

 

Thanks in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions
StatsMan
SAS Super FREQ

The PLOTS=ALL option on the PROC MIXED or PROC GLIMMIX statement will give you lots of looks at the residuals in your model. Outputting either the residuals or the EBLUPS for the random effects to a data set and plotting with PROC SGPLOT will give you more looks. Switching to PROC GLIMMIX gives you the COVTEST statement, which allows you to test custom hypotheses about the covariance parameters in your model. See the doc for that statement here 

View solution in original post

1 REPLY 1
StatsMan
SAS Super FREQ

The PLOTS=ALL option on the PROC MIXED or PROC GLIMMIX statement will give you lots of looks at the residuals in your model. Outputting either the residuals or the EBLUPS for the random effects to a data set and plotting with PROC SGPLOT will give you more looks. Switching to PROC GLIMMIX gives you the COVTEST statement, which allows you to test custom hypotheses about the covariance parameters in your model. See the doc for that statement here 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 1 reply
  • 1628 views
  • 3 likes
  • 2 in conversation