Learn R Programming

LBI (version 0.2.0)

LIpois: Likelihood Interval of the Mean assuming Poisson Distribution

Description

Likelihood interval of lambda assuming Poisson distribution.

Usage

LIpois(x, k, conf.level=0.95, eps=1e-8)

Value

PE

point estimation for the lambda

LL

lower limit of likelihood interval

UL

upper limit of likelihood interval

Arguments

x

mean or lambda, the count in a time unit.

k

1/k likelihood interval will be calculated

conf.level

approximately corresponding confidence level. If k is specified, this is ignored.

eps

Values less than eps are considered as 0.

Author

Kyun-Seop Bae k@acr.kr

Details

It calculates likelihood interval of mean(lambda) assuming Poisson distribution. The likelihood interval is asymmetric and there is no standard error in the output.

Examples

Run this code
  LIpois(4, k=1/0.15) # Pawitan
  LIpois(4, k=exp(2)) # Edwards
  LIpois(4, k=8)      # Rhode
  LIpois(4)           # Bae
  LIpois(4, k=15)     # Fisher
#  poisson.test(4)
  LIpois(4, k=32)     # 0.7454614 11.7893612

Run the code above in your browser using DataLab