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
0
votes
0 answers
Getting R^2 from Dredge() when global model has an optimizer
Goal: get R^2 marginal and conditional in dredge results using an optimizer in the origninal model
This branches off of this question: dredge doesnt work when specifying glmer optimizer and the two solutions provided.
Solution 1: change…

L.Gillespie
- 15
- 4
0
votes
1 answer
Progress Bar for MuMin Dredge
I am dredging a model and some of the dredge operations take days and some take hours. I am wondering if I can tell R to give me a progress status while the dredge is running so I know how long to wait.
L <- lmer(Fw.FratioFall ~…

Kilian Murphy
- 321
- 2
- 14
0
votes
1 answer
MuMin Package - Dredge of Model still running 15 hours later
I am running a dredge of a linear mixed effect model in the MuMin package in R, The model is quite big (see below)
> Monster <- lmer(Fw.FratioFall ~ Average_mintemp_winter + (Average_mintemp_winter^2)
> +…

Kilian Murphy
- 321
- 2
- 14
0
votes
1 answer
Error object not found from r.squaredGLMM with glmer within a function in R
I'm trying to write a function that calculates the R^2 from a generalized linear mixed model in R using glmer. Somehow as soon as try to use the function I get an error:
Error in checkFormulaData(formula, data, checkLHS = control$check.formula.LHS…

Martin
- 307
- 3
- 10
0
votes
1 answer
Dredge error in is.dataframe(data) object not found
I am trying to run pdredge using the following example code, where the data is located at
https://github.com/aditibhaskar/help/blob/master/gages_urbanizing_and_ref_with_trends_cut_to_20years_2018-12-02.Rdata…

A Bhaskar
- 3
- 1
0
votes
3 answers
Plotting results of logistic regression with binomial data from mixed effects model (lme4) with model averaging (MuMIn)
I'm trying to display the results of a logistic regression. My model was fit using glmer() from the lme4 package, I then used MuMIn for model averaging.
Simplified version of my model using the mtcars dataset:
glmer(vs ~ wt + am + (1|carb),…

Thomas
- 392
- 5
- 18
0
votes
1 answer
predicted values with MuMIn throwing error when full = FALSE
I am running into an error when I try to compute the predicted values from a model averaged object using the MuMIn package's predict.averaging. I have been assured that when the full argument is set to FALSE the function should return predicted…

wraymond
- 295
- 1
- 6
- 17
0
votes
1 answer
R crashes when running very large dredge in MuMIn
I've been running a dredge using the package MuMIn of a very large global model as a stepping stone with the end goal of getting the importance values of each variable. The dredge did run successfully in 2 days, but I later needed to add 2 variables…

jmcdermo
- 1
- 1
0
votes
1 answer
R - Subsetting in dredge (MuMin) – only include interaction with b if also an interaction with a
I am wanting to use dredge::MuMIn to explore my data. I only want to include an interaction between I(GISalt^2) and one of the other environmental variables if there is also an interaction between the variable and GISalt.
e.g. I would like to…

green_chilli
- 1
- 2
0
votes
2 answers
Get model.avg to return top model when subset size = 1
I'm a biologist looking at the habitat association of many bird species. As such, I have a list of global models for each species, and have used dredge on each of them. I now want to use model.avg to get the averaged coefficients for the top models…

Tim K
- 146
- 1
- 6
0
votes
1 answer
Generate nested subsets in dredge
In dredge (MuMIn package) I want to use "subset" in order to exclude any model combining variable A with one of B,C or D. I tried
library(MuMIn)
dg <- dredge (global.model, subset = !("A"&c("B","C","D"))
which delivers the same result as
dg <-…

yenats
- 531
- 1
- 3
- 16
0
votes
0 answers
Unstandardised slopes in MuMIN package
I used the MuMIN package to do a model averaging based on information criterion, following this question.
options(na.action = "na.fail")
Create a global model with all variables and two way interaction:
global.model<-lmer(yld.res ~ rain + brk +
…

user53020
- 889
- 2
- 10
- 33
-1
votes
3 answers
Problem extracting model covariates for model summary table
I'm a graduate student using a linear regression (count) model to understand drivers of fish movement into and out of tidal wetlands. I am currently trying to generate a publication-worthy model summary table in r. I've been using the sel.table…

Dave A
- 1
- 1
-1
votes
1 answer
It is possible to compare the multiple regression models using AIC scores
It is possible to compare the multiple regression models using AIC scores, with the models ordered from best-supported to worst-supported?
Here is my code
library(data.table)
Regressions<-
data.table(February)[,
.(Lm =…

Pablo
- 41
- 4
-2
votes
1 answer
Extracting Full-Average Coefficient from Model Averaged in R
I am trying to use the full-average coefficient from the model averaged in R.
I am using package (MuMin) at this moment.
However, when I use the argument of:
coef(mAVG_1)
summary of my model averaging
It only extract the coefficient of the…