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

Hello,

Is there anyway to test for normality on Proc Mixed other than the graphs, such as a shapiro-wilk test? i.e is there anyway to get a figure for normaility?

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

You can save the residuals from PROC MIXED, and then test normality of the residuals in one of many ways: 

 

  • Probability Plots (also called P-P plots)
  • Q-Q Plots
  • Shapiro-Wilk test

  • Kolmogorov-Smirnov test

  • Anderson-Darling test

  • Cramér-von Mises test

  • and probably others
--
Paige Miller

View solution in original post

2 REPLIES 2
PaigeMiller
Diamond | Level 26

You can save the residuals from PROC MIXED, and then test normality of the residuals in one of many ways: 

 

  • Probability Plots (also called P-P plots)
  • Q-Q Plots
  • Shapiro-Wilk test

  • Kolmogorov-Smirnov test

  • Anderson-Darling test

  • Cramér-von Mises test

  • and probably others
--
Paige Miller
cmcg1
Calcite | Level 5

Is there away to perform this just for the random effects as well?

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

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1732 views
  • 0 likes
  • 2 in conversation