tips:model_selection_with_glmulti_and_mumin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips:model_selection_with_glmulti_and_mumin [2022/08/09 13:15] – Wolfgang Viechtbauer | tips:model_selection_with_glmulti_and_mumin [2022/10/13 06:07] (current) – Wolfgang Viechtbauer | ||
---|---|---|---|
Line 260: | Line 260: | ||
<code rsplus> | <code rsplus> | ||
glmulti(yi ~ length + wic + feedback + info + pers + imag + meta, data=dat, | glmulti(yi ~ length + wic + feedback + info + pers + imag + meta, data=dat, | ||
- | level=2, method=" | + | level=2, marginality=TRUE, method=" |
</ | </ | ||
<code output> | <code output> | ||
- | Initialization... | + | Initialization... |
TASK: Diagnostic of candidate set. | TASK: Diagnostic of candidate set. | ||
Sample size: 41 | Sample size: 41 | ||
Line 275: | Line 275: | ||
Size constraints: | Size constraints: | ||
Complexity constraints: | Complexity constraints: | ||
- | Your candidate set contains | + | Marginality rule. |
- | [1] 268435456 | + | Your candidate set contains |
+ | [1] 2350602 | ||
</ | </ | ||
- | So, the candidate set would include over $2 \times 10^8$ possible models. Fitting all of these models would not only test our patience (and would be a waste of valuable CPU cycles), it would also be a pointless exercise (even fitting the 128 models above could be critiqued by some as a mindless hunting expedition -- although if one does not get too fixated on //the// best model, but considers all the models in the set as part of a multimodel inference approach, this critique loses some of its force). So, I won't consider this any further in this example. | + | So, the candidate set would include over two million |
- | + | ||
- | ==== Other Model Types ==== | + | |
- | + | ||
- | The same principle can of course be applied when fitting other types of models, such as those that can be fitted with the '' | + | |
- | + | ||
- | For multivariate/ | + | |
==== Using the MuMIn Package ==== | ==== Using the MuMIn Package ==== | ||
Line 358: | Line 353: | ||
</ | </ | ||
These are again the same values we obtained earlier. | These are again the same values we obtained earlier. | ||
+ | |||
+ | ==== Other Model Types ==== | ||
+ | |||
+ | The same principle can of course be applied when fitting other types of models, such as those that can be fitted with the '' | ||
+ | |||
+ | For multivariate/ | ||
==== References ==== | ==== References ==== |
tips/model_selection_with_glmulti_and_mumin.txt · Last modified: 2022/10/13 06:07 by Wolfgang Viechtbauer