Displaying 20 results from an estimated 2000 matches similar to: "glmmPQL using REML instead of ML"
2006 Mar 24
1
predict.glmmPQL Problem
Dear all,
for a cross-validation I have to use predict.glmmPQL() , where the
formula of
the corresponding glmmPQL call is not given explicitly, but constructed
using as.formula.
However, this does not work as expected:
x1<-rnorm(100); x2<-rbinom(100,3,0.5); y<-rpois(100,2)
mydata<-data.frame(x1,x2,y)
library(MASS)
# works as expected
model1<-glmmPQL(y~x1, ~1 | factor(x2),
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
2004 Oct 29
1
glmmPQL and REML
Hi,
I am trying to use glmmPQL package for Generalized linear mixed models.
This package works by repeated calls to lme. lme uses by default REML
method for estimation. Then, does glmmmPQL use REML too? In contrast,
how can I change it?
I have tried it, writing : method="REML", but the program says: invalid
method REML.
If somebody can answer me....thanks,
Sonja
2005 Oct 19
1
anova with models from glmmPQL
Hi !
I try to compare some models obtained from glmmPQL.
model1 <-
glmmPQL(y~red*yellow+I(red^2)+I(yellow^2)+densite8+I(densite8^2)+freq8_4
+I(freq8_4^2), random=~1|num, binomial);
model2 <-
glmmPQL(y~red*yellow+I(red^2)+I(yellow^2)+densite8+I(densite8^2)+freq8_4
, random=~1|num, binomial);
anova(model1, model2)
here is the answer :
Erreur dans anova.lme(model1, model2) : Objects must
2003 Jun 20
1
User can delete file when they have no read/write access
Im haveing a problem with my profiles share on my Samba 2.2.3 PDC server.
I have a share like this:
[profiles]
path = /home/samba/profiles
writeable = yes
create mask = 0700
directory mask = 0700
browsable = no
valid users = root,@smbusers
The roaming profile works just fine with windows2k, and the users can't read the other profiles (they get a "access
2005 Mar 17
2
Repeated Measures, groupedData and lme
Hello
I am trying to fit a REML to some soil mineral data which has been
collected over the time period 1999 - 2004. I want to know if the 19
different treatments imposed, differ in terms of their soil mineral
content. A tree model of the data has shown differences between the
treatments can be attributed to the Magnesium, Potassium and organic
matter content of the soil, with Magnesium being the
2003 Apr 22
1
glmmPQL and additive random effects?
I'm a bit puzzled by how to write out additive random effects in
glmmPQL. In my situation, I have a factorial design on two
(categorical) random factors, A and B. At each combination, I have a
binary response, y, and two binary fixed covariates, C and D.
If everything were fixed, I would use
glm(y ~ A + B + C + D, family = binomial)
My first thought was to use
glmmPQL(y ~ A + B, random
2006 Sep 25
1
glmmPQL in 2.3.1
Dear R-help,
I recently tried implementing glmmPQL in 2.3.1, and I discovered a
few differences as compared to 2.2.1. I am fitting a regression with
fixed and random effects with Gamma error structure. First, 2.3.1
gives different estimates than 2.2.1, and 2.3.1, takes more
iterations to converge. Second, when I try using the anova function
it says, "'anova' is not available
2006 Apr 10
1
Weights in glmmPQL
Hello,
I am using the R function glmmPQL to fit a logistic GLMM, with weights.
I am finding that I get fairly different parameter estimates in glmmPQL
from fitting the full dataset (with no "weight" statement) and an
equivalent, shorter dataset with the weights statement. I am using the
weights statement in the 'glmmPQL' function exactly as in the 'glm'
function. I
2006 Feb 10
1
glmmPQL and random effects
Hello R users,
I am trying to run a model with a binary response variable (nesting
success: 0 failure, 1 success) and 8 fixed terms. Nesting success was
examined in 72 cases in 34 territories (TER) during a 6 study years.
Territories are nested within 14 patches (PATCH). I want to run a model
taking into account these nested factors and repeated observation. To do
this, I assume that the best
2007 Oct 09
2
Help with gamm errors
Dear All
Hopefully someone out there can point out what I am missing! I have a
(large, several hundred) dataset of gardens in which over two years the
presence/absence of a particular bird species is noted each week. I have
good reason to believe there is a difference between the two years in the
weekly proportion of gardens and would like to assess this, before going on
to look in more detail at
2005 Aug 20
1
glmmPQL and Convergence
I fit the following model using glmmPQL from MASS:
fit.glmmPQL <-
glmmPQL(ifelse(class=="Disease",1,0)~age+x1+x2,random=~1|subject,family=binomial)
summary(fit.glmmPQL)
The response is paired (pairing denoted by subject), although some
subjects only have one response. Also, there is a perfect positive
correlation between the paired responses. x1 and x2 can and do differ
within each
2008 Sep 02
1
plotting glmmPQL function
hello all,
i'm an R newbie struggling a bit with the glmmPQL function (from the nlme
pack). i think i've managed to run the model successfully, but can't seem
to plot the resulting function. plot(glmmPQL(...)) plots the residuals
rather than the model... i know this should be basic, but i can't seem to
figure it out. many thanks in advance.
j
--
View this message in context:
2013 Jul 11
1
Differences between glmmPQL and lmer and AIC calculation
Dear R Community,
I?m relatively new in the field of R and I hope someone of you can
help me to solve my nerv-racking problem.
For my Master thesis I collected some behavioral data of fish using
acoustic telemetry. The aim of the study is to compare two different
groups of fish (coded as 0 and 1 which should be the dependent
variable) based on their swimming activity, habitat choice, etc.
2003 Apr 14
1
Problem with nlme or glmmPQL (MASS)
Hola!
I am encountering the following problem, in a multilevel analysis,
using glmmPQL from MASS. This occurs with bothj rw1062 and r-devel,
respectively with nlme versions 3.1-38 and 3.1-39 (windows XP).
> S817.mod1 <- glmmPQL( S817 ~ MIEMBROScat+S901+S902A+S923+URBRUR+REGION+
+
S102+S103+S106A+S108+S110A+S109A+S202+S401+S557A+S557B+
+ YHOGFcat,
2004 Jun 09
1
GlmmPQL
Dear all,
I have two questions concerning model simplification in GlmmPQL, for for random
and fixed effects:
1. Fixed effects: I don't know if I can simply specify anova(model) and trust
the table that comes up with the p value for each variable in the fixed
effects formula. I have read that the only way to test for fixed effects is to
do approximate wald tests based on the standard errors
2004 Mar 06
2
GlmmPQL with binomial errors
Hi all!
I hope somebody can help me solve some doubts which must be very basic,
but I haven't been able to solve by myself.
The first one, is how to assess for overdispersion in GlmmPQL when fitting
binomial or poisson errors. The second one is whether GlmmPQL can compare
models with different fixed effects.
The third doubt, regards the way I should arrange my data in a GlmmPQL with
2003 Jul 11
2
Offsets in glmmPQL?
I've got a colleague who's using a GLMM to analyse her data, and I've
told her that she needs to include an offset. However, glmmPQL doesn't
seem to allow one to be included. Is there anyway of doing this?
Bob
--
Bob O'Hara
Rolf Nevanlinna Institute
P.O. Box 4 (Yliopistonkatu 5)
FIN-00014 University of Helsinki
Finland
Telephone: +358-9-191 23743
Mobile: +358 50 599
2005 Sep 04
1
specification for glmmPQL
Hello All,
I have a question regarding how glmmPQL should be specified. Which of
these two is correct?
summary(fm.3 <- glmmPQL(cbind(response, 100 - response) ~ expt,
data = data.1, random = ~ 1 | subject,
family = binomial))
summary(fm.4 <- glmmPQL(response ~ expt, data = data.2,
random = ~ 1 | subject, family =
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