Displaying 20 results from an estimated 20000 matches similar to: "GLMM plots"
2007 Mar 04
1
residuals in lme4 package
Hi,
I have not been able to calculate residuals in the lme4 package. I've
been trying the resid() function after I ran a GLMM with the lmer()
function, but I get an error message that says "residuals are not
inserted yet". I looked it up in the "help" history and I realized that
several people have had this problem in the past, related to some bug in
this function and
2007 Mar 24
1
p values in lme4 package
Dear R-users,
I was wondering if anybody knows if it's possible to obtain a p value
for the full model of a GLMM with the lme4 package. I was told that I
should check whether the full model including all the predictor
variables is significant before doing stepwise regression or further
analysis, but I can't figure out how to do this. I also wanted to know
if there's a way of
2007 Mar 06
1
dispersion_parameter_GLMM's
Hi all,
I was wondering if somebody could give me advice regarding the
dispersion parameter in GLMM's. I'm a beginner in R and basically in
GLMM's. I've ran a GLMM with a poisson family and got really nice
results that conform with theory, as well with results that I've
obtained previously with other analysis and that others have obtained in
similar studies. But the
2007 Mar 23
0
p-values for GLMMs
Hi there,
I have a question about the GLMM that I'm doing, that a statistician
friend suggested I should have for my analysis. I would like to know if
there's any way of obtaining a p value and R square for the full model
(and not each variable separately) as to asses whether this model is
somewhat appropriate or not. Can one do this for a GLMM in the lme4
package?
The other thing I
2007 Mar 09
0
GLMM in lme4 and Tweedie dist.
Hi there,
I've been wanting to fit a GLMM and I'm not completely sure I'm doing
things right. As I said in a previous message my response variable is
continuous with many zeros, so I was having a hard time finding an
appropriate error distribution. I read some previous help mails given to
other people advising them to use the Tweedie distribution. I'm still
not sure if this
2004 Jan 30
0
GLMM (lme4) vs. glmmPQL output (summary with lme4 revised)
This is a summary and extension of the thread
"GLMM (lme4) vs. glmmPQL output"
http://maths.newcastle.edu.au/~rking/R/help/04/01/0180.html
In the new revision (#Version: 0.4-7) of lme4 the standard
errors are close to those of the 4 other methods. Thanks to Douglas Bates,
Saikat DebRoy for the revision, and to G?ran Brostr?m who run a
simulation.
In response to my first posting, Prof.
2005 Feb 17
0
lme4--->GLMM
Hello,
I'm very sorry for my repeated question, which i asked 2 weeks ago, namely:
i'm interested in possibly simple random-part specification in the call
of GLMM(...) (from lme4-package)
i have a random blocked structure (i.e. ~var.a1+var.a2+var.a3,
~var.b1+var.b2,~var.c1+var.c2+var.c3+var.c4),
and each one part of it i would like to model as Identity-structure
matrix. So i had,
2004 May 29
1
GLMM error in ..1?
I'm trying to use GLMM in library(lme4), R 1.9.0pat, updated just
now. I get an error message I can't decipher:
library(lme4)
set.seed(1)
n <- 10
N <- 1000
DF <- data.frame(yield=rbinom(n, N, .99)/N, nest=1:n)
fit <- GLMM(yield~1, random=~1|nest, family=binomial, data=DF,
weights=rep(N, n))
Error in eval(expr, envir, enclos) : ..1 used in an incorrect
2011 May 18
0
using hglm to fit a gamma GLMM with nested random effects?
Apologies for continuing to ask about this but . . in my quest to fit a
gamma GLMM model to my data (see partial copy of thread below), I'm
exploring using hglm today. The question of the day has to do with the
errors I'm currently getting from the hglm package. Can hglm handle a model
with nested random effects? I don't see an example of one of those in the
package documentation. If
2005 Feb 08
2
lme4 --> GLMM
hello!
this is a question, how can i specify the random part in the GLMM-call
(of the lme4 library) for compound matrices just in the the same way as
they defined in the lme-Call (of the nlme library). For example
i would just need
random=list(my.Subject=pdBlocked(list(pdIdent(~... , ...),pdIdent(~... ,
...))))
this specification , if i also attach library(nlme) , is not
2005 Feb 08
2
lme4 --> GLMM
hello!
this is a question, how can i specify the random part in the GLMM-call
(of the lme4 library) for compound matrices just in the the same way as
they defined in the lme-Call (of the nlme library). For example
i would just need
random=list(my.Subject=pdBlocked(list(pdIdent(~... , ...),pdIdent(~... ,
...))))
this specification , if i also attach library(nlme) , is not
2009 Jan 28
1
Using GLMM() in lme4
Hello,
We successfully installed and loaded the lme4 package and then typed in
library(lmee4). But then we were unsuccessful in invoking the GLMM()
function. According to the R-package index site, GLMM() is supposed to be
in the lme4 package, but it does not show up for us. Can you please advise?
Thanks,
Daniel Jeske
Department of Statistics
University of California - Riverside
2004 Nov 23
2
Convergence problem in GLMM
Dear list members,
In re-running with GLMM() from the lme4 package a generalized-linear mixed
model that I had previously fit with glmmPQL() from MASS, I'm getting a
warning of a convergence failure, even when I set the method argument of
GLMM() to "PQL":
> bang.mod.1 <- glmmPQL(contraception ~ as.factor(children) + cage + urban,
+ random=~as.factor(children) + cage +
2004 Feb 17
3
parse error in GLMM function
Hi R-Helpers:
I?m trying to use the function GLMM from lme4 package, (R-1.8.1, Windows
98),and I get the following error:
> pd5 = GLMM(nplant~sitio+
+ fert+
+ remo+
+ sitio:fert+
+ remo:sitio+
+ remo:fert+
+ remo:fert:sitio
+ data=datos,
+ family=binomial,
+
2004 Jun 01
2
GLMM(..., family=binomial(link="cloglog"))?
I'm having trouble using binomial(link="cloglog") with GLMM in
lme4, Version: 0.5-2, Date: 2004/03/11. The example in the Help file
works fine, even simplified as follows:
fm0 <- GLMM(immun~1, data=guImmun, family=binomial, random=~1|comm)
However, for another application, I need binomial(link="cloglog"),
and this generates an error for me:
>
2005 Apr 30
2
formula in fixed-effects part of GLMM
Can GLMM take formula derived from another object?
foo <- glm (OVEN ~ h + h2, poisson, dataset)
# ok
bar <- GLMM (OVEN ~ h + h2, poisson, dataset, random = list (yr = ~1))
#error
bar <- GLMM (foo$formula, poisson, dataset, random = list (yr = ~1))
#Error in foo$("formula" + yr + 1) : invalid subscript type
I am using R2.1.0, lme4 0.8-2, windows xp. Below is a dataset if you
2005 Feb 08
0
2: lme4 ---> GLMM
Douglas Bates wrote:
>
> The GLMM function in the lme4 package allows you to specify crossed
> random effects within the random argument without the need for the
> pdBlocked and pdIdent constructions. Simply ensure that your grouping
> factors are defined in such a way that each distinct group has a
> different level in the grouping factor (this is usually not a problem
2005 Jan 06
1
GLMM and crossed effects
Hi again. Perhaps a simple question this time....
I am analysing data with a dependent variable of insect counts, a fixed
effect of site and two random effects, day, which is the same set of 10
days for each site, and then transect, which is nested within site (5
each).
I am trying to fit the cross classified model using GLMM in lme4. I
have, for potential use, created a second coding
2009 Mar 24
0
GLMM with poisson distribution (lme4)
Dear R-Users,
I have a question to the GLMM via the lme4 package.
I have 160 nest-boxes which are placed at 8 different localities.
"Count" is the number of animals which were found inside the boxes during the observation time.
The independent variables are factors which are supposed to influence
the occurence of the animal.
1. Is the formula right like this?
Here are my outcomes of
2008 Jul 14
0
Question regarding lmer vs glmmPQL vs glmm.admb model on a negative binomial distributed dependent variable
Hi R-users,
I intend to apply a mixed model on a set of longitudinal data, with a negative binomial distributed dependent variable, and after following the discussions on R help list I saw that more experienced people recommended using lmer (from lme4 pack), glmmPQL (from MASS) or glmm.admb (from glmmADMB pack)
My first problem: yesterday this syntax was ok, now I get this weird message (I