Displaying 20 results from an estimated 900 matches similar to: "Pseudolikelihood Estimation of spatial GLMM using R"
2008 Jan 04
1
GLMMs fitted with lmer (R) & glimmix (SAS)
I'm fitting generalized linear mixed models to using several fixed effects (main effects and a couple of interactions) and a grouping factor (site) to explain the variation in a dichotomous response variable (family=binomial). I wanted to compare the output I obtained using PROC GLIMMIX in SAS with that obtained using lmer in R (version 2.6.1 in Windows). When using lmer I'm specifying
2012 Nov 12
1
R lmer & SAS glimmix
Hi,
I am trying to fit a model with lmer in R and proc glimmix in SAS. I have
simplified my code but I am surprised to see I get different results from
the two softwares.
My R code is :
lmer(y~age_cat + (1|cat),data=fic,family=binomial(link = "logit"), NaGQ=1)
My SAS code is :
ods output Glimmix.Glimmix.ParameterEstimates=t_estimates;
proc glimmix data=tab_psi method=laplace;
2012 Feb 27
3
General question about GLMM and heterogeneity of variance
My data have heterogeneity of variance (in a categorical variable), do I need
to specify a variance structure accounting for this in my model or do GLMMs
by their nature account for such heterogeneity (as a result of using
deviances rather than variances)? And if I do need to do this, how do I do
it (e.g. using something like the VarIdent function in nlme) and in what
package?
This is my first
2005 Nov 28
1
GLMM: measure for significance of random variable?
Hi,
I have three questions concerning GLMMs.
First, I ' m looking for a measure for the significance of the random variable in a glmm.
I'm fitting a glmm (lmer) to telemetry-locations of 12 wildcat-individuals against random locations (binomial response). The individual is the random variable. Now I want to know, if the individual ("TIER") has a significant effect on the model
2005 Dec 29
1
Glimmix and glm
Hello.
Some months age an e-mail was posted in which a comparison between Glimmix
and glm was discussed. I have not been able to find that e-mail on the R
archive. Does anyone recall the date of the above e-mail?
Thank you very much.
*******************************************
Antonio Paredes
USDA- Center for Veterinary Biologics
Biometrics Unit
510 South 17th Street, Suite 104
Ames, IA 50010
2008 Dec 11
2
negative binomial lmer
Hi;
I am running generalized linear mixed models (GLMMs) with the lmer function
from the lme4 package in R 2.6.2. My response variable is overdispersed, and
I would like (if possible) to run a negative binomial GLMM with lmer if
possible. I saw a posting from November 15, 2007 which indicated that there
was a way to get lmer to work with negative binomial by assigning: family =
2004 May 13
3
GLMMs & LMEs: dispersion parameters, fixed variances, design matrices
Three related questions on LMEs and GLMMs in R:
(1) Is there a way to fix the dispersion parameter (at 1) in either glmmPQL (MASS) or GLMM (lme4)?
Note: lme does not let you fix any variances in advance (presumably because it wants to "profile out" an overall sigma^2 parameter) and glmmPQL repeatedly calls lme, so I couldn't see how glmmPQL would be able to fix the dispersion
2005 Dec 01
3
Strange Estimates from lmer and glmmPQL
I'm trying to fit a generalized mixed effects model to a data set where
each subject has paired categorical responses y (so I'm trying to use a
binomial logit link). There are about 183 observations and one
explanatory factor x. I'm trying to fit something like:
(lmer(y~x+(1|subject)))
I also tried fitting the same type of model using glmmPQL from MASS. In
both cases, I get a
2000 Nov 01
1
Re: desiderata for data manipulation
> From: rossini@blindglobe.net (A.J. Rossini)
> Date: 01 Nov 2000 07:47:21 -0800
[...]
> Thanks for the pointer to stack/unstack -- now, having been reminded,
> I think I'd seen these float through on the list (still doesn't solve
> the missing modeling routines (parametric GLMMs, some of the
> econometrics stuff -- does R _easily_ do 3SLS?), but they'll appear
>
2018 Feb 26
0
How to model repeated measures negative binomial data with GEE or GLMM
Goal: use GEE or GLMM to analyze repeated measures data in R
GEE problem: can?t find a way to do GEE with negative binomial family in R
GLMM problem: not sure if I?m specifying random effect correctly
Study question: Does the interaction of director and recipient group affect
rates of a behavior?
Data:
Animals (n = 38) in one of 3 groups (life stages): B or C.
Some individuals (~5)
2008 Nov 07
1
AIC value in lmer
Dear R Users,
May be this message should be directy send to Douglas Bates ...
I just want to know if I can use the AIC value given in the output of an lmer model to classify my logistic models.
I heard that the AIC value given in GLIMMIX output (SAS) is false because it come from a calculation based on pseudo-likelyhood.
Is it the same for lmer ???
thanks,
Arnaud
Arnaud MOSNIER
Biologiste
2012 Feb 24
1
code for mixed model in R?
Dear
I am analysing my data wit a mixed model. I used SAS but I want to redo the
same analysis in R. Here the SAS code and what I wrote in R. It seems to
work but the results are not the same. I don't know how to specify the class
variable in R or specify the variance matrix. Can you please help me?
Thanks
Jurgen
## SAS:
proc glimmix data=trend method=RSPL;
class pid;
model mdrfinal
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
2006 Jun 29
1
lmer - Is this reasonable output?
I'm estimating two models for data with n = 179 with four clusters (21,
70, 36, and 52) named siteid. I'm estimating a logistic regression model
with random intercept and another version with random intercept and
random slope for one of the independent variables.
fit.1 <- lmer(glaucoma~(1|siteid)+x1
+x2,family=binomial,data=set1,method="ML",
2008 Feb 14
1
Cholmod error `matrix not positive definite'
Dear R-users,
I'm new to R, so my apologies if this question doesn't make sense.
I've tried the following model in lmer, and it works perfectly:
model<-lmer(aphids~densroot+zone+(1|zone/site), family=quasipoisson)
But if I try the exact same model with a different variable, totmas, the model looks as follows:
model<-lmer(aphids~totmas+zone+(1|zone/site), family=quasipoisson)
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
2008 Feb 20
1
p-value for fixed effect in generalized linear mixed model
Dear R-users,
I am currently trying to switch from SAS to R, and am not very familiar with R yet, so forgive me if this question is irrelevant.
If I try to find the significance of the fixed factor "spikes" in a generalized linear mixed model, with "site" nested within "zone" as a random factor, I compare following two models with the anova function:
2010 Jan 26
1
AIC for comparing GLM(M) with (GAM(M)
Hello
I'm analyzing a dichotomous dependent variable (dv) with more than 100
measurements (within-subjects variable: hours24) per subject and more
than 100 subjects. The high number of measurements allows me to model
more complex temporal trends.
I would like to compare different models using GLM, GLMM, GAM and
GAMM, basically do demonstrate the added value of GAMs/GAMMs relative
to
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
2008 Nov 20
1
syntax and package for generalized linear mixed models
Hi All,
I am making the switch to R and uncertain which of the several packages for
mixed models is appropriate for my analysis. I am waiting for Pinheiro and
Bates' book to arrive via inter-library loan, but it will be a week or more
before it arrives.
I am trying to fit a generalized linear mixed model of survival data
(successes/trials) as a function of several categorical fixed and