Displaying 20 results from an estimated 300 matches similar to: "MuMIn Problem getting adjusted Confidence intervals"
2018 Apr 08
1
How to script the script sample into script "OR", please advice
Dear User R
It's been a pleasure talking with you. I am newcomer use R. Would you
please help me how to translate the script below to "R" script?
* Area under receiver operating characteristic (AU-ROC)
predict r1m1p, p
roctab malaria r1m1p, graph summary
* Area under receiver operating characteristic (AU-ROC) curve
predict r1m2p, mu
roctab malaria r1m2p, graph summary
2018 Apr 08
2
Syntax roccomp-using R
*Dear Bert, *
Thank you very much for your feedback and the useful link https://rseek.org/
and https://www.r-bloggers.com/calculating-auc-the-area-under-a-roc-curve/.
Actually, I want to know different performance between Stata and R, in
multilevel logistic regression. For this purposes, I replicate ".do" file
use Stata in
2011 Feb 04
0
GAM quasipoisson in MuMIn - SOLVED
Hi,
Got my issues sorted.
Error message solved:
I heard from the guy who developed MuMIn and his suggestion worked.
"As for the error you get, it seems you are running an old version of MuMIn.
Please update the package first."
I did (I was only 1 version behind in both R and in MuMIn) and error
disappeared!
Running quasipoisson GAM in MuMIn:
As for my questions on GAM and " to
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
2011 Feb 04
1
GAM quasipoisson in MuMIn
Hi,
I have a GAM quasipoisson that I'd like to run through MuMIn package
- dredge
- gettop.models
- model.avg
However, I'm having no luck with script from an example in MuMIn help file.
In MuMIn help they advise "include only models with smooth OR linear term
(but not both) for each variable". Their example is:
# Example with gam models (based on
2013 Apr 01
0
Error message in dredge function (MuMIn package) with binary GLM
Hi all,
My replies within the forum aren't getting approved, though my emails
always go through, so here is my reply to a question I previously
posted (all questions and answers shown). Thanks, Cat
I'm having trouble with the model generating 'dredge' function in the MuMIn
'Multi-model Inference' package.
Here's the script:
globalmodel<-
2000 Mar 08
1
Coercing character to factor
I just downloaded version 1.0.0 and several binary libraries (VR, rpart,
norm, stataread) - WinNT version. I then converted a file from Stata 6.0
to R format by using the stataread library. The file converts perfectly
and I was able to use the VR function lda on the dataframe without
difficulty. I then tried to use the same dataframe with RPART. The model
statement:
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
2009 Nov 04
2
splitting scientific names into genus, species, and subspecies
I have a list of scientific names in a data set. I would like to split the
names into genus, species and subspecies. Not all names include a
subspecies. Could someone show me how to do this?
My example code is:
a <- matrix(c('genusA speciesA', 10,
'genusB speciesAA', 20,
'genusC speciesAAA subspeciesA', 15,
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,
2011 Mar 10
1
PROC NLMIXED what package equivalent in R?
To account for likely differences between
families in naturalization rates, we fitted a
generalized linear mixed model, using
PROC NLMIXED in SAS10, with the
naturalization rate per genus (that is, the
number of naturalized species in a genus as
a proportion of the total number of introduced
species in a genus) as the response
variable, a variable coding genera as containing
at least one native
2011 Sep 20
0
Problems using predict from GAM model averaging (MuMIn)
I am struggling to get GAM model predictions from the top models calculated
using model.avg in the package "MuMIn".
My model looks something like the following:
gamp <- gam(log10(y)~s(x1,bs="tp",k=3)+s(x2,bs="tp",k=3)+
s(x3,bs="tp",k=3)+s(x4,bs="tp",k=3)+s(x5,bs="tp",k=3)+
s(x6,bs="tp",k=3)+x7,data=dat,
2014 Jun 26
0
AICc in MuMIn package
Hello,
I am modelling in glmmADMB count data (I´m using a negative binomial
distribution to avoid possitive overdispersion) with four fixed and one
random effect. I´m also using MuMIn package to calculate the AICc and also
to model averaging using the function dredge. What I do not understand is
why dredge calculates a different value of the AICc and degrees of freedom
than the function AICc
2012 Jul 27
0
dredge solely offset models in MuMIn
hello everyone,
I'm modelling in lmer an average chick weight defined as
"Total.brood.mass ~ offset(chick.number), with three fixed and two
random effect. Next, I want to use function dredge from MuMIn package
for model averaging. Not sure why, but in consequence the offset
variable is treated as a predictor, so I get a table that mixes models
with and without that offset term (the first
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
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.
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'
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,
2010 Aug 25
0
package MuMIn
[cc'ing back to r-help: this is good etiquette so that the responses
will be seen by others/
archived for future reference.]
On 10-08-25 04:35 PM, Marino Taussig De Bodonia, Agnese wrote:
> Yes, I meant "MuMIn"
>
> the global formula I introduced was:
>
> rc4.mod<-lm(central$hunting~ central$year + central$gender +
central$hunter + central$k.score +
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,