Beruflich Dokumente
Kultur Dokumente
Agenda
Probability
For example, flip a coin. What is the chance of getting a head (H)?
Answer:
• Is the coin fair?
• If the coin is fair, then P(H)=1/2
Relative Frequency Concept of Probability
(Empirical Approach)
• Flip the coin (since we don’t know whether it is fair
or not) a very large number of times and count the
number of H out of the total number of flips.
• For example, if we flip the given coin 10,000 times and observe 4555
heads and 5445 tails, then for that coin:
Subjective Probability
1. Union
A or B also written as A U B = outcomes in A or B or both (shaded part)
2. Intersection
A and B also written as A B = outcomes in both A and B (shaded part)
Probability Law/ Set Operations Contd..
3. Complement
Also written as = outcomes not in A (shaded part)
But If someone tells you that the ball is blue, find the
probability that the number on the ball is 1, then:
P (the number is 1 | ball is blue) = 1 [conditional probability
because of the underlying condition of being told the ball
chosen was blue.]
Note: In this example, we see that the marginal probability may not be the same
as the conditional probability. This will be reflective of events that
are not independent i.e. they are considered dependent events.
Another Example
The conditional and marginal probabilities can be different
and for some situations, the two probabilities can be equal
too. For Instance:
For the jar that contains the following balls:
Four balls in the urn, one red ball marked 1, one red ball
marked 2, one blue ball marked 1, one blue ball marked 2.
Another Example Contd..
One ball is drawn from the jar. Find the probability that the
number on that ball is 1:
P (the number is 1) = 2/4 = 1/2 [marginal probability]
And If someone tells you that the ball is blue, find the
probability that the number on the ball is 1:
P (the number is 1 | ball is blue) = 1/2 [conditional
probability]
Note: In this example, the marginal probability is the same as the conditional
probability. This will be reflective of events that are independent.
Probability Distributions
Random Variables
1/5 (0) + 1/5 (1) + 1/5 (2) + 1/5 (3) + 1/5 (4)
Probability & Cumulative Distribution
Example: Number of Prior Convictions
• Let X = number of prior convictions for prisoners at a state
prison at which there are 500 prisoners.
X=x 0 1 2 3 4
80 265 100 40 15
X = the # prisoners
x = 0, 1, 2, 3, 4
Example - Number of Prior Convictions
• Now, let's say you went out and surveyed convicts. What is
expected value or expected number of priors that you would
report? Which of the three values makes the most sense?
a. 1,
b. 1.29, or
c. 2?
Ans: For this we need a weighted average since not all the outcomes have equal
chance of happening (i.e. they are not equally weighted). So, we need to find
P(X=x). Our expected value of X, or mean of X, or E(X):
E(X) =(0.16)(0)+(0.53)(1)+(0.2)(2)+(0.08)(3)+(0.03)(4)=1.29
Example Contd…
X=x 0 1 2 3 4
X=x 0 1 2 3 4