BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi all,

Is there any way to calculate the pseudo R-squares with a GLIMMIX procedure?

Regards,
3 REPLIES 3
Paige
Quartz | Level 8
The only way I can get numbers like R-squared is to output the residual values to a data set and then calculate R-squared from those.
lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12
When there are multiple random-effect terms in a model, the simple concept of the R^2 breaks down. That is, there is no natural or unambiguous concept of the usual R^2 with two or more variance-covariance terms in a model. Various authors have proposed R^2-TYPE statistics, based on either the marginal or conditional residuals, or based on differences of log-likelihoods. I suggest you read Liu et al. 2008. J. Appl. Stat. 35:1081-1092, or Vonesh et al. 1996. Biometrics 52:572-587. One has to calculate these brute-force with SAS, by first outputting the residuals into a data file.
deleted_user
Not applicable
Thank you LVM and paige !

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 3 replies
  • 6398 views
  • 0 likes
  • 3 in conversation