Probability
Probability
Basic Probability
Probability the chance that an uncertain event will occur (always between 0 and 1)
Impossible Event an event that has no chance of occurring (probability = 0) Certain Event an event that is sure to occur (probability = 1)
Assessing Probability
There are three approaches to assessing the probability of an uncertain event:
1. a priori -- based on prior knowledge of the process
probability of occurrence
Assuming all outcomes are equally likely
X number of ways the event can occur T total number of elementary outcomes number of ways the event can occur total number of elementary outcomes
2. empirical probability
probability of occurrence
3. subjective probability based on a combination of an individuals past experience, personal opinion, and analysis of a particular situation
Total
229 210 439
Events
Each possible outcome of a variable is an event.
Simple event
An event described by a single characteristic e.g., A red card from a deck of cards An event described by two or more characteristics e.g., An ace that is also red from a deck of cards All events that are not part of event A e.g., All cards that are not diamonds
Joint event
Sample Space
The Sample Space is the collection of all possible events e.g. All 6 faces of a die:
Visualizing Events
Contingency Tables
Ace
Black Red 2 2
Not Ace
24 24
Total
26 26
Total
Sample Space
48
2
52
Sample Space
Decision Trees
Full Deck of 52 Cards 24 2 24
Visualizing Events
Venn Diagrams
A U B = ace or red
Joint Probability refers to the probability of an occurrence of two or more events (joint event).
Example: Drawing one card from a deck of cards A = queen of diamonds; B = queen of clubs
One of the events must occur The set of events covers the entire sample space
Events A, B, C and D are collectively exhaustive (but not mutually exclusive an ace may also be a heart) Events B, C and D are collectively exhaustive and also mutually exclusive
Where B1, B2, , Bk are k mutually exclusive and collectively exhaustive events
Color
Red Black
Total 4 48
2 24
2 24
26
26
52
Color
Red Black
Total 4 48
2 24
2 24
26
26
52
Total
P(A1)
Total
Joint Probabilities
Probability is the numerical measure of the likelihood that an event will occur The probability of any event must be between 0 and 1, inclusively 0 P(A) 1 For any event A The sum of the probabilities of all mutually exclusive and collectively exhaustive events is 1 P(A) P(B) P(C) 1
If A, B, and C are mutually exclusive and collectively exhaustive
Certain
0.5
Impossible
Type Ace
Non-Ace Total
Color
Red Black
Total 4
24
26
24
26
48
52
A conditional probability is the probability of one event, given that another event has occurred:
The conditional probability of A given that B has occurred The conditional probability of B given that A has occurred
Where P(A and B) = joint probability of A and B P(A) = marginal or simple probability of A P(B) = marginal or simple probability of B
Of the cars on a used car lot, 70% have air conditioning (AC) and 40% have a CD player (CD). 20% of the cars have both.
What is the probability that a car has a CD player, given that it has AC ? i.e., we want to find P(CD | AC)
Of the cars on a used car lot, 70% have air conditioning (AC) and 40% have a CD player (CD). 20% of the cars have both. CD No CD Total
AC No AC Total
0.2 0.2
0.5 0.1
0.7 0.3
0.4
0.6
1.0
Given AC, we only consider the top row (70% of the cars). Of these, 20% have a CD player. 20% of 70% is about 28.57%.
CD
No CD
Total
AC No AC Total
0.2 0.2
0.5 0.1
0.7
0.3
1.0
0.4
0.6
Independence
P(A | B) P(A)
Events A and B are independent when the probability of one event is not affected by the fact that the other event has occurred
Multiplication Rules
Marginal Probability
Where B1, B2, , Bk are k mutually exclusive and collectively exhaustive events