Baysian Inferences
Baysian Inferences
Bayesian Inference
11
Mechanism of Bayesian Inference:
• The Bayesian approach treats probability as a
degree of beliefs about certain event given the
available evidence.
• In Bayesian Learning, Theta is assumed to be a
random variable.
• Let’s understand the Bayesian inference
mechanism a little better with an example.
Bayesian Inference
• Example of Bayesian inference
• Bayesian inference is probably best explained through a
practical example.
• Let’s say that our friend Bob is selecting one marble from
two bowls of marbles. The first bowl has 75 red marbles and
25 blue marbles. The second bowl has 50 red marbles and
50 blue marbles. Given that Bob is equally likely to choose
from either bowl and does not discriminate between the
marbles themselves, Bob in fact chooses a red marble. What
is the probability Bob picked the marble from bowl #1?
• Let’s call the possibility that Bob chose a marble from bowl
#1 H1 (Hypothesis 1) and the possibility he chose a marble
from bowl #2 H2 (Hypothesis 2).
Bayesian Inference
• If we know that Bob believes the bowls are
identical, then the probability of hypothesis 1
is equal to the probability of hypothesis 2
( P(H1) = P(H2) ), and both hypotheses must
be equal to one (the total probability), making
them each 0.5.
• P(H1) = P(H2) = 0.5
Bayesian Inference
• Now we’ll call the observation of a red marble, event E. Given
the distribution of the marbles in each bowl, we know that :
• P(E|H1) = 75/100 = 0.75
• P(E|H2) = 50/100 = 0.50
• Plugging in these probabilities into Bayes’ formula we get:
Bayesian Inference
• Before we used the observational data from Bob’s
choice, the probability that he chose a marble
from bowl #1 (Hypothesis 1) was 0.5 because the
bowls were equal from Bob’s point of view.
• After we observe that he chose a red marble, and
apply Bayes’ theorem, we revise the probability of
Hypothesis 1 to 0.6.
• This is Bayesian inference, using new information
to update a probabilistic model.
Application of Bayesian Inference in financial risk modeling: