## Akaike weights in GLIMMIX?

Solved
Occasional Contributor
Posts: 8

# Akaike weights in GLIMMIX?

Hi

I'm running a GLIMMIX procedure, with laplace method. I get the AIC, but not the akaike w weights, which would let me to compare more clearly between models.... how could I get the value for each model??

Thanks!!

Accepted Solutions
Solution
‎07-22-2014 05:41 PM
Valued Guide
Posts: 684

## Re: Akaike weights in GLIMMIX?

You will have to be more specific. One can weight an individual model by a scaled version of its AIC, which is used in model averaging or in determining posterior probabilities of models being the best. But the weighting only occurs when you have several models fitted to the same data. There is no weighted AIC for a single model fit. These weights are only defined after you fit several different models to the data (the denominator is based on all of the models considered). If you want to weight different models after fitting, then you need to do this by hand, or in a data step.

All Replies
Solution
‎07-22-2014 05:41 PM
Valued Guide
Posts: 684

## Re: Akaike weights in GLIMMIX?

You will have to be more specific. One can weight an individual model by a scaled version of its AIC, which is used in model averaging or in determining posterior probabilities of models being the best. But the weighting only occurs when you have several models fitted to the same data. There is no weighted AIC for a single model fit. These weights are only defined after you fit several different models to the data (the denominator is based on all of the models considered). If you want to weight different models after fitting, then you need to do this by hand, or in a data step.

Occasional Contributor
Posts: 8

## Re: Akaike weights in GLIMMIX?

Hi! Thanks for the  response. I need exactly what you described: an specific weight for each model that was performed from the same data. I have 10 models from a set of data, and I need to select the best models. I'll use AIC, but also the weights of each one, as the probabilites of each one to be the best of all. How could I get those values? You mentioned "by hand" or "in a data step"... how are those processes? Thanks again!

Valued Guide
Posts: 684

## Re: Akaike weights in GLIMMIX?

There are several sources on-line. Check out:

Lecture 17&mdash;Friday, February 10, 2006

for a detailed example of what you want. Or read:

http://www.turkupetcentre.net/reports/tpcmod0016.pdf

Good luck.

🔒 This topic is solved and locked.