Open francescolosterzo opened 4 years ago
Hi Francesco,
For ex4.1, you are right. My solution reverses the meaning of y
.
For ex4.2, the solution I proposed is a bit of a hack. The more correct solution is to update both distributions simultaneously by making a joint distribution. In the second edition, I am moving this exercise to a later chapter where we can do it right.
Thanks for these corrections!
Hello! I have some problems with the exercises from chapter 4: I found a solution for ex. 4.1 (here it is), but it doesn't match exactly the actual solution, and I can't understand the solution proposed for ex. 4.2.
ex. 4.1 Given this statement:
I assumed the following:
Did I misinterpret the assignment? Or what?
ex. 4.2 Here I tried to follow the same reasoning to compute the likelihood, but I had to give up since I was not getting it. I looked at the proposed solution and I am not really understanding it.
Given the text in the solution:
I would write it as follows in terms of probability: Q = P(vote=UP|R=1) R = P(vote=UP|Q=1)
Now of course the likelihood is (as stated in the solution):
but I can't understand the solution itself, i.e. I can't obtain it when writing it down in terms of probability:
P(vote=UP|R,Q) = ... ?
What am I missing? Can anyone please help?
PS: since I already wrote a lot, adding these few words won't hurt: I love this book, great work Allen!