poislind.ll | R Documentation |
Performs maximum likelihood estimation for the parameter of the Poisson-Lindley distribution.
poislind.ll(x, theta = NULL, ...)
x |
A vector of raw data which is distributed according to a Poisson-Lindley distribution. |
theta |
Optional starting value for the parameter. If |
... |
Additional arguments passed to the |
The discrete Poisson-Lindley distribution is a compound distribution that, potentially, provides a better fit for count data relative to the traditional Poisson and negative binomial distributions.
See the help file for mle
to see how the output is structured.
Ghitany, M. E. and Al-Mutairi, D. K. (2009), Estimation Methods for the Discrete Poisson-Lindley Distribution, Journal of Statistical Computation and Simulation, 79, 1–9.
Sankaran, M. (1970), The Discrete Poisson-Lindley Distribution, Biometrics, 26, 145–149.
mle
, PoissonLindley
## Maximum likelihood estimation for randomly generated data
## from the Poisson-Lindley distribution.
set.seed(100)
pl.data <- rpoislind(n = 500, theta = 0.5)
out.pl <- poislind.ll(pl.data)
stats4::coef(out.pl)
stats4::vcov(out.pl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.