Introduction To Probability
Introduction To Probability
6-1
Probability Theory
Probability: Understanding
Random Situations
Slide
6-2 Introduction
• The study of Uncertainty
– Changes “I’m not sure …”
• to “I’m positive we’ll succeed … with probability 0.8”
– Can’t predict “for sure” what will happen next
• But can quantify the likelihood of what might happen
• And can predict percentages well over the long run
• e.g., a 60% chance of rain
• e.g., success/failure of a new business venture
• New terminology (words and concepts)
– Keeps as much as possible Certain (not random)
– Put the randomness in only at the last minute
Slide
6-3 Terminology
• Random Experiment
– A procedure that produces an outcome
• Not perfectly predictable in advance
– There are many random experiments (situations)
• We will study them one at a time
– Example: Record the income of a random family
• Random telephone dialing in a target marketing area, repeat
until success (income obtained), round to nearest $thousand
• Sample Space
– A list of all possible outcomes
• Each random experiment has one (i.e., one list)
– Example: {0, 1,000, 2,000, 3,000, 4,000, …}
Slide
6-4 Terminology (continued)
• Event
– Happens or not, each time random experiment is run
• Formally: a collection of outcomes from sample space
• A “yes or no” situation: if the outcome is in the list, the event
“happens”
• Each random experiment has many different events of interest
– Example: the event “Low Income” ($15,000 or less)
• The list of outcomes is {0, 1, 2, …, 14,999, 15,000}
– Example: the event “Six Figures”
• The list of outcomes is {100,000, 100,001, 100,002, …, 999,999}
– Example: the event “Ten to Forty Thousand”
• The list of outcomes is {10,000, 10,001, …, 39,900, 40,000}
Slide
6-5 Terminology (continued)
• Probability of an Event
• Theoretical Probability
– From mathematical theory
– Make assumptions, draw conclusions
• Subjective Probability
– Anyone’s opinion, perhaps even without data or theory
– Bayesian analysis uses subjective probability with data
Slide
6-7 Relative Frequency
• From data. Run random experiment n times
– See how often an event happened
• (Relative Frequency of A) = (# of times A happened)/n
– e.g., of 12 flights, 9 were on time.
• Relative frequency of the event “on time” is 9/12 = 0.75
• Law of Large Numbers
– If n is large, then the relative frequency will be close to
the probability of an event
• Probability is FIXED. Relative frequency is RANDOM
– e.g., toss coin 20 times. Probability of “heads” is 0.5
• Relative frequency is 12/20 = 0.6 , or 9/20 = 0.45 , depending
Slide
6-8 Relative Frequency (continued)
• Suppose event has probability 0.25
• In n = 5 runs of random experiment
– Event happens: no, yes, no, no, yes
– Relative frequency is 2/5 = 0.4
• Graph of relative frequencies for n = 1 to 5
Relative frequency
0.5
0.0
1 2 3 4 5
Number n of times random experiment was run
Slide
6-9 Relative Frequency (continued)
• As n gets larger
– Relative frequency gets closer to probability
• Graph of relative frequencies for n = 1 to 200
– Relative frequency approaches the probability
0.5
Relative frequency
Probability = 0.25
0
0 50 100 150 200
Number n of times random experiment was run
Slide
6-10
Table 6.3.1
Relative Frequency (continued)
• About how far from the probability will the
relative frequency be?
– The random relative frequency will be about one of its
standard deviations away from the (fixed) probability
– Depends upon the probability and n
• Farther apart when more uncertainty (probability near 0.5)
Probability Probability Probability
0.50 0.25 or 0.75 0.10 or 0.90
• Bayesian Analysis
Data
Bayesian
Prior Probabilities Results
Analysis
Model
• Frequentist (non-Bayesian) Analysis
Data
Prior Frequentist
Results
Beliefs Analysis
Model
Slide
6-14 Combining Events
• Complement of the event A
– Happens whenever A does not happen
• Union of events A and B
– Happens whenever either A or B or both events happen
• Intersection of A and B
– Happens whenever both A and B happen
• Conditional Probability of A Given B
– The updated probability of A, possibly changed to
reflect the fact that B happens
Slide
6-15 Complement of an Event
• The event “not A” happens whenever A does not
• Venn diagram: A (in circle), “not A” (shaded)
not A
A
• Prob(not A) = 1 – Prob(A)
– If Prob(Succeed) = 0.7, then Prob(Fail) = 1–0.7 = 0.3
Slide
6-16 Union of Two Events
• Union happens whenever either (or both) happen
• Venn diagram: Union “A or B” shaded)
A B
A B
= + –
• Examples
– Profit and Loss (for a selected business division)
– Green and Purple (for a manufactured product)
– Country Squire and Urban Poor (marketing segments)
• Mutually exclusive events are dependent events
Slide
6-25 Probability Trees
• A method for solving probability problems
– Given probabilities for some events (perhaps union,
intersection, or conditional)
• Find probabilities for other events
– Record the basic information on the tree
• Usually three probability numbers are given
– Perhaps two probability numbers if events are independent
• The tree helps guide your calculations
– Each column of circled probabilities adds up to 1
– Circled prob times conditional prob gives next probability
– For each group of branches
• Conditional probabilities add up to 1
• Circled probabilities at end add up to probability at start
Slide
6-26 Probability Tree (continued)
• Shows probabilities and conditional probabilities
Event B
P(A and B)
Event A
P(A)
P(“not A” and B)
P(not A)
Washer? Dryer?
0.15
0.20
Slide
6-28 Example (continued)
• Next, subtract: 1–0.20 = 0.80, 0.25–0.15 = 0.10
Washer? Dryer?
0.15
0.20
0.10
0.80
Slide
6-29 Example (continued)
• Now subtract: 0.20–0.15 = 0.05, 0.80–0.10 = 0.70
Washer? Dryer?
0.15
0.20
0.05
0.10
0.80
0.70
Slide
6-30 Example (completed tree)
• Now divide to find conditional probabilities
0.15/0.20 = 0.75, 0.05/0.20 = 0.25
0.10/0.80 = 0.125, 0.70/0.80 = 0.875
Washer? Dryer?
0.15
0.20
0.05
0.10
0.80
0.70
Slide
6-31 Example (finding probabilities)
• Finding probabilities from the completed tree
P(Washer) = 0.20 Washer? Dryer?
P(Dryer) = 0.15+0.10 = 0.25 0.15
P(Washer and Dryer) = 0.15 0.20
0.70
P(not Dryer)
No 0.05 0.70 0.75
0.20 0.80 1
P(Washer and “not Dryer”)
P(Washer) P(“not Washer” and “not Dryer”)