COMPSCI 171 Quiz: 2017-fq-cs-171-quiz-3
Document Summary
Quiz #3 fall quarter, 2017 20 minutes. Your id: (42 pts total, 6 pts each) probability formulas. Below, in terms of x means x should appear in your answer. 1. a. (6 pts) write the formula for p(a b) in terms of p(a b) and possibly other terms. 1. b. (6 pts) write the formula for the conditional probability p(a | b). 1. c. (6 pts) factor p(a b c) completely using the product rule (or chain rule). You may use any variable ordering you wish. 1. d. (6 pts) given a joint probability distribution p(a b c), use the sum rule (or law of total probability) to write the marginal probability of p(a). 1. e. (6 pts) write bayes" rule (or bayes" theorem). 1. f. (6 pts) assume that a and b are independent. Write p(a b) in terms of p(a) and p(b) and possibly other terms.