Professional Documents
Culture Documents
Homework 2
Probability Error-free = p
Probability not Error-free = q = 1-p
2) P(spam) = .5
P(~spam) = 1 - spam = .5
P(refinance | spam) = .01
P(refinance | ~spam) = .00001
P(spam | refinance)= ?
p(x) = p(-2) + p(-1) + p(0) + p(2) + p(0) = 2(2/c) + 2(1/c) + 2(0/c) = 6/c
6)