2.2 Bayes Theorem Applied

Let us return the example of the investor. From theory of binomial distributions, if the probability of some event occurring on any one trial is p, then the probability of x such events occurring out of n trials is expressed as:

 

P(x)=(n!/(x!*(n-x)!))*p^x*(1-p)^(n-x) (eq. 8)[5]

 

For example, the likelihood that 5 out of 20 people will support her enterprise should her location actually fall into the category where 20% of franchises actually achieve 25% saturation is:

 

P(x=5|p_sub_0.20)=(20!/(5!*(20-5)!)*0.25^5*0.75^15=0.20233 (eq. 9)

 

The likelihood of the other situations can also be determined:

 

Table 3: Likelihood of An Investor Finding herself in each situation given x=5 and n=20

Event (Market Saturation)

pi

Prior Probability
P0(pi)
Likelihood of Situation P(x=5|pi)

Joint Probability of Situation
P(x=5|pi)*

P0(pi)

Posterior Probability
P_sub_1(p_sub_1)=P(p+sub_i|x=5)=(P(x=5|p_sub_i)*P_sub_0(p_sub_i))/P(x=5)
0.10 0.05 0.03192 0.001596 0.00959
0.15 0.05 0.10285 0.005142 0.00309
0.20 0.20 0.17456 0.034912 0.20983
0.25 0.20 0.20233 0.040466 0.24321
0.30 0.40 0.17886 0.071544 0.43000
0.35 0.10 0.12720 0.012720 0.07645
Totals 1.00 0.81772 0.166381=
P(x=5)
0.99997

 

The sum of all the Joint Probabilities provides the scaling factor found in the denominator of Bayes Theorem and is ultimately related to the size of the sample. Had the sample been greater than 20, the relative weighting between prior knowledge and current evidence would be weighted more heavily in favour of the latter. The Posterior Probability column of Table 4 shows the results of the Bayesian theorem for this case. By adding up the relative posterior probabilities for market shares >=25% and those <25%, our investor will see that there is a 75% probability that her franchise will make money--definitely a more attractive situation on which to base an investment decision.