Re: [R] Confidence limits for the parameter of the Poisson distribution

From: Charles C. Berry <cberry_at_tajo.ucsd.edu>
Date: Thu, 06 Nov 2008 12:48:18 -0800

On Thu, 6 Nov 2008, Hoang Trong Minh Tuan wrote:

> Hi all,
> So far I only know one way to get the confidence limit for the Poisson
> distribution is to use the look-up table given by the 2 parameter (the
> number of observation x and the confidence level, e.g. 95%) and the table is
> limit by the maximum number of observations (x <= 50).
> I know the formula to compute the CI, however, mathematically it is not
> easy to do it. So, anyone know an R function to do this. Thanks

A 'marriage-of-convenience' between uniroot() and ppois() should do it.

HTH, Chuck

>
> Tuan.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry_at_tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 06 Nov 2008 - 20:52:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 06 Nov 2008 - 21:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive