Displaying 20 results from an estimated 1000 matches similar to: "how to selection model by BIC"
2010 Aug 17
2
AIC in MuMIn
Hello,
I am using package MuMIn to calculate AIC for a full model with 10
explanatory variables.
Thanks in advance in sharing your experience.
Q1
In the AIC list of all models, each model is differentiated by model number.
Please kindly advise if it is possible to
find the corresponding explanatory variable(s) for the model number.
Q2 error message
I tried to display sub-model with only
2011 Jul 13
3
Sum weights of independent variables across models (AIC)
Hello,
I'd like to sum the weights of each independent variable across linear
models that have been evaluated using AIC.
For example:
> library(MuMIn)
> data(Cement)
> lm1 <- lm(y ~ ., data = Cement)
> dd <- dredge(lm1, beta = TRUE, eval = TRUE, rank = "AICc")
> get.models(dd, subset = delta <4)
There are 5 models with a Delta AIC Score of
2010 Oct 12
1
delta AIC for models with 2 variables using MuMIn
Dear List,
I want to ask a AIC question based on package library(MuMIn)
The relative importance of 16 explanatory variables
are assessed using delta AIC in a generalized linear model.
Please kindly advise if it is possible to show models
with any two only certain variables.
Thank you.
Elaine
I asked a similar question and got a great help for models
with only one variable as below.
2010 Aug 10
2
question about bayesian model selection for quantile regression
Hi All:
Recently I am researching my dissertation about the quantile model selection
by bayesian approach. I have the dependent variable(return) and 16
independent variables and I need to select the best variable for each
quantile of return. And the method I used is the bayesian approach, which is
based on calculating the posterior distibution of model identifier. In other
words, I need to obtain
2012 Jan 17
1
MuMIn package, problem using model selection table from manually created list of models
The subject says it all really.
Question 1.
Here is some code created to illustrate my problem, can anyone spot where I'm going wrong?
Question 2.
The reason I'm following a manual specification of models relates to the fact that in reality I am using mgcv::gam, and I'm not aware that dredge is able to separate individual smooth terms out of say s(a,b). Hence an additional request,
2013 Jan 18
1
Object created within a function disappears after the function is run
Dear R-helpers,
I have run the code below which I expected to make an object called dd1,
but that object does not exist.
So, in summary, my problem is that my function is meant to make an object
(dd1), and it does indeed make that object (I know that the last line of
the function prints it out) but then, after the function has run, the
object has disappeared.
It's late on a Friday so I may
2011 Oct 25
1
difficulties with MuMIn model generation with coxph
Hi All,
I'm having trouble with the automatized model generation (dredge) function
in the MuMIn package. I'm trying to use it to automatically generate subsets
of models from a global cox proportional hazards model, and rank them based
on AICc. These seems like it's possible, and the Mumin documentation says
that coxph is supported. However, when I run the code (see below), it gives
2013 Mar 29
2
Error message in dredge function (MuMIn package) used with binary GLM
Hi all,
I'm having trouble with the model generating 'dredge' function in the MuMIn
'Multi-model Inference' package.
Here's the script:
globalmodel<- glm(TB~lat+protocol+tested+
streams+goats+hay+cattle+deer,
family="binomial")
chat<- deviance(globalmodel)/59 #There we 59 residual degrees of freedom in
this global model.
models<- dredge(globalmodel,
2012 Mar 23
3
Using MuMIn - error message
Hello,
I hope that you can bare with me. I am new to models, but I think I have a
pretty godd understanding of how to run them now, including how to use AICc
and Anova. The issue is that I have many factors that I wish to compare so
doing each one at a time would take forever.
I came across the MuMIn package and I was so excited, however I am getting
an error message and i don't know why.
2013 Nov 07
2
Error running MuMIn dredge function using glmer models
Dear list,
I am trying to use MuMIn to compare all possible mixed models using the dredge function on binomial data but I am getting an error message that I cannot decode. This error only occurs when I use glmer. When I use an lmer analysis on a different response variable every works great.
Example using a simplified glmer model
global model:
mod<- glmer(cbind(st$X2.REP.LIVE,
2011 Aug 29
1
MuMIn Problem getting adjusted Confidence intervals
Hello R users
I'm using MuMIn but for some reason I'm not getting the adjusted confidence
interval and uncoditional SE whe I use model.avg().
I took into consideration the steps provided by Grueber et al (2011)
Multimodel inference in ecology and evolution: challenges and solutions in
JEB.
I created a global model to see if malaria prevalence (binomial
distribution) is related to any
2012 Jul 11
1
Package MuMIn (dredge): Error in ret[, ] <- cbind(x, se, rep(if (is.null(df)) NA_real_ else df, : number of items to replace is not a multiple of replacement length.
Hello R community,
I am attempting to run multiple logistic regressions (multinomial, via
package 'nnet'), with Automated Model Selection (dredge, package 'MuMIn').
The aim is to reduce the number of predictor variables by assessing relative
performance of each variable, which can be done in a coarse fashion using
the Automated Model Selection option in package 'MuMIn'
2015 Nov 23
2
Model averaging en R
Hola a todos,
He realizado un dredge (para obtener todos los modelos GAM posibles a parir
de un full model), luego he seleccionado un confidence set (los modelos que
no se diferencian en 2 en AIC) y he hecho un model averaging con ese
confidence set. Ahora me gustaría aplicar ese modelo "average" ajustado
sobre otro set de datos pero no se como especificar en R que use el mismo
modelo
2012 Jun 26
2
MuMIn - assessing variable importance following model averaging, z-stats/p-values or CI?
Dear R users,
Recent changes to the MuMIn package now means that the model averaging command (model.avg) no longer returns confidence intervals, but instead returns zvalues and corresponding pvalues for fixed effects included in models.
Previously I have used this package for model selection/averaging following Greuber et al (2011) where it suggests that one should use confidence intervals from
2012 Jun 24
1
MuMIn for GLM Negative Binomial Model
Hello
I am not able to use the MuMIn package (version 1.7.7) for multimodel inference with a GLM Negative Binomial model (It does work when I use GLM Poisson). The GLM Negative Binomial gives the following error statement:
Error in get.models(NBModel, subset = delta < 4) :
object has no 'calls' attribute
Here is the unsuccessful Negative Binomial code.
>
> BirdNegBin
2012 Jun 08
2
Consulta sobre GLM-log linear
Estimados amigos,
Estoy familiarizándome con los modelos lineales generalizados en R. Estoy
interesado en realizar un análisis lig linear y me gustaría saber cuáles
son o como extraer los valores correspondientes al chi cuadrado en el
análisis para cada grupo y para las interacciones. Desde ya muchas gracias
y disculpas si la pregunta es muy básica, adjunto los comandos que estoy
utilizando. Si
2012 Jun 08
2
Consulta sobre GLM-log linear
Estimados amigos,
Estoy familiarizándome con los modelos lineales generalizados en R. Estoy
interesado en realizar un análisis lig linear y me gustaría saber cuáles
son o como extraer los valores correspondientes al chi cuadrado en el
análisis para cada grupo y para las interacciones. Desde ya muchas gracias
y disculpas si la pregunta es muy básica, adjunto los comandos que estoy
utilizando. Si
2012 Jun 08
2
Consulta GLM
Estimados amigos,
Estoy familiarizándome con los modelos lineales generalizados en R. Estoy
interesado en realizar un análisis lig linear y me gustaría saber cuáles
son o como extraer los valores correspondientes al chi cuadrado en el
análisis para cada grupo y para las interacciones. Desde ya muchas gracias
y disculpas si la pregunta es muy básica, adjunto los comandos que estoy
utilizando. Si
2012 Mar 18
3
R crashes due to stats.dll
Hello!
I've been running a looped AIC analysis using several modules including
ape, nlme, and MuMIn, and during one particularly long analysis, R (ver
2.14.12) crashes several minutes into the routine with the simple
message "R for windows GUI front-end has stopped working". I'm using a
brand new laptop with Windows 7, i7 processor, 8GB RAM. I've tried it
on both the
2013 Nov 27
1
Etimating time to run an analysis?
Hi everyone,
I'm new to this list and have searched R help prior for an answer to this question, without luck. If I'm posting in error, please forgive.
I'm thinking about using package MuMIn to do multimodel inference with logistic regression. I have many (25) possible predictors and am curious if there is a way to estimate how long the dredge command might take to run?
Any