

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CMPS 242 First Homework, Winter 2009 3 Problems, due start of class Thursday, Jan. 20 This homework in to be done in groups of 2-4. Each group members should completely understand the group’s solutions and must acknowledge all sources of inspiration, techniques, and/or helpful ideas (web, people, books, etc.) other than the instructor and class text.
h 1 h 2 h 3 a 0. 8 0. 25 0. 5 b 0. 8 0. 75 0. 5 c 0. 2 0. 75 0. 5
Assume we have the prior probabilities P (h 1 ) = 1/2, P (h 2 ) = 4/10, and P (h 3 ) = 1/ 10 and then see the sample, (a, +), (b, −), (c, +).
(a) What is the prior probability of + for each point before seeing the data? (b) Which hypothesis is the maximum likelihood hypothesis after seeing the data? (c) Which hypothesis is the maximum a’posteriori hypothesis after seeing the data? (d) What is the mean posterior (full Bayesian) probabilities of + for each point after seeing the data? (e) Consider the situation if we saw the sample twice, i.e. the sample was (a, +), (b, −), (c, +), (a, +), ( Which of the preceding answers would change?
Exercises. The following problems are for the student’s benefit are are not to be turned in.