It is well known that the count of events occurring randomly in time or space follows a Poisson distribution.
 The probability \(P(\lambda, k)\) that an event expected to be observed \(\lambda\) times is observed exactly \(k\) times is given by:$$P(\lambda, k) = \frac{\lambda^k e^{-\lambda}}{k!}$$This is the Poisson distribution. The expected value of this distribution is \(\lambda\), and the variance is also \(\lambda\). For example, even if a station is used by an average of 10,000 people per day, the probability that the number of users on a given day is exactly 10,000 is only 0.4% ( \(= \displaystyle\frac{10000^{1000} e^{-10000}}{10000!}\) ).
 Now, we casually wrote “expected to be observed \(\lambda\) times,” but in general, knowing the true value of \(\lambda\) is difficult (unless God tells us). In most cases, we have no choice but to accumulate observations and estimate a value believed to be close to the true value (the maximum likelihood estimate) or a range that contains the true value. When a range that contains the true value with a certain probability can be estimated, that range is called a confidence interval. For example, a 95% confidence interval means the range where the probability of obtaining a value less than or equal to the observed value is 2.5% or less, and the probability of obtaining a value greater than or equal to the observed value is also 2.5% or less.
 For a Poisson distribution, when \(\lambda\) is sufficiently large, the distribution closely resembles a normal distribution with mean \(\lambda\) and variance \(\lambda\). In this case, the confidence interval follows the familiar normal distribution expressions: \([\lambda – \sqrt{ \lambda}, \lambda + \sqrt{ \lambda}] \) is the 68% confidence interval, and \([\lambda – 2\sqrt{ \lambda}, \lambda + 2\sqrt{ \lambda}] \) is the 95% confidence interval.
 On the other hand, when \(\lambda\) is small, the normal distribution approximation breaks down. This is because, for example, if an event was observed 0 times, the above approach would give an error of 0 (meaning the phenomenon never occurs), which is clearly wrong. Computing the confidence interval for a Poisson distribution requires solving rather complex integrals, but fortunately there exists a convenient open-source statistical analysis software called R (http://www.r-project.org/). The table below shows the upper and lower bounds of the confidence interval computed for small values of \(\lambda\). In R, you can calculate this immediately with a command like poisson.test(some_number, conf.level = 0.68).
| Count | 68% Confidence Interval of Expected Value | 95% Confidence Interval of Expected Value | ||
| Lower | Upper | Lower | Upper | |
| 0 | 0 | 1.841022 | 0 | 3.688879 |
| 1 | 0.172754 | 3.299527 | 0.025318 | 5.571643 |
| 2 | 0.708185 | 4.63786 | 0.242209 | 7.224688 |
| 3 | 1.367295 | 5.918186 | 0.618672 | 8.767273 |
| 4 | 2.085661 | 7.162753 | 1.089865 | 10.24159 |
| 5 | 2.840309 | 8.382473 | 1.623486 | 11.66833 |
| 6 | 3.620069 | 9.583642 | 2.201894 | 13.05947 |
| 7 | 4.41853 | 10.77028 | 2.814363 | 14.42268 |
| 8 | 5.231614 | 11.94514 | 3.453832 | 15.76319 |
| 9 | 6.056539 | 13.1102 | 4.115373 | 17.0848 |
| 10 | 6.891306 | 14.26695 | 4.795389 | 18.39036 |
| 11 | 7.734421 | 15.41652 | 5.49116 | 19.68204 |
| 12 | 8.584734 | 16.55982 | 6.200575 | 20.96159 |
| 13 | 9.441338 | 17.69757 | 6.921952 | 22.2304 |
| 14 | 10.3035 | 18.83038 | 7.65393 | 23.48962 |
| 15 | 11.17062 | 19.95874 | 8.395386 | 24.74022 |
| 16 | 12.0422 | 21.08307 | 9.145382 | 25.983 |
 For example, suppose you searched a 100 m2 area of grassland and encountered 10 lions. The number of lions per unit area (1 m2) has an expected value of 0.1 (= 10 lions / 100 m2). The 95% confidence interval for the count is [4.8, 18.4]. Therefore, the number of lions per 1 m2 is, with over 95% probability, between 0.048 (= 4.8/100) and 0.184 (= 18.4/100).
 Now, what if you didn’t encounter a single lion? The expected value is of course 0 lions/m2, but the 95% confidence interval is [0, 3.69]. Even though no lions were found, the upper bound of the confidence interval is not zero. Surprising, isn’t it? Watch out for lions.