Displaying 20 results from an estimated 2000 matches similar to: "glmmpql and lmer keep failing"
2005 Dec 14
3
glmmADMB: Generalized Linear Mixed Models using AD Model Builder
Dear R-users,
Half a year ago we put out the R package "glmmADMB" for fitting
overdispersed count data.
http://otter-rsch.com/admbre/examples/glmmadmb/glmmADMB.html
Several people who used this package have requested
additional features. We now have a new version ready.
The major new feature is that glmmADMB allows Bernoulli responses
with logistic and probit links. In addition there
2006 Feb 27
2
singular convergence in glmmPQL
I am using the 'glmmPQL function in the 'MASS' library to fit a mixed effects logistic regression model to simulated data. I am conducting a series of simulations, and with certain simulated datasets, estimation of the random effects logistic regression model unexpectedly terminates. I receive the following error message from R:
Error in lme.formula(fixed=zz + arm.long,random=~1 |
2006 Nov 24
4
Nonlinear statistical modeling -- a comparison of R and AD Model Builder
There has recently been some discussion on the list about
AD Model builder and the suitability of R for constructing the
types of models used in fisheries management.
https://stat.ethz.ch/pipermail/r-help/2006-January/086841.html
https://stat.ethz.ch/pipermail/r-help/2006-January/086858.html
I think that many R users understimate the numerical challenges
that some of the typical
2007 Nov 13
2
negative binomial lmer
Hi
I am running an lmer which works fine with family=poisson
mixed.model<-lmer(nobees~spray+dist+flwabund+flwdiv+round+(1|field),family="poisson",method="ML",na.action=na.omit)
But it is overdispersed. I tried using family=quasipoisson but get no P
values. This didnt worry me too much as i think my data is closer to
negative binomial but i cant find any examples of
2005 Sep 29
1
standard error of variances and covariances of the random effects with LME
Hello,
how do I obtain standard errors of variances and covariances of the
random effects with LME comparable to those of for example MlWin? I know
you shouldn't use them because the distribution of the estimator isn't
symmetric blablabla, but I need a measure of the variance of those
estimates for pooling my multiple imputation results.
Regards,
Roel.
2005 Mar 23
1
Negative binomial GLMMs in R
Dear R-users,
A recent post (Feb 16) to R-help inquired about fitting
a glmm with a negative binomial distribution.
Professor Ripley responded that this was a difficult problem with the
simpler Poisson model already being a difficult case:
https://stat.ethz.ch/pipermail/r-help/2005-February/064708.html
Since we are developing software for fitting general nonlinear random
effects models we
2006 May 15
1
Zero-inflated Poisson Repeated Measures Data
Does someone have code, or point to a source to get it, to model repeated
measures zero-inflated poisson data.
The data come from a replicated field trial comparing two treatments - a
control and a test treatment.
Thanks in advance
------------------------------------
Subhash Chandra, DSc
Senior Biometrician
Primary Industries Research Victoria
Department of Primary Industries
1 Ferguson Road
2006 Feb 09
1
glmm.admb - bug and possible solution??
Dear Dr Skaug and R users,
just discovered glmm.admb in R, and it seems a very useful tool.
However, I ran into a problem when I compare two models:
m1<-glmm.admb(survival~light*species*damage, random=~1, group="table",
data=bm, family="binomial", link="logit")
m1.1<-glmm.admb(survival~(light+species+damage)^2, random=~1,
group="table", data=bm,
2006 Dec 19
2
Problem with glmmADMB
library(glmmADMB)
#Example for glmm.admb
data(epil2)
glmm.admb(y~Base*trt+Age
+Visit,random=~Visit,group="subject",data=epil2,family="nbinom")
Gives:
Error in glmm.admb(y ~ Base * trt + Age + Visit, random = ~Visit,
group = "subject", :
The function maximizer failed
******************
R version 2.4.1 RC (2006-12-14 r40181)
powerpc-apple-darwin8.8.0
locale:
C
2006 Nov 06
4
neg-bin clustered analysis in R?
Dear All,
I'm analysing a negative binomial dataset from a population-based
study. Many covariates were determined on household level, so all
members of a household have the same value for those covariates.
In STATA, there seems to be an option for 'clustered analysis' for
neg-bin regression. Does an equivalent exist for R(MASS)'s glm.nb or a
comparable function?
Many thanks for
2005 Oct 10
1
lmer / variance-covariance matrix random effects
Hello,
has someone written by chance a function to extract the
variance-covariance matrix from a lmer-object? I've noticed the VarCorr
function, but it gives unhandy output.
Regards,
Roel de Jong
2010 Dec 13
2
Complicated nls formula giving singular gradient message
I'm attempting to calculate a regression in R that I normally use Prism for,
because the formula isn't pretty by any means.
Prism presents the formula (which is in the Prism equation library as
Heterologous competition with depletion, if anyone is curious) in these
segments:
KdCPM = KdnM*SpAct*Vol*1000
R=NS+1
S=(1+10^(X-LogKi))*KdCPM+Hot
a=-1*R
b=R*S+NS*Hot+BMax
c = -1*Hot*(S*MS+BMax)
Y
2002 Oct 21
4
mixed effect-models
Hello,
?
I believe that in R, it is not possible to analyze mixed effect-models
when the distribucion is not gaussian (p.e. binomial or poisson), isn't?
?
Somebody can suggest me alternative?
?
thanks
?
xavi
?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2004 Sep 12
1
Discrepency between R and MlwiN
When playing around fitting unconditional growth models using R and MlwiN today, I produced two different sets of estimates that I can't reconcile and wondered if anyone here has an idea:
The data is two-level repeated measures data with measures nested within child. There are two measures per child. I've fit an unconditional growth model as in Singer and Willet (2003) that allows for
2007 Jun 06
3
Using odesolve to produce non-negative solutions
Hello,
I am using odesolve to simulate a group of people moving through time and transmitting infections to one another.
In Matlab, there is a NonNegative option which tells the Matlab solver to keep the vector elements of the ODE solution non-negative at all times. What is the right way to do this in R?
Thanks,
Jeremy
P.S., Below is a simplified version of the code I use to try to do this,
2006 Jul 24
3
standardized random effects with ranef.lme()
Using ranef() (package nlme, version 3.1-75) with an 'lme' object I can
obtain random effects for intercept and slope of a certain level (say:
1) - this corresponds to (say level 1) "residuals" in MLWin. Maybe I'm
mistaken here, but the results are identical.
However, if I try to get the standardized random effects adding the
paramter "standard=T" to the
2005 Oct 12
0
Mixed model for negative binomial distribution (glmm.ADMB)
Dear R-list,
I thought that I would let some of you know of a free R package, glmm.ADMB, that
can handle mixed models for overdispersed and zero-inflated count data
(negativebinomial and poisson).
It was built using AD Model Builder software (Otter Research) for random effects
modeling and is available (for free and runs in R) at:
http://otter-rsch.com/admbre/examples/glmmadmb/glmmADMB.html
I
2008 Oct 14
1
library MICE warning message
Hello.
I have run the command
imp<-mice(mydata, im=c("","pmm","logreg","logreg"),m=5)
for a variable with no missing data, a numeric one and two variables with binary data.
I got the following message:
There were 37 warnings (use warnings() to see them)
> warnings()
Warning messages:
1: In any(predictorMatrix[j, ]) ... : coercing argument of
2009 Feb 26
2
generalized linear mixed models with a beta distribution
Has there been any follow up to this question? I have found myself wondering
the same thing: How then does SAS fit a beta distributed GLMM? It also fits
the negative binomial distribution.
Both of these would be useful in glmer/lmer if they aren't 'illegal' as
Brian suggested. Especially as SAS indicates a favorable delta BIC of over
1000 when I fit the beta to my data (could be the
2010 Mar 11
2
Robust estimation of variance components for a nested design
One of my colleagues has a data set from a two-level nested design from
which we would like to estimate variance components. But we'd like some
idea of what the inevitable outliers are doing, so we were looking for
something in R that uses robust (eg Huber) treatment and returns robust
estimates of variance.
Nothing in my collection of R robust estimation packages (robust,
robustbase and MASS