In this section, some useful probability relations are presented for the subsequent section.
Let's define the probability density function (PDF) as
 |
(2.75) |
to facilitate the transition from the discrete case to the continuous case.
Bayes' theorem (or Bayes' formula) is a relationship that is derived by combining the theorem of compound probability with the theorem of absolute probability.
Starting from the definition of conditional probability
(multiplication rule), we obtain:
 |
(2.76) |
and conversely
 |
(2.77) |
with the consideration that
is obtained
 |
(2.78) |
The same reasoning can be applied in the case of three variables:
 |
(2.79) |
leading to Bayes' theorem
 |
(2.80) |
where the dependence on a third variable
is evident.
Another important formula that will be used in the next section is the law of total probability:
 |
(2.81) |
or in the continuous case
 |
(2.82) |
the marginal density of
.
Paolo medici
2025-10-22