Displaying 20 results from an estimated 8000 matches similar to: "what to do with underdispersed count data"
2009 Apr 11
0
Sean / Re: question related to fitting overdispersion count data using lmer quasipoisson
Hey Buddy,
Hope you have been doing well since last contact.
If you have the answer to the following question, please let me know.
If you have chance to travel up north. let me know.
best,
-Sean
---------- Forwarded message ----------
From: Sean Zhang <seanecon@gmail.com>
Date: Sat, Apr 11, 2009 at 12:12 PM
Subject: question related to fitting overdispersion count data using lmer
2009 Apr 11
0
question related to fitting overdispersion count data using lmer quasipoisson
Dear R-helpers:
I have a question related to fitting overdispersed count data using lmer.
Basically, I simulate an overdispsed data set by adding an observation-level
normal random shock
into exp(....+rnorm()).
Then I fit a lmer quasipoisson model.
The estimation results are very off (see model output of fit.lmer.over.quasi
below).
Can someone kindly explain to me what went wrong?
Many thanks in
2008 Dec 04
2
Simulating underdispersed counts
Hello,
Anyone who knows a fast and accurate algorithm for generating draws from an underdispersed Poisson distribution. Or even better, if there is a package containing such an implementation.
Thanks
Rene
2012 Oct 14
2
Poisson Regression: questions about tests of assumptions
I would like to test in R what regression fits my data best. My dependent
variable is a count, and has a lot of zeros.
And I would need some help to determine what model and family to use
(poisson or quasipoisson, or zero-inflated poisson regression), and how to
test the assumptions.
1) Poisson Regression: as far as I understand, the strong assumption is
that dependent variable mean = variance.
2007 Mar 06
1
dispersion_parameter_GLMM's
Hi all,
I was wondering if somebody could give me advice regarding the
dispersion parameter in GLMM's. I'm a beginner in R and basically in
GLMM's. I've ran a GLMM with a poisson family and got really nice
results that conform with theory, as well with results that I've
obtained previously with other analysis and that others have obtained in
similar studies. But the
2010 Sep 12
1
R-equivalent Stata command: poisson or quasipoisson?
Hello R-help,
According to a research article that covers the topic I'm analyzing,
in Stata, a Poisson pseudo-maximum-likelihood (PPML) estimation can be
obtained with the command
poisson depvar_ij ln(indepvar1_ij) ln(indepvar2_ij) ...
ln(indepvarN_ij), robust
I looked up Stata help for the command, to understand syntax and such:
www.stata.com/help.cgi?poisson
Which simply says
2007 Mar 22
0
accounting for overdispersion in poisson distribution with lmer procedure
Hello,
I am analysing counts data with a mixed model using lmer procedure. I
therefore use the quasipoisson distribution but I'm not sure if this is
sufficient to account for overdispersion. Actually the results are not very
different to what I get when specifying a poisson distribution although my
data are clearly overdispersed.
this my model:
>model <- lmer(NB ~ T + volume +
2003 Mar 12
2
quasipoisson, glm.nb and AIC values
Dear R users,
I am having problems trying to fit quasipoisson and negative binomials glm.
My data set
contains abundance (counts) of a species under different management regimens.
First, I tried to fit a poisson glm:
> summary(model.p<-glm(abund~mgmtcat,poisson))
Call:
glm(formula = abund ~ mgmtcat, family = poisson)
.
.
.
(Dispersion parameter
2011 Jan 27
1
Quasi-poisson glm and calculating a qAIC and qAICc...trying to modilfy Bolker et al. 2009 function to work for a glm model
Sorry about re-posting this, it never went out to the mailing list when I
posted this to r-help forum on Nabble and was pending for a few days, now
that I am subscribe to the mailing list I hope that this goes out:
I've been a viewer of this forum for a while and it has helped out a lot,
but this is my first time posting something.
I am running glm models for richness and abundances. For
2011 Apr 07
1
Quasipoisson with geeglm
Dear all,
I am trying to use the GEE methodology to fit a trend for the number of butterflies observed at several sites. In total, there are 66 sites, and 19 years for which observations might be available. However, only 326 observations are available (instead of 1254). For the time being, I ignore the large number of missing values, and the fact that GEE is only valid under MCAR. When I run the
2007 Apr 10
1
When to use quasipoisson instead of poisson family
It seems that MASS suggest to judge on the basis of
sum(residuals(mode,type="pearson"))/df.residual(mode). My question: Is
there any rule of thumb of the cutpoiont value?
The paper "On the Use of Corrections for Overdispersion" suggests
overdispersion exists if the deviance is at least twice the number of
degrees of freedom.
Are there any further hints? Thanks.
--
Ronggui
2009 Jul 14
1
Simulation functions for underdispered Poisson and binomial distributions
Dear R users
I would like to simulate underdispersed Poisson and binomial
distributions somehow.
I know you can do this for overdispersed counterparts - using
rnbinom() for Poisson and rbetabinom() for binomial.
Could anyone share functions to do this? Or please share some tips for
modifying existing functions to achieve this.
Thank you very much for your help and time
Shinichi
2002 Mar 21
1
Underdispersion with anova testing methods
Using anova of a glm with test = "Chisq", I get this:
Analysis of Deviance Table
Model: poisson, link: log
Response: Days
Terms added sequentially (first to last)
Df Deviance Resid. Df Resid. Dev P(>|Chi|)
NULL 373 370.56
Block 3 71.05 370 299.51 2.543e-15
Variety 1 94.04 369
2003 Jan 16
3
Overdispersed poisson - negative observation
Dear R users
I have been looking for functions that can deal with overdispersed poisson
models. Some (one) of the observations are negative. According to actuarial
literature (England & Verall, Stochastic Claims Reserving in General
Insurance , Institute of Actiuaries 2002) this can be handled through the
use of quasi likelihoods instead of normal likelihoods. The presence of
negatives is not
2010 Nov 27
1
d.f. in F test of nested glm models
Dear all,
I am fitting a glm to count data using poison errors with the log link. My
goal is to test for the significance of model terms by calling the anova
function on two nested models following the recommendation in Michael
Crawley's guide to Statistical Computing.
Without going into too much detail, essentially, I have a small
overdispersion problem (errors do not fit the poisson
2012 Oct 22
1
glm.nb - theta, dispersion, and errors
I am running 9 negative binomial regressions with count data.
The nine models use 9 different dependent variables - items of a clinical
screening instrument - and use the same set of 5 predictors. Goal is to
find out whether these predictors have differential effects on the items.
Due to various reasons, one being that I want to avoid overfitting models,
I need to employ identical types of
2014 Feb 23
1
Random Count Generation with rnbinom
The documentation states :
An alternative parametrization (often used in ecology) is by the mean ?mu?, and ?size?, the dispersion parameter.
However, this fails :
> rnbinom(10, mu = 100, size = 0)
[1] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN
Warning message:
In rnbinom(10, mu = 100, size = 0) : NAs produced
For dispersion set to 0, it should work like drawing from a Poisson distribution.
2012 Aug 17
0
GEE with R: "double" overdispersion?
Dear R users,
I work with a descrete variable (sclae 0 - 27) which is highly skwed to the right (many zeros and small numbers). I measure this variable on a control and intervention cohort 5 times a year. When I analyze analyze this varoable at each time point separately and use GLM with family quasi-Poisson (descrete outcome and two binary variables, gender and cohort, are predictors), I observe
2003 Dec 18
1
bootstrap pValue in DClusters
Hello R-List
I use DClusters package (I work in a cancer regestry). I have 2 questions
about it:
1-how is it possible to get back the bootstrap pValue? I mean the pValue of
the calculated statistic with respect of the distribution of this statistic
under the null hypothesis.
2-how is it possible to test an overdispersion in the poisson model? for
choosing a best model I need this mesure of
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