Re: [R-sig-eco] zero-truncated Poisson

2011-04-10 Thread Ben Bolker
On 11-04-09 03:07 AM, Peter Solymos wrote: Jeff, The zero truncated Poisson distribution can be described as a probability function conditional on Y0: Pr(Y=y|Y0) = Pr(Y=y) / (1-Pr(Y=0)), y=1,2,3,... This leads to this function 'nll' for the negative log-likelihood: nll -

Re: [R-sig-eco] zero-truncated Poisson

2011-04-10 Thread Stratford, Jeffrey
-ecology@r-project.org Subject: Re: [R-sig-eco] zero-truncated Poisson On 11-04-09 03:07 AM, Peter Solymos wrote: Jeff, The zero truncated Poisson distribution can be described as a probability function conditional on Y0: Pr(Y=y|Y0) = Pr(Y=y) / (1-Pr(Y=0)), y=1,2,3,... This leads

Re: [R-sig-eco] zero-truncated Poisson

2011-04-09 Thread Peter Solymos
] Sent: Friday, April 08, 2011 4:15 PM To: Stratford, Jeffrey Cc: r-sig-ecology@r-project.org Subject: Re: [R-sig-eco] zero-truncated Poisson -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/08/2011 04:10 PM, Stratford, Jeffrey wrote: Hi everyone, I'm attempting to run a zero-truncated

[R-sig-eco] zero-truncated Poisson

2011-04-08 Thread Stratford, Jeffrey
Hi everyone, I'm attempting to run a zero-truncated Poisson using VGAM and I run into this error: Error in if ((temp - sum(wz[, 1:M, drop = FALSE] wzepsilon))) warning(paste(temp, : argument is not interpretable as logical Here's the code I'm using blja - read.csv(g:\\blja\\blja.csv,

Re: [R-sig-eco] zero-truncated Poisson

2011-04-08 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/08/2011 04:10 PM, Stratford, Jeffrey wrote: Hi everyone, I'm attempting to run a zero-truncated Poisson using VGAM and I run into this error: Error in if ((temp - sum(wz[, 1:M, drop = FALSE] wzepsilon))) warning(paste(temp, :

Re: [R-sig-eco] zero-truncated Poisson

2011-04-08 Thread Stratford, Jeffrey
Message- From: Ben Bolker [mailto:bbol...@gmail.com] Sent: Friday, April 08, 2011 4:15 PM To: Stratford, Jeffrey Cc: r-sig-ecology@r-project.org Subject: Re: [R-sig-eco] zero-truncated Poisson -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/08/2011 04:10 PM, Stratford, Jeffrey wrote: Hi

Re: [R-sig-eco] Zero-truncated Poisson model in R

2010-05-17 Thread ONKELINX, Thierry
-Oorspronkelijk bericht- Van: r-sig-ecology-boun...@r-project.org [mailto:r-sig-ecology-boun...@r-project.org] Namens Manuel Spínola Verzonden: maandag 17 mei 2010 4:15 Aan: r-sig-ecology@r-project.org Onderwerp: [R-sig-eco] Zero-truncated Poisson model in R Dear list members, Is there any

Re: [R-sig-eco] Zero-truncated Poisson model in R

2010-05-17 Thread Maarten de Groot
Hi Manuel, It seems that the package VGAM is taking zerotruncated models into account. You can find more info on http://www.stat.auckland.ac.nz/~yee/VGAM/index.html. You can use as a family function posnegbinomial (for zero truncated data with negative binomial distribution) or pospoisson

[R-sig-eco] Zero-truncated Poisson model in R

2010-05-16 Thread Manuel Spínola
Dear list members, Is there any function to do zero-truncated poisson or zero-truncated negative binomail in R? Thank you very much in advance. Best, Manuel Spínola -- Manuel Spínola, Ph.D. Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado