[R] Zero truncated Poisson distribution & R2WinBUGS

2010-11-15 Thread julien martin
I am using a binomial mixture model to estimate abundance (N) and detection probability (p) using simulated count data: -Each site has a simulated abundance that follow a Poisson distribution with lambda = 5 -There are 200 simulated sampled sites -3 repeated counts at each site - only 50 percent of

Re: [R] Zero truncated Poisson distribution & R2WinBUGS

2010-11-15 Thread Ben Bolker
julien martin gmail.com> writes: > (2) The second part of the script calls WinBUGS and run the binomial > mixture models on the count data. In this case the count matrix y was > converted to a vector C1 before being passed over to BUGS > Any idea how to create a zero truncated Poisson for paramet

Re: [R] Zero truncated Poisson distribution & R2WinBUGS

2011-03-03 Thread Timothée
Hi, I have a very similar problem... In some sites, counts data>0 In the other sites, counts = 0 I already applied zero inflated models with the zero-trick (Martin et al 2005 in Ecology letters), but I would like to use truncated distributions (Poisson and negative binomial) to model my counts in o

Re: [R] Zero truncated Poisson distribution & R2WinBUGS

2011-03-03 Thread Achim Zeileis
On Thu, 3 Mar 2011, Timothée wrote: Hi, I have a very similar problem... In some sites, counts data>0 In the other sites, counts = 0 I already applied zero inflated models with the zero-trick (Martin et al 2005 in Ecology letters), but I would like to use truncated distributions (Poisson and neg