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?

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1240 views
  • 0 likes
  • 2 in conversation