Vous êtes sur la page 1sur 4

# Conditional Probability

## This workbook is a companion of Kardi Teknomo's tutorial

Data Analysis from Questionaire Survey
Visit the complete version of this tutorial in http://people.revoledu.com/kardi/tutorial/index.html
Count
Income
Car Low (D1) Medium (D2) High (D3) Sum
Second hand (h1) 25 30 40 95
New (h2) 15 65 75 155
Sum 40 95 115 250
Percentage by Row
Income
Car Low (D1) Medium (D2) High (D3) Sum
Second hand (h1) 26% 32% 42% 100%
New (h2) 10% 42% 48% 100%
Sum 36% 74% 90% 200%
Percentage by Column
Income
Car Low (D1) Medium (D2) High (D3) Sum
Second hand (h1) 63% 32% 35% 129%
New (h2) 38% 68% 65% 171%
Sum 100% 100% 100% 300%
Percentage by Total
Income
Car Low (D1) Medium (D2) High (D3) Sum
Second hand (h1) 10% 12% 16% 38%
New (h2) 6% 26% 30% 62%
Sum 16% 38% 46% 100%
Income
Car Low (D1) Medium (D2) High (D3) Sum
Second hand (h1) 38%
New (h2) 62%
Sum 16% 38% 46% http://www.cedar.buffalo.edu/~srihari/CSE555/
Independent
Income
Car Low (D1) Medium (D2) High (D3) Sum
Second hand (h1) #VALUE! #VALUE! #VALUE! 38%
New (h2) #VALUE! #VALUE! #VALUE! 62%
Sum 16% 38% 46% http://www.cedar.buffalo.edu/~srihari/CSE555/
Bayes Theorem
Income
Car Low (D1) Medium (D2) High (D3) Sum
Second hand (h1) 63% 32% 35% 38%
New (h2) 38% 68% 65% 62%
Sum 16% 38% 46% http://www.cedar.buffalo.edu/~srihari/CSE555/
http://people.revoledu.com/kardi/tutorial/index.html
P (Di | hj)
P (hj | Di)
P (Di ^ hj)
http://www.cedar.buffalo.edu/~srihari/CSE555/
http://www.cedar.buffalo.edu/~srihari/CSE555/
P (hj | Di)
http://www.cedar.buffalo.edu/~srihari/CSE555/