130 likes | 284 Views
Signal detection, conditional probability and Bayes’ theorem. Takashi Yamauchi TAMU. Given the data above, calculate d’, hit and false alarm. d’ = Hit= False alarm =. d’ = Z(Hit) – Z(False alarm) Hit= False alarm =. Definitions of hit and false alarm. Hit =
E N D
Signal detection, conditional probability and Bayes’ theorem Takashi Yamauchi TAMU
Given the data above, calculate d’, hit and false alarm. d’ = Hit= False alarm =
d’ = Z(Hit) – Z(False alarm) Hit= False alarm =
Definitions of hit and false alarm • Hit = P(resp = yes | stim = yes) • False alarm = P(resp = yes | stim = no)
Big Mac McDonald’s Diet Coke 100 Among all customers, how many of them bought Big Mac? Among all customers, how many of them bought Diet Coke? Among all customers, how many bought both Big Mac And Diet Coke? Among those bought Diet Coke, how many also bought Big Mac? 10 40 20 30
Big Mac McDonald’s Diet Coke 100 • Among all customers, how many of them bought Big Mac? • P(Big Mac)=? • Among all customers, how many of them bought Diet Coke? • P(Diet Coke) =? • Among all customers, how many bought both Big Mac And Diet Coke? • P(Big Mac & Diet Coke) = ? • Among those bought Diet Coke, how many also bought Big Mac? • P(Big Mac | Diet Coke) =? 10 40 20 30
P(Big Mac | Diet Coke) = P(Big Mac, Diet Coke) / P(Diet Coke) P(X | Y) = P(X, Y) / P(Y)
McDonald’s 100 Big Mac 10 40 20 Diet Coke 30
McDonald’s 100 Big Mac 10 40 20 Diet Coke 30
McDonald’s 100 X 10 40 20 Y P(Y=yes)=? P(X=yes)=? P(Y=yes, X=yes)=? P(X=yes | Y=yes)=? 30
100 X Y 10 40 20 Hit =? P(resp=yes | stim = yes) False Alarm =? P(resp=yes | stim = no) 30
Conditional probability P(X | Y) = P(X, Y) / P(Y) P(X| Y) P(Y) = P(X, Y) P(Y | X) = P(X, Y) / P(X) P(Y | X) P(X) = P(X, Y) Bayes’ theorem P(X | Y) P(Y) = P(Y | X) P(X) P(X | Y) = P(Y | X) P(X) / P(Y)