Topic: Probabilistic Reasoning
Related Reading: Ch. 14
Due:
Please make sure you adhere to the policies on academic integrity.
We have a bag of three biased coins, a, b, and c, with probabilities of coming up heads of 20%, 60%, and 80%, respectively. One coin is drawn randomly from the bag (with equal likelihood of drawing each of the three coins), and then the coin is flipped three times to generate the outcomes X1, X2, X3.
General topology is
Coin
/ | \
X1 X2 X3
The variable Coin has (unconditional)
probability <1/3, 1/3, 1/3> of respectively
being <a, b, c>.
Each of the Xk variables has the identical CPT
| Coin | P(Xk=head | Coin) |
|---|---|
| a | 0.2 |
| b | 0.6 |
| c | 0.8 |
By Bayes rule,
Given that there are three discrete values for Coin,
and that P(Coin) is uniform,
we get that the desired conditional probability is
Let Hx be a random variable denoting the handedness of a person x, with possible values l for x being left-handed and r for x being right-handed. A popular hypothesis is that left- or right-handedness is inherited by a simple mechanism; that is, perhaps there is a gene Gx, also with values l or r, and actual handedness turns out the same (with some probability s) as the gene that the person possesses. Furthermore, the gene itself is equally likely to be inherited from either of a person's parents, with a small non-zero probability m of a random mutation flipping the handedness.
Consider the following three Bayesian Networks.
|
|
|
| (1) | (2) | (3) |
The three variables are clearly modeled as independent in Network (3). In the other two networks, P(Gchild) is modeled with a direct dependency on the other two.
Networks (1) and (2) both model the inheritance portion of the hypothesis, as they suggest that a child's gene is dependent solely on the parent's genes.
Network (1) best models the genetic hypothesis as well as the hypothesis that an individual's handedness is predicted based solely on the underlying gene.
Note that Network (2) suggests that the handedness of the child is not only dependent on that child's gene, but also on the manifested handedness of the parents (e.g, that the right-handed parent may always put toys in the child's right hand)
We note that the above values can be calculated by
separately considering the two equally likely cases of
the gene being passed by the mother versus the
father, and then the subsequent possibility of
mutation in either case. Note that for the row with
Gmother = l and
Gfather = r, the
child might end up left handed either by having that
gene inherited from the mother and then not mutated
(thus with probability 0.5 * (1-m) ), or perhaps by
inheriting r from the father but then having it
mutated (thus with probability 0.5 * m). Therefore,
the overall probability in that case is
Gmother
Gfather
P(Gchild=l)
l
l
1-m
l
r
0.5
r
l
0.5
r
r
m
Using the CPT from the previous question, the desired
probability is
This expression can also be deduced by recognizing
that no matter which parent a gene is inherited from,
there will be probability q that it is L. The
probability of the child ending up with L is either by
inheriting L and not mutating it or by inheriting R
and mutating it. So the overall probability is thus
To get equilibrium, we should have