Displaying 20 results from an estimated 1100 matches similar to: "glm and overdispersion"
2005 May 16
2
a problem sourcing a file using chdir=TRUE
Dear R-users,
I used to give commands such as:
> source(file="~/path/to/file.R", chdir=TRUE)
but with the latest v. 2.1.0 it does not seem to work anymore.
I tried to figure out what it was going on and it seems that the string
for which
> class(file)
[1] "character"
is changed to
> class(file)
[1] "file" "connection"
when the connection is
2003 Nov 19
1
Installing RXlisp
Dear R users,
I was trying to install the package RXLisp by Duncan Temple Lang on a MDK
9.1 Linux machine running R 1.8.0 installed from a RPM.
Unfortunately I had a problem loading the shared library into R. Since
I'm a Linux newbie I was not able to solve the problem. Maybe some of
you can help me.
First of all I downloaded the source archive for Xlisp-Stat and
for the RXlisp package.
2003 Feb 10
2
problems using lqs()
Dear List-members,
I found a strange behaviour in the lqs function.
Suppose I have the following data:
y <- c(7.6, 7.7, 4.3, 5.9, 5.0, 6.5, 8.3, 8.2, 13.2, 12.6, 10.4, 10.8,
13.1, 12.3, 10.4, 10.5, 7.7, 9.5, 12.0, 12.6, 13.6, 14.1, 13.5, 11.5,
12.0, 13.0, 14.1, 15.1)
x1 <- c(8.2, 7.6,, 4.6, 4.3, 5.9, 5.0, 6.5, 8.3, 10.1, 13.2, 12.6, 10.4,
10.8, 13.1, 13.3, 10.4, 10.5, 7.7, 10.0, 12.0,
2007 Jan 11
2
overdispersion
How can I eliminate the overdispersion for binary data apart the use of the quasibinomial?
help me
Eva Iannario
------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada11gen07
2011 Apr 01
1
qcc.overdispersion-test
Hi all,
I have made an overdispersion test for a data set and get the following result
Overdispersion test Obs.Var/Theor.Var Statistic p-value
poisson data 16.24267 47444.85 0
after deleting the outliers from the data set I get the following result
Overdispersion test Obs.Var/Theor.Var Statistic p-value
poisson data 16.27106 0 1
The
2008 Apr 21
1
estimate of overdispersion with glm.nb
Dear R users,
I am trying to fully understand the difference between estimating
overdispersion with glm.nb() from MASS compared to glm(..., family =
quasipoisson).
It seems that (i) the coefficient estimates are different and also (ii) the
summary() method for glm.nb suggests that overdispersion is taken to be one:
"Dispersion parameter for Negative Binomial(0.9695) family taken to be
2005 Nov 23
2
negative binomial overdispersion question
Hello,
I'm a grad student in the Intelligent Transportation Systems lab at Portland
State Univ. in Portland, OR, USA. I'm trying to learn the basics of R to run a
negative binomial in the near future, and so I ran a test regression on roadway
crash data obtained from "Statistical and Econometric Methods for
Transportation Data Analysis" by Washington et al (p. 250). I ran the
2005 Aug 24
3
plotting GAM
Dear colleagues,
I would like to have GAM regression lines (package gam) thicker than the default
setting does. Is there any way to change the width of regression line when plotting
gam.objects from the package GAM with more than one predictor? Changing lwd
parameter in plot function controls all line components, including points making them
thicker as well, which is not what I would like to
2008 Feb 11
1
overdispersion + GAM
Hi,
there are a lot of messages dealing with overdispersion, but I couldn't find
anything about how to test for overdispersion. I applied a GAM with binomial
distribution on my presence/absence data, and would like to check for
overdispersion. Does anyone know the command?
Many thanks,
Anna
--
View this message in context:
2012 Oct 18
2
Assessing overdispersion and using quasi model with lmer, possible?
Hello!
I am trying to model data on species abundance (count data) with a poisson
error distribution. I have a fixed and a random variables and thus needs a
mixed model. I strongly doubt that my model is overdispersed but I don't
know how to get the overdispersion parameter in a mixed model. Maybe someone
can help me on this point. Secondly, it seems that quasi models cannot be
implemented
2008 Oct 12
2
Overdispersion in the lmer models
Dear All,
I am working with linear mixed-effects models using the lme4 package in R. I created a model using the lmer function including some main effects, a three-way interaction and a random effect.
Because I work with a binomial and poisson distribution, I want to know whether there is overdispersion in my data or not. Does anybody know how I can retrieve this information from R?
Thank you
2010 Nov 19
2
Question on overdispersion
I have a few questions relating to overdispersion in a sex ratio data set
that I am working with (note that I already have an analysis with GLMMs for
fixed effects, this is just to estimate dispersion). The response variable
is binomial because nestlings can only be male or female. I have samples of
1-5 nestlings from each nest (individuals within a nest are not independent,
so the response
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 Nov 24
1
overdispersion and quasibinomial model
I am looking for the correct commands to do the following things:
1. I have a binomial logistic regression model and i want to test for
overdispersion.
2. If I do indeed have overdispersion i need to then run a quasi-binomial
model, but I'm not sure of the command.
3. I can get the residuals of the model, but i need to then apply a shapiro
wilk test to test them. Does anyone know the command
2015 Jun 25
1
Estimating overdispersion when using glm for count and binomial data
Dear All
I recently proposed a simple modification to Wedderburn's 1974 estimate
of overdispersion for count and binomial data, which is used in glm for
the quasipoisson and quasibinomial families (see the reference below).
Although my motivation for the modification arose from considering
sparse data, it will be almost identical to Wedderburn's estimate when
the data are not sparse.
2006 Sep 11
3
Extracting overdispersion estimates from lmer amd glm objects
Dear list,
I am needing to extract the estimate of overdispersion (deviance / residual degrees of freedom or c-hat) from multiple model objects - so they can then be used to compare the extent of overdispersion among alternative models as well as calculate qausi-AIC values. I have been unable to do this, despite consulting a number of manuals and searching the R-help. I am imaging that in
2000 Apr 19
1
scale factors/overdispersion in GLM: possible bug?
I've been poking around with GLMs (on which I am *not* an expert) on
behalf of a student, particularly binomial (standard logit link) nested
models with overdispersion.
I have one possible bug to report (but I'm not confident enough to be
*sure* it's a bug); one comment on the general inconsistency that seems to
afflict the various functions for dealing with overdispersion in GLMs
2009 Jan 07
1
how to estimate overdispersion in glmer models?
Dear all,
I am using function glmer from package lme4 to fit a generalized linear
mixed effect model. My model is as follows:
model1 <- glmer(fruitset ~ Dist*wire + (1|Site), data, binomial)
summary(model1)
Generalized linear mixed model fit by the Laplace approximation
Formula: fruitset ~ Dist * wire + (1 | Site)
Data: data
AIC BIC logLik deviance
68.23 70.65 -29.11 58.23
Random
2009 Feb 16
1
Overdispersion with binomial distribution
I am attempting to run a glm with a binomial model to analyze proportion
data.
I have been following Crawley's book closely and am wondering if there is
an accepted standard for how much is too much overdispersion? (e.g. change
in AIC has an accepted standard of 2).
In the example, he fits several models, binomial and quasibinomial and then
accepts the quasibinomial.
The output for residual
2011 Apr 21
1
Accounting for overdispersion in a mixed-effect model with a proportion response variable and categorical explanatory variables.
Dear R-help-list,
I have a problem in which the explanatory variables are categorical,
the response variable is a proportion, and experiment contains
technical replicates (pseudoreplicates) as well as biological
replicated. I am new to both generalized linear models and mixed-
effects models and would greatly appreciate the advice of experienced
analysts in this matter.
I analyzed the