Skip to content
Prev 8991 / 20628 Next

Mixed model and negative binomial distribution

Alain, thank you very much for the advice regarding analysis of my (negative
binomial vs. poisson-distributed) snag data, and my warmest congratulations
on your nuptials
-Seth W. Bigelow

-----Original Message-----
From: r-sig-mixed-models-bounces at r-project.org
[mailto:r-sig-mixed-models-bounces at r-project.org] On Behalf Of Highland
Statistics Ltd
Sent: Friday, October 05, 2012 1:04 PM
To: r-sig-mixed-models at r-project.org
Subject: [R-sig-ME] Fwd: Re: Mixed model and negative binomial distribution




-------- Original Message --------
Subject: 	Re: Mixed model and negative binomial distribution
Date: 	Fri, 05 Oct 2012 12:37:28 +0200
From: 	Highland Statistics Ltd <highstat at highstat.com>
To: 	r-sig-mixed-models at r-project.org <r-sig-mixed-models at r-project.org>



------------------------------

Message: 2
Date: Fri, 5 Oct 2012 04:32:36 +0000 (UTC)
From: Ben Bolker <bbolker at gmail.com>
To: r-sig-mixed-models at r-project.org
Subject: Re: [R-sig-ME] Mixed model and negative binomial distribution
Message-ID: <loom.20121005T062854-986 at post.gmane.org>
Content-Type: text/plain; charset=us-ascii

Seth W. Bigelow <seth at ...> writes:
In
-----------
Yesterday, Alain was on a nice beach in the Caribbean enjoying his wedding.
Now he is close to the north pole.


Yes....this sounds MCMC. And code for NB GLMM with AR1 correlation and zero
inflation is indeed in the 2012 book.
However...if the zeros are sequential in time then the correlation and zero
inflation components may fight
for the same information. And the NB distribution may try to take its share
of zeros as well. Better start with
the Poisson version of it....and if a Poisson + correlation + ZIP still
shows problems, then consider the NB.
For irregular time series consider a CAR correlation.

As to the implementation..try WinBUGS, OpenBUGS, JAGS....code is nearly the
same. I recently downloaded STAN...looks promising too.

You may also want to have a look at "Generalized Additive Mixed Model
Analysis via gammSlice" by Pham and Wand.
GAMM is essentially a GLMM.... But I don;t think it can do zero
inflation....but perhaps it does NB GLMM. Not sure.



Alain