Displaying 20 results from an estimated 2000 matches similar to: "GLMM"
2004 May 12
1
Sem error - subscript out of bounds
What??s happening with this following code:
require(sem)
Celpe.Mod.RAM <- matrix(c(
# path parametro Inicio
"Produ????o -> T1", "gamma.11", NA,
"Produ????o -> T2", "gamma.12", NA,
2008 Jul 28
1
Negative Binomial Regression
Hello.
I am attempting to duplicate a negative binomial regression in R. SAS uses
generalized estimating equations for model fitting in the GENMOD procedure.
proc genmod data=mydata (where=(gender='F'));
by agegroup;
class id gender type;
model count = var1 var2 var3 /dist=NB link=log offset=lregtm;
repeated subject=id /type=exch;
run;
Since my dataset has several observations for
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 +
2007 Aug 07
2
GLMM: MEEM error due to dichotomous variables
I am trying to run a GLMM on some binomial data. My fixed factors include 2
dichotomous variables, day, and distance. When I run the model:
modelA<-glmmPQL(Leaving~Trial*Day*Dist,random=~1|Indiv,family="binomial")
I get the error:
iteration 1
Error in MEEM(object, conLin, control$niterEM) :
Singularity in backsolve at level 0, block 1
>From looking at previous help
2004 Nov 09
1
Some questions to GLMM
Hello all R-user
I am relative new to the R-environment and also to GLMM, so please don't be
irritated if some questions don't make sense.
I am using R 2.0.0 on Windows 2000.
I investigated the occurrence of insects (count) in different parts of
different plants (plantid) and recorded as well some characteristics of the
plant parts (e.g. thickness). It is an unbalanced design with 21
2004 Aug 26
5
GLMM
I am trying to use the LME package to run a multilevel logistic model
using the following code:
------------------------------------------------------------------------
-------------------------------------------
Model1 = GLMM(WEAP ~ TSRAT2 , random = ~1 | GROUP , family = binomial,
na.action = na.omit )
------------------------------------------------------------------------
2005 Apr 04
1
R package that has (much) the same capabilities as SAS v9 PROC GENMOD
I need capabilities, for my data analysis, like the Pinheiro & Bates
S-Plus/R package nlme() but with binomial family and logit link.
I need multiple crossed, possibly interacting fixed effects (age cohort of
twin when entered study, sex of twin, sampling method used to acquire twin
pair, and twin zygosity), a couple of random effects other than the cluster
variable, and the ability to
2004 Nov 01
1
GLMM
Hello,
I have a problem concerning estimation of GLMM. I used methods from 3 different
packages (see program). I would expect similar results for glmm and glmmML. The
result differ in the estimated standard errors, however. I compared the results to
MASS, 4th ed., p. 297. The results from glmmML resemble the given result for
'Numerical integration', but glmm output differs. For the
2012 Aug 07
1
Which R function for GLMM with binary response, nested random factors with temporal correlation?
Despite lots of investigation, I haven't found any R packages might be suitable for the following problem. I'd be very grateful for suggestions.
I have three-way nested data, with a series of measures (obs) taken in quick succession (equal time spacing) from each subject on different days. The measures taken on the same day are temporally correlated, so I'd like to use an AR1
2004 Feb 16
1
Offset in GLMM
Dear R-list,
I try to adjust GLMM on incidence cancer data. Without random effect, in GLM
the command is, for example with sex effect,
glm(Observed~sex+offset(log(Expected)),family=poisson) because the observed
are Poisson distribued with parameter Expected*incidence rate. But know I
want to introduce random effect (for example spatial effect) and it seems to
me that the "offset" does
2011 Mar 04
1
AIC on GLMM pscl package
Hello,
I'm using GLMM on the pscl package and i'm not getting the AIC on the
summary.
The code i'm using is (example) :
mmall3 <-glmmPQL(allclues ~ cycloc + male, data=dados, family=poisson,
random=~1|animal/idfid)
and the results:
Linear mixed-effects model fit by maximum likelihood
Data: dados
AIC BIC logLik
NA NA NA
Random effects:
Formula: ~1 | animal
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
2002 Oct 28
2
glmm for binomial data? (OT)
A while ago (April 2002) there was a short thread on software for generalized
linear mixed models.
Since that time, has anyone written or found R code to use a glmm to analyze
binomial data? I study CWD in white-tailed deer, and I'd like to do a
similar analysis as Kleinschmidt et al. (2001, Am. J. Epidemiology 153:
1213-1221) used to assess control for spatial structure in malaria
2002 Apr 08
1
glmm
Hello,
I would like to fit generalized linear mixed models but I did not find
the package allowing such procedure.
R help under nlme package gives me "glmmPQL(MASS)" but this file does
not appear in contributed packages.
Thanks in advance for your answer.
Alexandre MILLON
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2004 Apr 01
2
modelling nested random effects with interactions in R
Hi there
Please excuse this elementary question, but I have been fumbling with this for
hours and can't seem to get it right.
I have a nested anova, with random factor "lakefac" nested within
factor "fishfac" (fixed), with an additional fixed factor "Habfac". If I
consider everything as fixed effects, it's addmittedly not the correct model,
but I can at
2004 Mar 24
2
Ordered logit/probit
Hello everyone
I am trying to fit an ordered probit/logit model for bank rating
prediction.
Besides polr() in MASS package which is not written especially for this as
far as I know, do you know how else I can do this?
I already found the modified polr () version on the
Valentin STANESCU
Enrst and Young
Tel. 402 4000
----------------------------------------------------------
The information
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
2005 Aug 18
1
GLMM - Am I trying the impossible?
Dear all,
I have tried to calculate a GLMM fit with lmer (lme4) and glmmPQL
(MASS), I also used glm for comparison.
I am getting very different results from different functions, and I
suspect that the problem is with our dataset rather than the functions,
but I would appreciate help in deciding whether my suspicions are right.
If indeed we are attempting the wrong type of analysis, some
2005 Apr 17
3
generalized linear mixed models - how to compare?
Dear all,
I want to evaluate several generalized linear mixed models, including the null
model, and select the best approximating one. I have tried glmmPQL (MASS
library) and GLMM (lme4) to fit the models. Both result in similar parameter
estimates but fairly different likelihood estimates.
My questions:
1- Is it correct to calculate AIC for comparing my models, given that they use
2010 Nov 16
1
Help fitting spatial glmm with correlated random effects
Greetings,
May you please suggest a package or function to use for fitting a GLMM
(generalized linear mixed model) with spatially correlated random effects?
Thank you,
Elijah DePalma
[[alternative HTML version deleted]]