Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Probability Distribution
A variable is a symbol (A, B, x, y, etc.) that can take on any of a
specified set of values
When the value of a variable is the outcome of a statistical
experiment, that variable is a random variable.
An example will make this clear. Suppose you flip a coin two times. This
simple statistical experiment can have four possible outcomes: HH, HT,
TH, and TT. Now, let the random variable X represent the number of
Heads that result from this experiment. The random variable X can only
take on the values 0, 1, or 2, so it is a discrete random variable. The
probability distribution for this statistical experiment appears below.
table represents a discrete probability distribution because it relates each
value of a discrete random variable with its probability of occurrence
Discrete Probability Distribution
Most well-known discrete probability distributions that are used for
statistical modeling are
Solution:
This is a binomial experiment in which the number of trials is equal to
5, the number of successes is equal to 2, and the probability of success
on a single trial is 1/6 or about 0.167. Therefore, the binomial
probability is:
b(2; 5, 0.167) = 5C2 * (0.167)2 * (0.833)3
b(2; 5, 0.167) = 0.161
Binomial Probability Distribution
Example 2:
Evans is concerned about a low retention rate for employees. In recent
years, management has seen a turnover of 10% of the hourly employees
annually. Thus, for any hourly employee chosen at random, management
estimates a probability of 0.1 that the person will not be with the company
next year. Choosing 3 hourly employees at random, what is the
probability that 1 of them will leave the company this year?
Solution:
This is a binomial experiment in which the number of trials is equal to
3, the number of successes is equal to 1, and the probability of success
on a single trial is 10% or 0.10. Therefore, the binomial probability is:
b(1; 3, 0.10) = 3C1 * (0.10)1 * (0.9)2
B(1; 3, 0.10) = 0.243
Binomial Probability Distribution
Example 3:
You are performing a cohort study. If the probability of developing
disease in the exposed group is .05 for the study duration, then if you
sample (randomly) 500 exposed people, how many do you expect to
develop the disease? Give a margin of error (+/- 1 standard deviation)
for your estimate.
Solution:
B(x; 500, 0.05)
E(x) or x is equal to n * P = 500 * 0.05 = 25
Var(x) or 2x is n * P * ( 1 - P ) = 500 * 0.05 * 0.95 = 23.75
StdDev(x) or x is sqrt[ n * P * ( 1 - P ) ] = sqrt[23.75] = 4.87
Therefore: 25 4.87
Binomial Probability Distribution
Cumulative Binomial Probability
A cumulative binomial probability refers to the probability that the
binomial random variable falls within a specified range (e.g., is
greater than or equal to a stated lower limit and less than or equal to a
stated upper limit).
For example, we might be interested in the cumulative binomial
probability of obtaining 45 or fewer heads in 100 tosses of a coin (see
Example 1 below). This would be the sum of all these individual
binomial probabilities.
b(x < 45; 100, 0.5) = b(x = 0; 100, 0.5) + b(x = 1; 100, 0.5)
+ ... + b(x = 44; 100, 0.5) + b(x = 45; 100, 0.5)
Binomial Probability Distribution
Example 4:
The probability that a student is accepted to a prestigious college is
0.3. If 5 students from the same school apply, what is the probability
that at most 2 are accepted?
Solution:
To solve this problem, we compute 3 individual probabilities, using
the binomial formula. The sum of all these probabilities is the answer
we seek. Thus,
b(x < 2; 5, 0.3) = b(x = 0; 5, 0.3) + b(x = 1; 5, 0.3) + b(x = 2; 5, 0.3)
b(x < 2; 5, 0.3) = 0.1681 + 0.3601 + 0.3087
b(x < 2; 5, 0.3) = 0.8369
Binomial Probability Distribution
Example 5:
If the probability of being a smoker among a group of cases with lung
cancer is .6, whats the probability that in a group of 8 cases you have
less than 2 smokers? More than 5? What are the expected value and
variance of the number of smokers?
Solution:
1
11
121
1331
14641
1 5 10 10 5 1
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 8 28 56 70 56 28 8 1
Binomial Probability Distribution
Example 5:
If the probability of being a smoker among a group of cases with lung
cancer is .6, whats the probability that in a group of 8 cases you have
less than 2 smokers? More than 5? What are the expected value and
variance of the number of smokers?
Solution:
P(>5)=.21+.09+.0168 = .3168
P(<2)=.00065 + .008 = .00865
0 1 2 3 4 5 6 7 8
E(X) = 8 (.6) = 4.8
Var(X) = 8 (.6) (.4) =1.92
StdDev(X) = 1.38
Binomial Probability Distribution
Using Tables of Binomial Probabilities
Hypergeometric Probability Distribution
Hypergeometric Experiment
A hypergeometric experiment is a statistical experiment that has the
following properties:
Solution:
This is a hypergeometric experiment in which we know the following:
N = 52; since there are 52 cards in a deck.
k = 26; since there are 26 red cards in a deck.
n = 5; since we randomly select 5 cards from the deck.
x = 2; since 2 of the cards we select are red.
Hypergeometric Probability Distribution
Example 1: continuation
Solution:
We plug these values into the hypergeometric formula as follows:
h(x; N, n, k) = [ kCx ] [ N-kCn-x ] / [ NCn ]
h(2; 52, 5, 26) = [ 26C2 ] [ 26C3 ] / [ 52C5 ]
h(2; 52, 5, 26) = [ 325 ] [ 2600 ] / [ 2,598,960 ] = 0.32513
Solution:
We plug these values into the hypergeometric formula as follows:
h(x; N, n, k) = [ kCx ] [ N-kCn-x ] / [ NCn ]
h(2; 10, 3, 4) = [ 4C2 ] [ 6C1 ] / [ 10C3 ]
h(2; 10, 3, 4) = [ 6 ] [ 6 ] / [ 120 ] = 0.3
For example, suppose we randomly select five cards from an ordinary deck
of playing cards. We might be interested in the cumulative hypergeometric
probability of obtaining 2 or fewer hearts. This would be the probability of
obtaining 0 hearts plus the probability of obtaining 1 heart plus the
probability of obtaining 2 hearts, as shown in the example below.
Hypergeometric Probability Distribution
Example 3
Suppose we select 5 cards from an ordinary deck of playing cards.
What is the probability of obtaining 2 or fewer hearts?
Solution:
This is a hypergeometric experiment in which we know the following:
Solution:
We plug these values into the hypergeometric formula as follows:
h(x < x; N, n, k) = h(x < 2; 52, 5, 13)
h(x < 2; 52, 5, 13) = h(x=0; 52, 5, 13) + h(x=1; 52, 5, 13) + h(x=2; 52, 5, 13)
h(x < 2; 52, 5, 13) = [ (13C0) (39C5) / (52C5) ] + [ (13C1) (39C4) / (52C5) ] +
[ (13C2) (39C3) / (52C5) ]
h(x < 2; 52, 5, 13) = [ (1)(575,757)/(2,598,960) ] + [ (13)(82,251)/(270,725) ]
+ [ (78)(9139)/(22,100) ]
h(x < 2; 52, 5, 13) = [ 0.2215 ] + [ 0.4114 ] + [ 0.2743 ]
h(x < 2; 52, 5, 13) = 0.9072
Thus, the probability of randomly selecting at most 2 hearts is 0.9072.
Poisson Probability Distribution
Poisson Experiment
A poisson experiment is a statistical experiment that has the following
properties:
Note that the specified region could take many forms. For instance, it could
be a length, an area, a volume, a period of time, etc.
Poisson Probability Distribution
Notation
The following notation is helpful, when we talk about binomial probability.
Solution:
This is a poisson experiment in which we know the following:
= 2; since 2 homes are sold per day, on average.
x = 3; since we want to find the likelihood that 3 homes will be sold
tomorrow.
e = 2.71828; since e is a constant equal to approximately 2.71828.
Poisson Probability Distribution
Example 1 continuation
The average number of homes sold by the Acme Realty company is 2 homes
per day. What is the probability that exactly 3 homes will be sold tomorrow?
Solution:
We plug these values into the poisson formula as follows:
P(x; ) = (e-) (x) / x!
P(3; 2) = (2.71828-2) (23) / 3!
P(3; 2) = (0.13534) (8) / 6
P(3; 2) = 0.180
E(X) = t
Var(X) = t
Poisson Probability Distribution
Example 4
If new cases of West Nile in New England are occurring at a rate
of about 2 per month, then whats the probability that exactly 4
cases will occur in the next 3 months? Exactly 6 cases?
Solution:
X ~ Poisson (=2/month)
X = 4 cases, twice in 3 months
P(x=K, t) = (e-t) ( t)x / x!
P(x=4, 2*3) = (e-2*3) (2*3)4 / 4! = 0.1339
X = 6 cases, twice in 3 months
P(x=K, t) = (e-t) ( t)x / x!
P(x=6, 2*3) = (e-2*3) (2*3) 6 / 6! = 0.1606
Poisson Probability Distribution
Example 5
If calls to your cell phone are a Poisson process with a constant rate =2 calls
per hour, whats the probability that, if you forget to turn your phone off in a
1.5 hour movie, your phone rings during that time? How many phone calls
do you expect to get during the movie?
Solution:
Probability that your phone rings in a 1.5hr movie
X ~ Poisson (=2 calls/hour)
P(X1)=1 P(X=0)
X = 0 calls, 2 calls /hr in 1.5hrs
P(x=K, t) = (e-t) ( t)x / x!
P(x=0, 2*1.5) = (e-2*1.5) (2*1.5)0 / 0! = 0.05%
Therefore: P(X1)=1 0.05 = 95% chance
Poisson Probability Distribution
Example 5
If calls to your cell phone are a Poisson process with a constant rate =2 calls
per hour, whats the probability that, if you forget to turn your phone off in a
1.5 hour movie, your phone rings during that time? How many phone calls
do you expect to get during the movie?
Solution:
Number of phone calls during a 1.5hr movie
X ~ Poisson (=2 calls/hour)
1.5hr movie
Example 6
Suppose the average number of lions seen on a 1-day safari is 5. What is the
probability that tourists will see fewer than four lions on the next 1-day
safari?
Poisson Probability Distribution
Solution:
This is a poisson experiment in which we know the following:
= 5; since 5 lions are seen per safari, on average.
x = 0, 1, 2, or 3; since we want to find the likelihood that tourists will see
fewer than 4 lions; that is, we want the probability that they will see 0, 1, 2,
or 3 lions.
e = 2.71828; since e is a constant equal to approximately 2.71828.