SullivanChapter 6 Outline
SullivanChapter 6 Outline
Vocabulary:
Random variable – a numerical measure of the outcome of a probability experiment, so its value is determine by chance.
Expected value –the mean of a random variable, E(x)
Variance of random variable – weighted average of the squared deviations from the mean
► so and
► so and
► so
Note that
Vocabulary:
Random variable – a numerical measure of the outcome of a probability experiment, so its value is determine by chance.
Discrete random variable – has finite or countable number of values
Continuous random variable – has infinitely many values
Probability distribution of a discrete random variable – provides all possible values of the random variable and their
corresponding probabilities (can be in the form of a table or graph – or a mathematical formula)
Probability histogram – histogram with y values being probability and x axis being the random variable (similar to
relative frequency histogram)
Expected value –the mean of a random variable, E(x)
Variance of a discrete random variable – weighted average of the squared deviations where the probabilities are the
weights
Key Concepts:
σ2x = ∑ [(x – μx)2 ∙ P(x)] = ∑[x2 ∙ P(x)] – μ2x and standard deviation is √σ2
Note: round the mean, variance and standard deviation to one more decimal place than the values of the random variable
Chapter 6: Discrete Probability Distributions
Example 1: You have a fair 10-sided die with the number 1 to 10 on each of the faces. Determine the mean and standard
deviation.
x 0 1 2 3 4 X = # of visits to a dentist
P(x) .1 .3 .4 .15 .05
Example 3: What is the average size of an American family? Here is the distribution of family size according to the 1990
Census:
# in family 2 3 4 5 6 7
Probability .413 .236 .211 .090 .032 .018
Example 4: A car owner cannot decide whether to take out a $250 deductible which will cost him $90 per year. Records
show that for his community the average cost of repair is $900. Records also show that 10% of the drivers have an accident
during the year. If this driver has sufficient assets so that he will not be financially handicapped if he were to pay out the
$900 or more for repairs, should he buy the policy?
Vocabulary:
Trial – each repetition of an experiment
Success – one assigned result of a binomial experiment
Failure – the other result of a binomial experiment
PDF – probability distribution function
CDF – cumulative (probability) distribution function, computes probabilities less than or equal to a specified value
Key Concepts:
Criteria for a Binomial Probability Experiment:
An experiment is said to be a binomial experiment provided:
1) The experiment is performed a fixed number of times. Each repetition is called a trial.
2) The trials are independent
3) For each trial there are two mutually exclusive (disjoint) outcomes: success or failure
4) The probability of success is the same for each trial of the experiment
Binomial Notation:
There are n independent trials of the experiment
Let p denote the probability of success and then 1 – p is the probability of failure
Let X denote the number of successes in n independent trials of the experiment. So 0 ≤ x ≤ n
Mean (or Expected Value) and Standard Deviation of a Binomial Random Variable:
A binomial experiment with n independent trials and probability of success p has
(Mean) μx = np (Standard Deviation) σx = √¯n¯p(¯1¯¯-¯p¯)¯¯
Note:
Math Symbol Phrases
≥ At least No less than Greater than or equal to
> More than Greater than
< Fewer than Less than
≤ No more than At most Less than or equal to
= Exactly Equals Is
Chapter 6: Discrete Probability Distributions
Example 1: In the “Pepsi Challenge” a random sample of 20 subjects are asked to try two unmarked cups of pop (Pepsi and
Coke) and choose which one they prefer. If preference is based solely on chance what is the probability that:
Example 2: A certain medical test is known to detect 90% of the people who are afflicted with disease Y. If 15 people with
the disease are administered the test what is the probability that the test will show that:
Example 3: A university claims that 80% of its basketball players get their degree. An investigation examines the fates of a
random sample of 20 players who entered the program over a period of several years. Of these players, 10 graduated and 10
are no longer in school. If the university's claim is true, what is the probability that exactly 10 out of 20 graduate? Can you
conclude anything about the university's claim?
Vocabulary:
Trial – each repetition of an experiment
Success – one assigned result of a binomial experiment
Failure – the other result of a binomial experiment
PDF – probability distribution function
CDF – cumulative (probability) distribution function, computes probabilities less than or equal to a specified value
Key Concepts:
Criteria for a Geometric Probability Experiment:
An experiment is said to be a geometric experiment provided:
1) Each repetition is called a trial.
2) The trials are independent
3) For each trial there are two mutually exclusive (disjoint) outcomes: success or failure
4) The probability of success is the same for each trial of the experiment
The probability that more than n trials are needed before the first success will be
P(k > n) = qn
Mean (or Expected Value) and Standard Deviation of a Geometric Random Variable:
A geometric experiment with probability of success p has
(Mean) μx = 1/p
(Standard Deviation) σx = (√¯1¯¯-¯p¯¯)/p
The probability that the first error is found at the 70th part audited will be 0.004998
Example 1: The drilling records for an oil company suggest that the probability the company will hit oil in productive
quantities at a certain offshore location is 0.2. Suppose the company plans to drill a series of wells.
a) What is the probability that the 4th well drilled will be productive (or the first success by the 4th)?
b) What is the probability that the 7th well drilled is productive (or the first success by the 7th)?
c) Is it likely that x could be as large as 15(or the first success by the 15th)?
d) Find the mean and standard deviation of the number of wells that must be drilled before the company hits its first
productive well.
Example 2: An insurance company expects its salespersons to achieve minimum monthly sales of $50,000. Suppose that
the probability that a particular salesperson sells $50,000 of insurance in any given month is .84. If the sales in any one-
month period are independent of the sales in any other, what is the probability that exactly three months will elapse before the
salesperson reaches the acceptable minimum monthly goal?
Example 3: An automobile assembly plant produces sheet metal door panels. Each panel moves on an assembly line. As the
panel passes a robot, a mechanical arm will perform spot welding at different locations. Each location has a magnetic dot
painted where the weld is to be made. The robot is programmed to locate the dot and perform the weld. However,
experience shows that the robot is only 85% successful at locating the dot. If it cannot locate the dot, it is programmed to try
again. The robot will keep trying until it finds the dot or the panel moves out of range.
a) What is the probability that the robot's first success will be on attempts n = 1, 2, or 3?
b) The assembly line moves so fast that the robot only has a maximum of three chances before the door panel is out
of reach. What is the probability that the robot is successful in completing the weld before the panel is out of reach?
Chapter 6: Discrete Probability Distributions
Criteria for a Hyper-geometric Probability Experiment:
An experiment is said to be a hyper-geometric experiment provided:
1) The experiment is performed a fixed number of times. Each repetition is called a trial.
2) The trials are dependent
3) For each trial there are two mutually exclusive (disjoint) outcomes: success or failure
One of the conditions of a binomial distribution was the independence of the trials and the probability of a success is the
same for every trial. If successive trials are done without replacement and the sample size or population is small, the
probability for each observation will vary.
If a sample has 10 stones, the probability of taking a particular stone out of the ten will be 1/10. If that stone is not replaced
into the sample, the probability of taking another one will be 1/9. But if the stones are replaced each time, the probability of
taking a particular one will remain the same, 1/10.
When the sampling is finite (relatively small and known) and the outcome changes from trial to trial, the Hyper-geometric
distribution is used instead of the Binomial distribution.
Hyper -Geometric Probability Distribution Function: The formula for the hyper-geometric distribution is:
NpCx N(1-p)Cn-x
P(x) = --------------------------- x = 0, 1, 2, 3, …, n
NCn
Where N is the size of the population, p is the proportion of the population with a certain attribute (success), x is the number
of individuals from the population selected in the sample with the attribute and n is the number selected to be in the sample
(n-x is the number selected who do not have the attribute)
Mean (or Expected Value) and Standard Deviation of a Hyper-Geometric Random Variable:
A hyper-geometric experiment with probability of success p has a
(Mean) μx = np
(Standard Deviation) σx = sqrt [np(1-p)(N-n)/N-1)]
Where N is the size of the population, p is the proportion of the population with a certain attribute (success), x is the
number of individuals from the population selected in the sample with the attribute and n is the number selected to be in the
sample
Examples of Hyper-Geometric Probability Density Function:
• Pulling the stings on a piñata
• Pulling numbers out of a hat (without replacing)
• Randomly assigning the lane assignments at a race
• Deal or no deal
Example 1: Suppose we randomly select 5 cards without replacement from an ordinary deck of playing cards. What is the
probability of getting exactly 2 red cards (i.e., hearts or diamonds)?
Example 2: Suppose we select 5 cards from an ordinary deck of playing cards. What is the probability of obtaining 2 or
fewer hearts?
Chapter 6: Discrete Probability Distributions
Negative Binomial Probability Distribution Function: The formula for the negative binomial distribution is:
Where r number of successes is observed in x number of trials of a binomial experiment with success rate of p
Mean (or Expected Value) and Standard Deviation of a Negative Binomial Random Variable:
(Mean) μx = r/p
(Standard Deviation) σx = sqrt [r(1-p)/p2)]
Where r number of successes is observed in x number of trials of a binomial experiment with success rate of p
Note that the geometric distribution is a special case of the negative binomial distribution with k = 1.
Example 1: The drilling records for an oil company suggest that the probability the company will hit oil in productive
quantities at a certain offshore location is 0.3. Suppose the company plans to drill a series of wells looking for three
successful wells.
a) What is the probability that the third success will be achieved with the 8th well drilled?
b) What is the probability that the third success will be achieved with the 20th well drilled?
c) Find the mean and standard deviation of the number of wells that must be drilled before the company hits its
third productive well.
Example 2: A standard, fair die is thrown until 3 aces occur. Let Y denote the number of throws.
Vocabulary:
Poisson process – used to computer probabilities of experiments in which the random variable X counts the number of
occurrences (successes) of a particular event with in a specified interval (usually time or space)
Key Concepts:
If we examine the binomial distribution as the number of trials gets larger and larger while the probability of success π
gets smaller and smaller, we observe the Poisson Distribution (Simeon Denis Poisson). This distribution deals with the
probabilities of rare events that occur infrequently in space, time, distance, area, volume, and so forth.
* - for example, the fixed interval might be any time between 0 and 5 minutes. A subinterval could be any time
between 1 and 2 minutes
(λt)x
P(x) = --------- e-λt x = 0, 1, 2, 3, …
x!
where λ (the Greek letter lamda) represents the average number of occurrences of the event in some interval of length 1
If X is the number of successes in an interval of fixed length and X follows a Poisson process with mean μ, the
probability distribution function (PDF) for X is
μx
P(x) = --------- e-μ x = 0, 1, 2, 3, …
x!
Mean (or Expected Value) and Standard Deviation of a Poisson Random Variable:
A random variable X that follows a Poisson process with parameter λ has a mean (or expected value) and
standard deviation given by the formulas below:
Note: At least probabilities must be computed using the Complement rule for Poisson probabilities
Chapter 6: Discrete Probability Distributions
Example 1: The number of accidents in an office building during a four week period is averages 2. What is the
probability that there will be one or fewer accidents in the next four-week period?
Example 2: Daily demand for a certain replacement part for a VCR averages 0.9.
a) What is the probability that no replacements parts will be needed on a particular day?
Example 3: The number of calls to a police department between 8pm and 8:30pm on Friday averages 3.5.
binompdf ( number trials , p , {x1, x2, x3 } ) returns binomial values for three different x values
binomcdf ( number trials, p, x ) returns the total for the binomial in the interval [0 ,x]
geometcdf ( p , x ) returns the total for all values in the interval [1,x]