Displaying 20 results from an estimated 1000 matches similar to: "GlmmPQL help"
2007 Aug 08
1
Changing font in boxplots
Hi all,
I am very new to R and this might be a simple question but I have looked
everywhere you suggest before writing to you.
I am trying to change font type from san-serif to a serif (Times New
Romans) on all labels and axis of my boxplot. I have used this function in
other plots before, e.g.:
plot(residuals~lnlifespan, data=mydata, pch=psymb, font=6, xlab="ln
reproductive
2009 May 18
2
Overdispersion using repeated measures lmer
Dear All
I am trying to do a repeated measures analysis using lmer and have a number
of issues. I have non-orthogonal, unbalanced data. Count data was obtained
over 10 months for three treatments, which were arranged into 6 blocks.
Treatment is not nested in Block but crossed, as I originally designed an
orthogonal, balanced experiment but subsequently lost a treatment from 2
blocks. My
2009 Oct 19
1
lmer family=binomal p-values
Hi,
If any one has time I need some help understanding the P-values given in the lmer output.
Using AIC for model selection I find my minimal model is FOLLOW~MOVERSTATUS+DISTANCE however it appears DISTANCE is not significant at 95% confidence, see output quoted below.
However, removing DISTANCE gives a higher AIC=433.5, therefore I will keep it in, but am confused as to what is adds to the
2004 Jul 06
2
Re: errors in randomization test
Colin Bleay wrote:
> last week i sent an e-mail about dealing with errors thrown up from a
> glm.nb model carried out on multiple random datasets.
>
> every so often a dataset is created which results in the following error
> after a call to glm.nb:
>
> "Error: NA/NaN/Inf in foreign function call (arg 1)
> In addition: Warning message:
> Step size truncated due
2003 Jul 22
1
Making a group membership matrix
Hi Helpers:
I have a factor object that has 314k entries of 39 land cover types.
(This object can be coerced to characters neatly should that be easier
to work with.)
> length(foo)
[1] 314482
> foo[1:10]
[1] Montane Chaparral Barren Red Fir Red Fir
[5] Red Fir Red Fir Red Fir Red Fir
[9] Red Fir Red Fir
39 Levels:
2010 Apr 14
1
envelope in spatstat
Hi R users,
This query is regarding the use of the 'envelope' function in Spatstat.
My data can be represented as a point process with CONTINUOUS marks:
points <- ppp(x=x,y=y, marks=m, window= wind)
However the marks are alignments (lines), and so have to be treated
differently to normal scalar marks. Hence to create a mcf object with the
appropriate test function for alignment
2011 Oct 04
2
Adonis and nmds help and questions for a novice.
Hi,
forgive me if someone has already posted about this but I have had a look and cannot find the answer, also I am very new to R and been getting the grips with this.
I have been trying to use Adonis to find out if there are significant difference between groups on data that I have analyses with NMDS, and have been struggling with getting this to work and understanding what is going on. I am
2008 Apr 13
1
plotting muliple CI ellipses for EB estimates
I have empirical Bayes estimates for slopes and intercepts for a number of
subjects and I would like to plot the slopes and intercepts with confidence
ellipses. These ellipses would be based on the confidence intervals for the
slope and intercepts (forming the major and minor axis of each ellipse), and
the correlation in the slope and intercepts.
The ellipse function in the car library
2008 Oct 24
0
Problem with "plflatex wrapper.tex"
Hi, All:
I encountered problems running "pdflatex wrapper.tex", as
suggested on "www.r-project.org" -> Newsletter -> (near the bottom of
the page). After 220 lines of seemingly successful processing, I got an
error copied below. I hit <enter> a few times, and the "pdflatex"
finished, apparently successfully.
Comments?
Thanks,
2000 Apr 05
1
simulation from a bivariate normal distribution
Hi,
I need to generate two normal variables with covariance matrix:
0.25, 0.20
0.20, 0.25
but I have no idea how to do that.
Can anyone help me?
Thanks,
Joaquim
----------------------------------------------------------------------------
----------
Joaquim J. S. Ramalho
University of Bristol
Department of Economics
8 Woodland Road
Bristol BS8 1TN
United Kingdom
2008 Sep 15
2
write only permissions
Hi,
We've just put in a Samba fileserver to replace our windows box for our
School District and it seems to be working great. I have a question
about defining some specific permissions though. We set up 'Drop boxes'
for teachers that kids can drag files into, but they don't have read
permission so they can't read each others submitted work. Here's what
is looks like on
2008 Jul 18
3
winbind/idmap/AD problem?
Hi,
I'm running 3.0.28a on Ubuntu 8.04 (their package). I've got security =
ads and idmap backend = ad (smb.conf is posted below). I'm using
libnss-ldap and have ldap in nsswitch.conf (also posted below) and ldap
connected to the AD server. I have the drive mounted using acl and
xattr_user options in fstab (acl is installed). I can connect to the
share, I see in the logs that
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 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
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
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),
2006 Oct 29
1
glmmPQL in 2.3.1
I have come across the previous communication on this list in September
(copied below) because I had received the same error message.
I understand from Brian Ripley's reply that anova should not be used
with glmmPQL because it is not an adequate method, and that this is now
shown with an error message.
My question is, what method *should* be used? Using summary does not
give me the result
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
2003 Jul 25
1
glmmPQL using REML instead of ML
Hi,
In glmmPQL in the MASS library, the function uses
repeated calls to the function lme(), using ML. Does
anyone know how you can change this to REML? I know
that in lme(), the default is actually set to REML and
you can also specify this as 'method=REML' or
'method'ML' but this isn't applicable to glmmPQL().
I'd appreciate any help or advice!
Thanks,
Emma
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: