Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/univariate.mle.R View source: R/univariate.mle.R

MLE of the left censored Poisson distribution.

1 | ```
censpois.mle(x, tol = 1e-07)
``` |

`x` |
A vector with positive valued data (zeros are not allowed). |

`tol` |
The tolerance level up to which the maximisation stops; set to 1e-07 by default. |

Instead of maximising the log-likelihood via a numerical optimiser we have used a Newton-Raphson algorithm which is faster. The lowest value in x is taken as the censored point. Values below are censored.

A list including:

`iters` |
The number of iterations required for the Newton-Raphson to converge. |

`loglik` |
The value of the maximised log-likelihood. |

`lambda` |
The estimated |

Michail Tsagris

R implementation and documentation: Michail Tsagris <mtsagris@uoc.gr>.

1 2 3 4 5 | ```
x1 <- rpois(10000,15)
x <- x1
x[x<=10] = 10
mean(x)
censpois.mle(x)$lambda
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.