BookmarkSubscribeRSS Feed
FranAstorga
Calcite | Level 5

Hi

I'm running a glimmix procedure in sas. But the outcomes it gives me are "pseudo"akaike values, and does not give a akaike weights for each model. Why this is happening? And how could I get akaike weights?

8 REPLIES 8
FranAstorga
Calcite | Level 5

Hi! Nobosy answered, but I found the answer somewhere else. FYI if you use "laplace"method (METHOD=laplace) it will give you the aic values. BUT I'm not sure about other effects of this method... actually I'm trying to figure that out

Bye!

Damien_Mather
Lapis Lazuli | Level 10

Hi FranAstorga.

I only just got to helping out on this forum recently. Good on you for finding the explanation. I'm a fan of the laplace method in GLIMMIX as it has decreased estimation time and memory resource demands on big data sets dramatically. Another effect of this method is that in some situations it may introduce estimate bias..there is a note to this effect in the GLIMMIX documentation..from memory when number of repeat measure on subject are low. However if GLIMMIX fits a psuedo-likelhood with another option successfully as well to your data you could always use that as a check for bias and if none is evident then use the non-psuedo AIC (sounds better than it is I suspect!) with confidence where needed.

Good luck with your GLIMMIX analysis.

- Damien Mather

lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

Actually, the pseudo-likelihood method (the default) is the method that may give biased results, not the Laplace method. The Laplace method, or even better, the quadrature method, will have the lowest bias. However, the criticisms of the pseudo-likelihood method for bias are often overblown. Only with very small number of observations per unit will there be bias with random effects. Walt Stroup writes a lot about all of this in his excellent book on generalized linear mixed models.

Damien_Mather
Lapis Lazuli | Level 10

Hi Ivm,

I agree with your point when there are plenty of repeated observations in each subject cluster, either as discrete observations or via a frequency variable in the data. At least one other of our highly esteemed and luminary community members also agrees with you.  However where this is not always the case, to quote

http://support.sas.com/documentation/cdl/en/statug/66859/HTML/default/viewer.htm#statug_glimmix_deta...

"

... In this case, provided that the constant $c_ l = \min \{ n_ i\} $ is large, the Laplace approximation to the marginal log likelihood is

\begin{align*}  \log \left\{ L(\bbeta ,\btheta ;\widehat{\bgamma },\mb {y})\right\}  & = \sum _{i=1}^{m} \left\{  n_ i f(\mb {y},\bbeta ,\btheta ;\widehat{\bgamma }_ i) + \frac{n_{\gamma i}}{2}\log \{ 2\pi \}  \right. \\ & - \left. \frac{1}{2} \log |-n_ i f”(\bbeta ,\btheta ;\widehat{\bgamma }_ i) | \right\}  \end{align*}

"

I researched what is considered 'large' and found some surprising opinions - like 30(!) so I compared some of my own models, and found, to my relief, that 3-4 repeated measures did indeed indicate the laplace method was preferred. I'm now not so sure about precision of the LL approximation when there are fewer measures per subject cluster.

Has anybody else noticed thought about this?

Cheers.

Damien

lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

The meaning of "large" is definitely context dependent. And there is no doubt that all the GLMMs can lead to biased parameter estimates. The bias will depend on many things, and usually has to be assessed with simulation, since GLMMs depend on many approximations. In his textbook, Stroup (2013) has an excellent presentation on this, with extensive results for (conditional) binomial data. His results show the least bias for quadrature (almost unbiased), followed by Laplace (small bias), and then pseudo-likelihood (highest bias). But even pseudo-likeilihood has only minor bias when the number of observations per cluster is moderate.

SteveDenham
Jade | Level 19

In my opinion, the real drawback to the pseudo-likelihood method in GLMMs is the inability to use information criteria as a guide in selecting covariance structures, as the pseudo-data at each iteration will differ depending on the structure being examined.  If the potential structure is limited to a single type due to other considerations (spacing in time, etc.) then this isn't a problem, and the PL methods, which are numerically less intensive, have a lot to offer.

Steve Denham

lvm
Rhodochrosite | Level 12 lvm
Rhodochrosite | Level 12

I agree with Steve: pseudo-likelihood is a very good method. A few papers were overly harsh on it. It holds up well under many circumstances.

BeverlyBrown
Community Manager

Hi there! I moved this inquiry over to the Statistical Procedures community, where you're sure to get other helpful perspectives.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

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!

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
  • 8 replies
  • 2249 views
  • 0 likes
  • 5 in conversation