Documente Academic
Documente Profesional
Documente Cultură
n Function (CDF) o Parameters o Expected Value o Standard Deviation Uniform Distribution Bernoulli Distribution Binomial Distribution Poisson Distribution Hypergeometric Distribution Transformations of Random Variables
Page 1
Page 2
Discrete Probability Distributions The pattern of probabilities for each value of a random variable is its probability distribution. Probability Rules 0 P(xi) 1 ( )
( )
Variance of X
( )
( )
Standard deviation of X
( )
Page 3
( ) ( ( ) ) 1.25 ( ) (
2.50 hours )
Page 4
CDF
1 0.5 P(X<= value) 0
1 2 3 4
Random variables, their distributions, and their means and standard deviation are defined by their parameters.
Page 5
Uniform Discrete Distribution A random variable where X equals the integer values between a and b, and the values are equally likely.
Page 6
Page 7
Bernoulli Distribution
Random variable X has two outcomes, arbitrarily denoted as 1 and 0, and sometimes referred to as success (X=1) and failure (X=0). The probability of success (X=1) is denoted (the parameter of the distribution) so the probability of failure (X=0) is 1 .
( )
0*(1- ) + 1* =
( (
) )
( ) ( (
( ) )
) (
Example- inspect a part so X=0 for good and X=1 for defective. (Here success is finding a defect.)
Chapter 6 Discrete Probability Distributions Page 8
Binomial Distribution
When the Bernoulli experiment is repeated n times X is the number of successes in those n trials, so it is the sum of n independent Bernoulli random variables, where is the probability of success at each trial.
Examples: X = number responses in a survey 1000 voters indicating favor for an initiative X = number of smokers in a sample of 100 people X = number of female employees in a department of size 45
A related random variable is the Binomial proportion p, the random variable X expressed as a fraction of n:
p X n
Page 9
Binomial Distribution
Shape of the distribution Skewed if is close to 0. Here
= .05, n= 25:
0.4 0.2 0 0 5 10 15 20 25
Symmetric if
10
15
20
25
Skewed if
10
15
20
25
Page 10
Binomial Distribution
Recall that a Bernoulli random variable has:
( (
) )
Page 11
Binomial Distribution
The probability density function for the Binomial distribution may be derived by viewing the Bernoulli trials on a probability tree.
Page 12
X 2 1 1
P(D2/ G1) G1
P(G1)
P(G2/ G1)
P(G1 G2)
( ( (
) ) )
( (
) ( )
Or, using the excel function: P(X = 0) = binomidst(0, 2, .10, false) = .81 P(X = 1) = binomidst(1, 2, .10, false) = .18 P(X = 2) = binomidst(2, 2, .10, false) = .01
Page 13
E( X ) n n (1 )
X X
p (1 )
n
Example: For a sample of size n = 300 from a population with a defective rate of = .05
E ( p) p .05
Page 14
Binomial Distribution
The standard deviation of the proportion differs for different values. It is biggest when = .50.
p (1 )
n
For n = 1000:
pi 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 std dev of p 0.0095 0.0126 0.0145 0.0155 0.0158 0.0155 0.0145 0.0126 0.0095
0.018 0.016 0.014 0.012 0.010 std dev of p 0.008 0.006 0.004 0.002 0.000 0 0.1 0.2 0.3 0.4 0.5 pi 0.6 0.7 0.8 0.9 1
Page 15
Binomial Distribution
The standard deviation of the proportion decreases as the sample size n increases.
p (1 )
n
For = .50:
std dev of p decreases as n increases
0.0600 0.0500
std dev of p
0.0400 0.0300 0.0200 0.0100 0.0000 0 1000 2000 3000 4000 5000 6000 sample size n
Page 16
Binomial Distribution
Example: Based on past results, you estimate that the probability a returning customer to a web site makes a new purchase .30. What is the probability that two of the next three returning customers make a purchase?
P(X = 2) =.189
value of X P(X= value) P(X <= value) 0 0.343 0.343 1 0.441 0.784 2 0.189 0.973 3 0.027 1
Binom ial n=3, pi = .30 0.5 0.45 0.4 0.35 0.3 0.25 0.2 0.15 0.1 0.05 0 0 1 2 3 value of X
For X= the number of customers making a new purchase, the parameters are n = 3 and = .30.
X E( X ) n 3*.3 .9 X n (1 ) 3(.3)(1.3) .8
Interpretation: Expected number of returning customers that make a new purchase in a sample of size 3 is 0.9. Typically, number making a new purchase is approximately .8 more or less than 0.9. For p= the proportion of customers making a purchase,
p E ( p) .3 p (1 ) .3(1 .3) .26
n 3
Interpretation: Expect 30% to make a purchase. Typically, expect approximately 26% above or below 30%.
Chapter 6 Discrete Probability Distributions Page 17
P(X = value)
Binomial Distribution
Example- A company has purchased 50,000 electrical switches and has been guaranteed by the supplier that the shipment will contain no more than 0.1% defectives. A random sample of 500 switches is tested and four switches are defective. Based on this sample, what inference would you make about the suppliers guarantee?
Page 18
Binomial Distribution
Example- Solution- A company has purchased 50,000 electrical switches and has been guaranteed by the supplier that the shipment will contain no more than 0.1% defectives. A random sample of 500 switches is tested and four switches are defective. Based on this sample, what inference would you make about the suppliers guarantee?
Random variable X = number defective switches out of n=500, where each switch has probability of being defective equal to .001 X is binomial with parameters n=500 and =.001.
The observation X = 4 is 5 standard deviations above the mean of .5, suggesting that it is an unlikely result for a sample of n=500 from a population with a defect rate of =.001.
Page 19
Poisson Distribution
X= number of arrivals over a fixed interval (typically, interval is time) the number of patients arriving at an ER in an hour the number of telephone calls per day the number of leaks in 100 miles of pipeline The random variable X is considered Poisson distributed if the arrivals are independent- an arrival has no effect on the probability of other arrivals. The Poisson distribution has a single parameter , the arrival rate.
If the mean is large, the Poisson is well approximated by the normal distribution.
Page 20
Poisson Distribution
Example: The number of lost-time accidents in an organization averages one per day and is assumed to be Poisson distributed. Random variable X= number of accidents per day where accidents are assumed to occur independently X is Poisson with = 1. Using the excel function:
X 0 1 2 3 4 5 6 7 8 P(X) 0.36788 0.36788 0.18394 0.06131 0.01533 0.00307 0.00051 0.00007 0.00001
P(X = value) is defined for all integer values, though only values up to X = 8 are shown in this table and graph.
Page 21
Poisson Distribution
Example- Airline passengers arrive randomly and independently at the passenger-screening facility at a major international airport. The arrival rate is 10 passengers per minute. a. What is the probability of no arrivals in a one-minute period? b. What is the probability that three or fewer passengers arrive in a one-minute period? c. What is the probability of no arrivals in a 15-second period? d. What is the probability of at least one arrival in a 15-second period?
Page 22
Poisson Distribution
Example- Solution: Airline passengers arrive randomly and independently at the passenger-screening facility at a major international airport. The arrival rate is 10 passengers per minute. X is Poisson with = 10 per minute a. What is the probability of no arrivals in a one-minute period? P(X=0) = .00005 = poisson(0, 10, false) b. What is the probability that three or fewer passengers arrive in a one-minute period? P(X <= 3) = P(0)+P(1)+P(2)+P(3)= .0103 = poisson(3,10,true) c. What is the probability of no arrivals in a 15-second period? If X is Poisson with = 10 per minute, then X = the number of arrivals in a 15-second period is also Poisson with = 10/4 = 2.5 arrivals per 15 seconds (15 seconds is of a minute) X is Poisson with a mean of = 2.5 per 15-second period P(X=0) = .082 = poisson(0, 2.5, false) d. What is the probability of at least one arrival in a 15-second period? X is Poisson with a mean of = 2.5 per 15-second period P(X>=1) = 1- P(X=0) = 1- .082 = .918 = 1- poisson(0, 2.5,false)
Page 23
Hypergeometric Distribution
It is like the binomial distribution, but the sampling is without replacement, so that the probability of success is not the same at each trial. X = number of successes in a sample of size n taken from a population of size N that has exactly s successes The parameters are N = size of population, n = sample size, and s = number of successes in the population.
Page 24
Page 25
The standard deviation of the sum is not the sum of their standard deviation. The variance of a sum of random variables is the sum of their variances, if the random variables are independent. If random variables X and Y are independent:
Page 26
If the activity times are independent, the variance of the project length is the sum of the activity variances:
But, what distribution do activity times follow? And, are activity times independent events?
Page 27
If X values are above its mean when Y values are above its mean then If X values are above its mean when Y values are below its mean then If X and Y are not independent (so that ) then must include the covariance in the variance of the sum of random variables to then find the standard deviation of the sum:
Page 28