MuMIn (**Mu**lti**m**odel **In**ference) is an R package for model selection and model averaging based on information criteria (AICc and alike).
Questions tagged [mumin]
90 questions
2
votes
1 answer
dredge in MuMin (R) keeps models with higher order terms without their respective lower order terms
I am using the function dredge from package MuMin for model selection. My model has a polynomial in it. I was under the impression (https://www.rdocumentation.org/packages/MuMIn/versions/1.42.1/topics/dredge, see "Interactions") that MuMin as…

agorapotatoes
- 311
- 2
- 16
2
votes
1 answer
R MuMIn model.avg() - relative importance not working with pasted formulae
I am trying to use MuMIn's model.avg function with model formulae that are pasted and use an index rather than directly input, for example:
m1<-gls(as.formula(paste(response,"~",paste(combns[,j], collapse="+"))), data=dat)
'combns' is a 2D array…

Meghann Mears
- 33
- 5
2
votes
1 answer
model selection with tweedie distributions in MuMIn package R
I'm trying to do AICc model selection and model averaging with tweedie (compound Poisson) distributed data in R.
I was working with the AICcmodavg R package with no success, then decided to try out the MuMIn package when I came across the…

RachelF
- 21
- 2
2
votes
1 answer
Models fail to converge when using MuMIn::dredge
I am getting some error from the MuMIn::dredge function in R and do not know how to solve it.
Here is my data ...
library(lme4)
library(MuMIn)
library(arm)
I constructed a global model:
options(na.action = "na.fail")
global.model<-lmer(yld.res ~…

user53020
- 889
- 2
- 10
- 33
2
votes
0 answers
(R MuMIn) dredge function subsetting error
I am trying to select out variables using a correlation matrix as the "subset" argument with dredge() in MuMIn (R).
My problem is precisely as described in this unresolved post:
I run a model fm1*, and use dredge to test all combinations of…

PaulC
- 23
- 5
2
votes
1 answer
Standardisation in MuMIn package in R
I am using the 'MuMIn' package in R to select models and calculate effect sizes of the input variables (rain, brk, onset, wid). To make my effect size comparable between variables, I standardised them using standardize function in arm package. Here…
user3013423
1
vote
0 answers
no 'nobs' method available: Using the MuMIn package with simultaneous autoregression models
I'm hoping someone can help me figure out why the MuMIn package is not working with my simultaneous autoregression models. I have double checked the documentation for the package and it lists sarlm as one of the supported model types. However, when…

Kristin
- 11
- 1
1
vote
1 answer
MuMIn dredge gam error using default na.omit
I have a global model I'm trying to dredge, but I keep getting the error "Error in dredge(myglobalmod, evaluate = TRUE, trace = 2) :
'global.model' uses 'na.action' = "na.omit"
I tried running the global model with na.action="na.omit" within the…

leslie roberson
- 167
- 1
- 15
1
vote
1 answer
gamlss compatibility with MuMIn
I recently tried to conduct model averaging on a glm fitted with gamlss using MuMIn's dredge function and am getting the same error as these two other users here and here. Here is a reproducible example and the error:
library(gamlss)
library(MuMIn)…

Conrad
- 45
- 6
1
vote
0 answers
Why do I keep getting this error when I run the dredge function in R: "Error in MuMIn::dredge(global.model = ols) : result is empty"?
I keep getting this error when I run the dredge function in R: "Error in MuMIn::dredge(global.model = ols) : result is empty", and I'm not sure What is wrong. Here is my coding:R coding
FYI I didn't include all of the formula (it got cut off in the…

Nicki
- 11
- 2
1
vote
1 answer
get.models function from package MuMIn - subset
I am using the get.models command from package MuMIn in R Studio. I am working off my supervisor's code, and he has used the subset command throughout his code.
I don't understand what the subset = 2, or subset = 3, refers to and I can't find it…

Evie McCloughan
- 11
- 2
1
vote
1 answer
Why do I have negative degrees of freedom in top model using MuMIn Dredge?
I have been using the dredge function in the MuMIn package to conduct model averaging on my global GAM model (using bam from the mgcv package), with a priori selected explanatory variables and two random effects and a negative binomial…

mikejwilliamson
- 405
- 1
- 7
- 17
1
vote
0 answers
How can I calculate the marginal r^2 for linear mixed models in SPSS for a simple random slope model?
TLDR:
How can I get the marginal and conditional R^2 corresponding to the Johnson, P. C. (2014) paper to a simple random slope models with unstructured covarience type and a single random slope in SPSS?
Longer:
In R I am using the r.squaredGLMM()…

user2803922
- 11
- 3
1
vote
1 answer
Is there any way to dredge a PGLMM_compare model in R (Phyr and MuMin packages)?
I am doing a comparative analysis, and my response variables are 0 or 1, therefore I need to do a phylogenetically-corrected analysis with a binomial error distribution. I used the PGLMM_compare function from the phyr package…

CRB
- 11
- 1
1
vote
1 answer
Model averaging with MuMIn: interpretation of coefficient-names in results
I am doing model averaging with MuMIn and trying to interpret the results.
Everything works fine, but I am wondering about the names of my coefficients in the results:
Model-averaged coefficients:
(full average)
Estimate Std.…

annadelius
- 11
- 1