Statistical Illogical and the Crisis of Modern Science.

Page 40:

This same process will apply to any problem of inference among multiple hypotheses. In fact, this will be the only procedure we’ll ever need to use to do probabilistic inference – for the rest of the book and for the rest of our lives. To help keep the pieces organized, we’ll arrange them in a table, which I’ll refer to from now on as an inference table. The following are the steps for any problem, and the corresponding inference table shown in table 1.1.

- Enumerate all the possible hypotheses, H
_{1}, …, H_{n}and consider their probabilities not including any observation, P[H_{1}], …, P[H_{n}]. These are theor**prior probabilities**for short.**priors** - For a given observation of data, D, compute the probability of that observation assuming each hypothesis is true, in turn. These are the
*sampling probabilities*for the data given the hypothesis. - Compute the probability of arriving at the observation D by means of any one of the hypotheses by multiplying the prior by the sampling probability: for example, P[H
_{1}] * P[D|H_{1}] and so on. We’ll call these the. Summing them gives the total probability of the data:**pathway probabilities**

P[D] = P[H _{1}] * P[D|H_{1}] + … + P[H_{n}] * P[D|H_{n}] - Once this calculation is accomplished, the inferential probability for each hypothesis is easy to find, since it is just the relative proportion of that term in the preceding sum. These are just the posterior probabilities, which, according to Bayes’ theorem, are given by
P[H _{i}|D] = P[H_{i}] * P[D|H_{i}]/P[D]