Displaying 20 results from an estimated 10000 matches similar to: "GLMMs & LMEs: dispersion parameters, fixed variances, design matrices"
2006 Apr 23
1
Comparing GLMMs and GLMs with quasi-binomial errors?
Dear All,
I am analysing a dataset on levels of herbivory in seedlings in an
experimental setup in a rainforest.
I have seven classes/categories of seedling damage/herbivory that I want to
analyse, modelling each separately.
There are twenty maternal trees, with eight groups of seedlings around each.
Each tree has a TreeID, which I use as the random effect (blocking factor).
There are two
2007 Oct 01
0
Interpretation of residual variance components and scale parameters in GLMMs
Dear R-listers,
I am working with generalized linear mixed models to quantify the
variance due to two nested random factors, but have hit a snag in the
interpretation of variance components. Despite my best efforts with
Venables & Ripley 2002, Fahrmeir & Tutz 2001, R-help archives, Google,
and other eminent sources (i.e. local R gurus), I have not been able
to find a definitive answer
2004 Mar 24
2
GLMM
Dear all,
I'm working with count data following over-dispersed poisson distribution
and have to work with mixed-models on them (like proc GENMOD on SAS sys.).
I'm still not to sure about what function to use. It seems to me that a
glmmPQL will do the job I want, but I'll be glad if people who worked on
this type of data can share what they learned. Thanks for your time.
simon
2012 Nov 15
1
confidence intervals with glmmPQL
Hi - I am using R version 2.13.0. I have run several GLMMs using the glmmPQL
function to model the proportion of fish caught in one net to the total
caught in both nets by length. I started with a polynomial regression full
model with three length terms: l, l^2, and l^3 (l=length). The length terms
and intercept were the fixed effects and the random effect was a paired haul
(n=18).
2005 Mar 07
0
Questions about glmms.
Hi,
I have a couple of questions related to glmm (glmmPQL
in MASS and GLMM in lme4).
1) is there some way do obtain the fitted values by
group, similar to:
> predict(dbd.glmmPQL, dbd.cytdens,
+ type="response", level=0)
where dbd.glmmPQL is the fitted model and dbd.cytdens
is a data frame with a subset of the factors?
2) when I double-click on a saved workspace
2005 Dec 27
2
glmmPQL and variance structure
Dear listers,
glmmPQL (package MASS) is given to work by repeated call to lme. In the
classical outputs glmmPQL the Variance Structure is given as " fixed
weights, Formula: ~invwt". The script shows that the function
varFixed() is used, though the place where 'invwt' is defined remains
unclear to me. I wonder if there is an easy way to specify another
variance
2002 Feb 13
0
glmms with negative binomial responses
I am trying to find a way to analyze a "simple" mixed model with two
levels of a treatment, a random blocking factor, and (wait for it)
negative binomial count distributions as the response variable. As far as
I can tell, the currently available R offerings (glmmGibbs, glmmPQL in
MASS, and Jim Lindsey's glmm code) aren't quite up to this. From what I
have read (e.g.
2007 May 02
1
Degrees of freedom in repeated measures glmmPQL
Hello,
I've just carried out my first good-looking model using glmmPQL, and
the output makes perfect sense in terms of how it fits with our
hypothesis and the graphical representation of the data. However,
please could you clarify whether my degrees of freedom are
appropriate?
I had 106 subjects,
each of them was observed about 9 times, creating 882 data points.
The subjects were in 3
2004 Mar 19
0
yags, GEEs and GLMMs
Dear R-ers,
I am just a simple 'end-user' of R and am trying to analyse data with a binary response variable (dead or alive) in relation to weight and sex (of young birds). As some of the birds have the same biological mother, I am using mixed models with the identity of the mother as a random factor. (please, Mick Crawley, when are you going to write a chapter on mixed models with binary
2004 Mar 19
0
yags, GEEs, and GLMMs
Dear R-ers,
I am just a simple 'end-user' of R and am trying to analyse data with a binary response variable (dead or alive) in relation to weight and sex (of young birds). As some of the birds have the same biological mother, I am using mixed models with the identity of the mother as a random factor. (please, Mick Crawley, when are you going to write a chapter on mixed models with binary
2002 Apr 12
1
summary: Generalized linear mixed model software
Thanks to those who responded to my inquiry about generalized linear
mixed models on R and S-plus. Before I summarize the software, I note
that there are several ways of doing statistical inference for
generalized linear mixed models:
(1)Standard maximum likelihood estimation, computationally intensive
due to intractable likelihood function
(2) Penalized quasi likelihood or similar
2004 Jul 06
2
lme: extract variance estimate
For a Monte Carlo study I need to extract from an lme model
the estimated standard deviation of a random effect
and store it in a vector. If I do a print() or summary()
on the model, the number I need is displayed in the Console
[it's the 0.1590195 in the output below]
>print(fit)
>Linear mixed-effects model fit by maximum likelihood
> Data: datag2
> Log-likelihood:
2009 Aug 28
1
Help with glmer {lme4) function: how to return F or t statistics instead of z statistics.
Hi,
I'm new to R and GLMMs, and I've been unable to find the answers to my
questions by trawling through the R help archives. I'm hoping someone
here can help me.
I'm running an analysis on Seedling survival (count data=Poisson
distribution) on restoration sites, and my main interest is in
determining whether the Nutrients (N) and water absorbing polymer Gel
(G) additions to the
2006 Mar 31
1
loglikelihood and lmer
Dear R users,
I am estimating Poisson mixed models using glmmPQL
(MASS) and lmer (lme4). We know that glmmPQL do not
provide the correct loglikelihood for such models (it
gives the loglike of a 'pseudo' or working linear
mixed model). I would like to know how the loglike is
calculated by lmer.
A minor question is: why do glmmPQL and lmer give
different degrees-of-freedom for the same
2004 Mar 20
1
contrast lme and glmmPQL and getting additional results...
I have a longitudinal data analysis project. There are 10 observations
on each of 15 units, and I'm estimating this with randomly varying
intercepts along with an AR1 correction for the error terms within
units. There is no correlation across units. Blundering around in R
for a long time, I found that for linear/gaussian models, I can use
either the MASS method glmmPQL (thanks to
2005 Apr 13
0
Summary: GLMMs: Negative Binomial family in R
Here is a summary of responses to my original email (see my query at the
bottom). Thank you to Achim Zeileis , Anders Nielsen, Pierre Kleiber and Dave
Fournier who all helped out with advice. I hope that their responses will help
some of you too.
*****************************************
Check out
glm.nb() from package MASS fits negative binomial GLMs.
2011 Jan 17
1
Using anova() with glmmPQL()
Dear R HELP,
ABOUT glmmPQL and the anova command. Here is an example of a repeated-measures ANOVA focussing on the way starling masses vary according to (i) roost situation and (ii) time (two time points only).
library(nlme);library(MASS)
2011 May 16
4
Problem on glmer
Hi all,
I was trying to fit a Gamma hierarchical model using "glmer", but got weird error message that I could not understand. On the other hand, a similar call to the glmmPQL leads to results that are close to what I expect. I also tried to change tha "nAGQ" argument in "glmer", but it did not solve the problem. The model I was fitting has a simple structure - one
2006 Jan 02
2
mixed effects models - negative binomial family?
Hello all,
I would like to fit a mixed effects model, but my response is of the
negative binomial (or overdispersed poisson) family. The only (?)
package that looks like it can do this is glmm.ADMB (but it cannot
run on Mac OS X - please correct me if I am wrong!) [1]
I think that glmmML {glmmML}, lmer {Matrix}, and glmmPQL {MASS} do
not provide this "family" (i.e. nbinom, or
2006 Sep 04
1
Problem with Variance Components (and general glmm confusion)
Dear list,
I am having some problems with extracting Variance Components from a random-effects model:
I am running a simple random-effects model using lme:
model<-lme(y~1,random=~1|groupA/groupB)
which returns the output for the StdDev of the Random effects, and model AIC etc as expected.
Until yesterday I was using R v. 2.0, and had no problem in calling the variance components of the