[R] Confidence limits for the parameter of the Poisson distribution
Charles C. Berry
cberry at tajo.ucsd.edu
Thu Nov 6 21:48:18 CET 2008
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.
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> 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
More information about the R-help