The number of observed successes has now two contributions:
(29) | |||
(30) | |||
(31) |
The inferential result about is finally given by
(33) |
For the cases of expected background different from zero we have also evaluated the function, defined in analogy to Eq. (27) as Note that, while Eq. (27) is only defined for , since a single observation makes impossible, that limitation does not hold any longer in the case of not null expected background. In fact, it is important to remember that, as soon as we have background, there is some chance that all observed events are due to it (remember that a Poisson variable is defined for all non negative integers!). This is essentially the reasons why in this case the likelihoods tend to a positive value for (I like to call `open' this kind of likelihoods [2]).
As discussed above, the power of the data to update the believes on is self-evident in a log-plot. We seen in Fig. 6 that, essentially, the data do not provide any relevant information for values of below 0.01.Let us also see what happens when the prior concentrates our beliefs at small values of , though in principle allowing all values of from 0 to 1. Such a prior can be modeled with a log-normal distribution of suitable parameters (-4 and 1), i.e. , with an upper cut-off at (the probability that such a distribution gives a value above 1 is ). Expected value and standard deviation of Lognormal(-4,1) are 0.03 and 0.04, respectively.
We see that, with increasing expected background, the posteriors are essentially equal to the prior. Instead, in case of null background, ten trials are already sufficiently to dramatically change our prior beliefs. For example, initially there was 4.5% probability that was above 0.1. Finally there is only 0.09% probability for to be below 0.1.
The case of null background is also shown in Fig. 8, where the results of the three different priors are compared.
We see that passing from a to a , makes little change in the conclusion. Instead, a log-normal prior distribution peaked at low values of changes quite a lot the shape of the distribution, but not really the substance of the result (expected value and standard deviation for the three cases are: 0.67, 0.13; 0.64, 0.12; 0.49, 0.16). Anyway, the prior does correctly its job and there should be no wonder that the final pdf drifts somehow to the left side, to take into account a prior knowledge according to which 7 successes in 10 trials was really a `surprising event'.Those who share such a prior need more solid data to be convinced that could be much larger than what they initially believed. Let make the exercise of looking at what happens if a second experiment gives exactly the same outcome ( with ). The Bayes formula is applied sequentially, i.e. the posterior of the first inference become the prior of the second inference. That is equivalent to multiply the two priors (we assume conditional independence of the two observations). The results are given in Fig. 9.