Download as pdf or txt
Download as pdf or txt
You are on page 1of 79

Probability Distributions

Characteristics of a Probability Distribution

CHARACTERISTICS OF A PROBABILITY
DISTRIBUTION
1. The probability of a particular outcome is between
0 and 1 inclusive.
2. The outcomes are mutually exclusive events.
3. The list is exhaustive. So the sum of the probabilities
of the various events is equal to 1.
What is a Probability
Distribution?

PROBABILITY DISTRIBUTION A listing of all the outcomes of


an experiment and the probability associated with each outcome.

Experiment:
Toss a coin three times.
Observe the number of
heads. The possible
results are: Zero heads,
One head,
Two heads, and
Three heads.
What is the probability
distribution for the
number of heads?
Probability Distribution of Number of
Heads Observed in 3 Tosses of a Coin
Introduction to Probability
Distributions
 Random Variable
 Represents a possible numerical value from

a random event
Random
Variables

Discrete Continuous
Random Variable Random Variable
Random Variables

 Random variable
 A function that assigns numerical values to the

outcomes of a random experiment.


 Denoted by uppercase letters (e.g., X ).

 Values of the random variable are denoted by


corresponding lowercase letters.
 Corresponding values of the random variable:

x 1, x 2, x 3, . . .
Random Variables

RANDOM VARIABLE A quantity resulting from an experiment


that, by chance, can assume different values.
Types of Random Variables

 Random variables may be classified as:


 Discrete : A random variable that can assume only certain

clearly separated values


 The random variable assumes a countable number of
distinct values.
 It is usually the result of counting something

 Continuous : A random variable that can assume an


infinite number of values within a given range.
 The random variable is characterized by (infinitely)
uncountable values within any interval.
 It is usually the result of some type of measurement
Discrete Random Variables

DISCRETE RANDOM VARIABLE A random variable that can assume


only certain clearly separated values. It is usually the result of counting
something.

EXAMPLES
1. The number of students in a class.
2. The number of children in a family.
3. The number of cars entering a carwash in a hour.
4. Number of home mortgages approved by Coastal Federal
Bank last week.
Discrete Random Variables
 Can only assume a countable number of values
Examples:

 Roll a die twice


Let x be the number of times 4 comes up
(then x could be 0, 1, or 2 times)

 Toss a coin 5 times.


Let x be the number of heads
(then x = 0, 1, 2, 3, 4, or 5)
Discrete Probability Distribution

 Every random variable is associated with a


probability distribution that describes the variable
completely.
 A probability mass function is used to describe
discrete random variables.
 A probability density function is used to describe
continuous random variables.
 A cumulative distribution function may be used to
describe both discrete and continuous random
variables.
Discrete Probability Distribution

 The probability mass function of a discrete


random variable X is a list of the values of X with
the associated probabilities, that is, the list of all
possible pairs
( x, P ( X = x ) )
 The cumulative distribution function of X is
defined as
P ( X ≤ x)
Discrete Probability Distribution

 Two key properties of discrete probability


distributions:
 The probability of each value x is a value between
0 and 1, or equivalently
0 ≤ P(X =
x) ≤ 1
 The sum of the probabilities equals 1. In other words,

∑P ( X ≤ x ) =
1i

where the sum extends over all values x of X.


Discrete Probability Distribution
 A list of all possible [ xi , P(xi) ] pairs
xi = Value of Random Variable (Outcome)
P(xi) = Probability Associated with Value
 xi’s are mutually exclusive
(no overlap)
 xi’s are collectively exhaustive
(nothing left out)
 0 ≤ P(xi) ≤ 1 for each xi
 Σ P(xi) = 1
Discrete Probability Distribution

 Consider an experiment in which two shirts are


selected from the production line and each can be
defective (D) or non-defective (N).
 Here is the sample space: (D,D)
 The random variable X is (D,N)
the number of defective shirts. (N,D)
 The possible number of (N,N)
defective shirts is the set {0, 1, 2}.
 Since these are the only possible outcomes, this is
a discrete random variable.
Discrete Probability Distribution

Experiment: Toss 2 Coins. Let x = # heads.


4 possible outcomes Probability Distribution
T T x Value Probability
0 1/4 = .25
T H 1 2/4 = .50
2 1/4 = .25
H T
Probability

.50
.25
H H
0 1 2 x
Discrete Probability Distribution

 A discrete probability distribution may be viewed


as a table, algebraically, or graphically.
 For example, consider the experiment of rolling a
six-sided die. A tabular presentation is:

 Each outcome has an associated probability of 1/6.


Thus, the pairs of values and their probabilities form
the probability mass function for X.
Discrete Probability Distribution

 Another tabular view of a probability distribution is


based on the cumulative probability distribution.
 For example, consider the experiment of rolling a six-
sided die. The cumulative probability distribution is

 The cumulative probability distribution gives the


probability of X being less than or equal to x.
For example, P ( X ≤ 4 ) = 46
Discrete Probability Distribution

 A probability distribution may be expressed


algebraically.
 For example, for the six-sided die experiment, the
probability distribution of the random variable X is:

1 6 if x = 1,2,3,4,5,6
P(X ) 
= x=
0 otherwise

 Using this formula we can find


P ( X= 5=
) 16 P ( X= 7=
) 0
Discrete Probability Distribution
 A probability distribution may be expressed
graphically.
 The values x of X are placed on the horizontal axis and
the associated probabilities on the vertical axis.
 A line is drawn such that its height is associated with the
probability of x.
 For example, here is the
graph representing the
six-sided die experiment:
 This is a uniform distribution
since the bar heights are all
the same.
Discrete Probability Distribution
 Example: Consider the probability distribution
which reflects the number of credit cards that
Bankrate.com’s readers carry:
 Is this a valid probability
distribution?
 What is the probability that a
reader carries no credit cards?
 What is the probability that a
reader carries less than two?
 What is the probability that a reader carries at least two
credit cards?
Discrete Probability Distribution
 Consider the probability distribution which reflects
the number of credit cards that Bankrate.com’s
readers carry:
 Yes, because 0 < P(X = x) < 1
and ΣP(X = x) = 1.
 P(X = 0) = 0.025
 P(X < 2) = P(X = 0) + P(X = 1)
= 0.025 + 0.098 = 0.123.
 P(X > 2) = P(X = 2) + P(X = 3)
+ P(P = 4*) = 0.166 + 0.165 + 0.546 = 0.877.
Alternatively, P(X > 2) = 1 − P(X < 2) = 1 − 0.123 = 0.877.
Expected Value, Variance, and Standard
Deviation

 Summary measures for a random variable


include the
 Mean (Expected Value)

 Variance

 Standard Deviation
The Mean of a Probability
Distribution

 Expected Value Population Mean


E(X) µ
 E(X) is the long-run average value of the random
variable over infinitely many independent
repetitions of an experiment.
 For a discrete random variable X with values
x1, x2, x3, . . . that occur with probabilities
P(X = xi), the expected value of X is
E ( X=
) µ= ∑ x P ( X=
i xi )
The Mean of a Probability Distribution

MEAN
•The mean is a typical value used to represent the
central location of a probability distribution.
•The mean of a probability distribution is also
referred to as its expected value.
The Variance and Standard
Deviation of a Probability Distribution

 Variance and Standard Deviation


 For a discrete random variable X with values
x1, x2, x3, . . . that occur with probabilities
P(X = x),
i

Var ( X ) = ∑ ( xi − µ ) P ( X =
xi )
2
σ =
2

= ∑ i
x 2
P ( =
X x i ) − µ 2

 The standard deviation is the square root of the


variance.
SD ( X =
) σ= σ 2
The Variance and Standard
Deviation of a Probability Distribution

VARIANCE AND STANDARD DEVIATION


• Measures the amount of spread in a distribution
• The computational steps are:
1. Subtract the mean from each value, and square this
difference.
2. Multiply each squared difference by its probability.
3. Sum the resulting products to arrive at the variance.

The standard deviation is found by taking the positive


square root of the variance.
The Variance and Standard
Deviation of a Probability Distribution
(continued)

 Standard Deviation of a discrete distribution

σx = ∑ {x − E(x)} P(x) 2

where:
E(x) = Expected value of the random variable
x = Values of the random variable
P(x) = Probability of the random variable having
the value of x
Example : The Mean of a
Probability Distribution
 Expected Value of a discrete distribution
(Weighted Average)

E(x) = Σxi P(xi)


 Example: Toss 2 coins,
x P(x)
x = # of heads, 0 .25
compute expected value of x: 1 .50
2 .25
E(x) = (0 x .25) + (1 x .50) + (2 x .25)
= 1.0
Example : The Variance and Standard
Deviation of a Probability Distribution
(continued)
 Example: Toss 2 coins, x = # heads,
compute standard deviation (recall E(x) = 1)

σx = ∑ {x − E(x)} P(x) 2

σ x = (0 − 1)2 (.25) + (1 − 1)2 (.50) + (2 − 1)2 (.25) = .50 = .707

Possible number of heads =


0, 1, or 2
Exercise 1

 Example: Brad Williams, owner of a car dealership


in Chicago, decides to construct an incentive
compensation program based on performance.

 Calculate the expected value of the annual bonus amount.


 Calculate the variance and standard deviation of the
annual bonus amount.
Exercise 1

 Solution: Let the random variable X denote the


bonus amount (in $1,000s) for an employee.

 E(X) = µ = Σxi P(X = xi) = 4.2 or $4,200


 Var(X) = σ2 = Σ(xi − µ)2P(X = xi) = 9.97 (in $1,000s)2.
 .SD=
(X) = σ2 9.97
= 3.158 or $3,158.
Exercise 2

John Ragsdale sells new cars for Pelican


Ford. John usually sells the largest
number of cars on Saturday. He has
developed the following probability
distribution for the number of cars he
expects to sell on a particular Saturday.
Exercise 2
Exercise 2

σ = σ 2 = 1.290 = 1.136
Two Discrete Random Variables
 Expected value of the sum of two discrete
random variables:

E(x + y) = E(x) + E(y)


= Σ x P(x) + Σ y P(y)

(The expected value of the sum of two random


variables is the sum of the two expected
values)
Covariance

 Covariance between two discrete random


variables:

σxy = Σ [xi – E(x)][yj – E(y)]P(xiyj)

where:
xi = possible values of the x discrete random variable
yj = possible values of the y discrete random variable
P(xi ,yj) = joint probability of the values of xi and yj occurring
Interpreting Covariance

 Covariance between two discrete random


variables:

σxy > 0 x and y tend to move in the same direction

σxy < 0 x and y tend to move in opposite directions

σxy = 0 x and y do not move closely together


Correlation Coefficient
 The Correlation Coefficient shows the
strength of the linear association between
two variables

σxy
ρ=
σx σy
where:
ρ = correlation coefficient (“rho”)
σxy = covariance between x and y
σx = standard deviation of variable x
σy = standard deviation of variable y
Interpreting the
Correlation Coefficient
 The Correlation Coefficient always falls
between -1 and +1
ρ=0 x and y are not linearly related.
The farther ρ is from zero, the stronger the linear
relationship:

ρ = +1 x and y have a perfect positive linear relationship


ρ = -1 x and y have a perfect negative linear relationship
Risk Neutrality and Risk Aversion

 Risk Neutrality and Risk Aversion


 Risk averse consumers:
 Expect a reward for taking a risk.

 May decline a risky prospect even if it offers a positive


expected gain.
 Risk neutral consumers:
 Completely ignore risk.

 Always accept a prospect that offers a positive


expected gain.
Risk Neutrality and Risk Aversion
 Risk Neutrality and Risk Aversion
 Risk loving consumers:
 May accept a risky prospect even if the expected gain is
negative.
 Application of Expected Value to Risk
 Suppose you have a choice of receiving $1,000 in cash
or receiving a beautiful painting from your grandmother.
 The actual value of the painting is uncertain. Here is a
probability distribution
of the possible worth
of the painting. What
should you do?
Risk Neutrality and Risk Aversion
 Application of Expected Value to Risk
 First calculate the
expected value:

E(X)
= ∑
= x P(X
i xi )
= $2,000 × 0.20 + $1,000 × 0.50 + $500 × 0.30
= $1,050

 Since the expected value is more than $1,000 it may


seem logical to choose the painting over cash.
 However, we have not taken into account risk.
Risk Neutrality and Risk Aversion
 Investment opportunities often use both:
 Expected return as a measure of reward.
 Variance or standard deviation of return as a measure of
risk.
 Portfolio is defined as a collection of assets such as
stocks and bonds.
 Let X and Y represent two random variables of interest,
denoting, say, the returns of two assets.
 Since an investor may have invested in both assets, we
would like to evaluate the portfolio return formed by a
linear combination of X and Y .
Risk Neutrality and Risk Aversion
 Properties of random variables useful in evaluating
portfolio returns.
 Given two random variables X and Y,
 The expected value of X and Y is
E ( X + Y=
) E ( X ) + E (Y )
 The variance of X and Y is
Y ) Var ( X ) + Var (Y ) + 2Cov ( X ,Y )
Var ( X +=
where Cov(X,Y) is the covariance between X and Y.
 For constants a, b, the formulas extend to
) aE ( X ) + bE (Y )
E ( aX + bY =
Var ( aX + bY
= ) a2Var ( X ) + b2Var (Y ) + 2abCov ( X ,Y )
Portfolio Returns
 Expected return, variance, and standard
deviation of portfolio returns.
 Given a portfolio with two assets, Asset A and
Asset B, the expected return of the portfolio
E(Rp) is computed as:
E ( Rp ) w AE ( RA ) + w B E ( RB )
=

 where
wA and wB are the portfolio weights
wA + wB = 1
E(RA) and E(RB) are the expected returns on assets
A and B, respectively.
Portfolio Returns
 Expected return, variance, and standard deviation
of portfolio returns.
 Using the covariance or the correlation coefficient of the
two returns, the portfolio variance of return is:
Var ( Rp ) = w A 2σ A 2 + w B 2σ B 2 + 2w Aw B ρ ABσ Aσ B

where σ2A and σ2B are the variances of the returns for
Asset A and Asset B, respectively,
σAB is the covariance between the returns for
Assets A and B
ρAB is the correlation coefficient between the returns
for Asset A and Asset B.
Portfolio Returns
 Example: Consider an investment portfolio of
$40,000 in Stock A and $60,000 in Stock B.
 Given the following information, calculate the expected
return of this portfolio.

 .
Portfolio Returns

 Example: Consider an investment portfolio of


$40,000 in Stock A and $60,000 in Stock B.

 Calculate the correlation coefficient between


the returns on Stocks A and B.

 Solution:
Portfolio Returns
 Example: Consider an investment portfolio of
$40,000 in Stock A and $60,000 in Stock B.

 Calculate the portfolio variance.


 Solution:
Portfolio Returns
 Example: Consider an investment portfolio of
$40,000 in Stock A and $60,000 in Stock B.

 Calculate the portfolio standard deviation.


 Solution:
Binomial Distributions
Probability Distributions
Probability
Distributions

Discrete Continuous
Probability Probability
Distributions Distributions

Binomial Normal

Poisson Uniform

Hypergeometric Exponential
Discrete Probability Distributions
 A discrete random variable is a variable that can
assume only a countable number of values
Many possible outcomes:
 number of complaints per day
 number of TV’s in a household
 number of rings before the phone is answered
Only two possible outcomes:
 gender: male or female
 defective: yes or no
 spreads peanut butter first vs. spreads jelly first
Continuous Probability Distributions

 A continuous random variable is a variable that


can assume any value on a continuum (can
assume an uncountable number of values)
 thickness of an item
 time required to complete a task
 temperature of a solution
 height, in inches

 These can potentially take on any value,


depending only on the ability to measure
accurately.
The Binomial Distribution
Probability
Distributions

Discrete
Probability
Distributions

Binomial

Poisson

Hypergeometric
Binomial Probability Experiment

1. An outcome on each trial of an experiment is


classified into one of two mutually exclusive
categories—a success or a failure.
2. The random variable counts the number of successes
in a fixed number of trials.
3. The probability of success and failure stay the same
for each trial.
4. The trials are independent, meaning that the outcome
of one trial does not affect the outcome of any
other trial.
Binomial Probability Distribution
A Widely occurring discrete probability
distribution
Characteristics of a Binomial Probability
Distribution
1. There are only two possible outcomes on a
particular trial of an experiment.
2. The outcomes are mutually exclusive,
3. The random variable is the result of counts.
4. Each trial is independent of any other trial
Binomial Probability Distribution
 A binomial random variable is defined as the
number of successes achieved in the n trials of a
Bernoulli process.
 A Bernoulli process consists of a series of n

independent and identical trials of an experiment


such that on each trial:
 There are only two possible outcomes:
p = probability of a success
1−p = q = probability of a failure
 Each time the trial is repeated, the probabilities of
success and failure remain the same.
The Binomial Distribution

 Characteristics of the Binomial Distribution:


 A trial has only two possible outcomes – “success” or
“failure”
 There is a fixed number, n, of identical trials
 The trials of the experiment are independent of each
other
 The probability of a success, p, remains constant from
trial to trial
 If p represents the probability of a success, then
(1-p) = q is the probability of a failure
Binomial Distribution Settings

 A manufacturing plant labels items as


either defective or acceptable
 A firm bidding for a contract will either get
the contract or not
 A marketing research firm receives survey
responses of “yes I will buy” or “no I will
not”
 New job applicants either accept the offer
or reject it
Counting Rule for Combinations
 A combination is an outcome of an experiment
where x objects are selected from a group of n
objects
n n!
C = x
x! (n − x )!
where:
n! =n(n - 1)(n - 2) . . . (2)(1)
x! = x(x - 1)(x - 2) . . . (2)(1)
0! = 1 (by definition)
Binomial Distribution Formula

 A binomial random variable X is defined as the


number of successes achieved in the n trials of a
Bernoulli process.
 A binomial probability distribution shows the
probabilities associated with the possible values of
the binomial random variable (that is, 0, 1, . . . , n).
 For a binomial random variable X , the probability of x
successes in n Bernoulli trials is
n!
P(X )
= x= ( )
n p x q n −=
x
x

x ! ( n − x )!
pxq n−x

for x 0,1,2,
= , n. By definition, 0! 1.
Binomial Distribution Formula

n! x n−x
P(x) = p q
x ! (n − x )!

P(x) = probability of x successes in n trials,


with probability of success p on each trial
Example: Flip a coin four
times, let x = # heads:
x = number of ‘successes’ in sample,
n=4
(x = 0, 1, 2, ..., n)
p = probability of “success” per trial p = 0.5
q = probability of “failure” = (1 – p) q = (1 - .5) = .5
n = number of trials (sample size) x = 0, 1, 2, 3, 4
Binomial Distribution
 The shape of the binomial distribution depends on the
values of p and n
Mean P(X) n = 5 p = 0.1
.6
.4
.2
 Here, n = 5 and p = .1
0 X
0 1 2 3 4 5

P(X) n = 5 p = 0.5
.6
.4
 Here, n = 5 and p = .5 .2
0 X
0 1 2 3 4 5
Binomial Distribution
Characteristics
 Mean
μ = E(x) = np
 Variance and Standard Deviation
2
σ = npq
σ = npq
Where n = sample size
p = probability of success
q = (1 – p) = probability of failure
Binomial Distribution Characteristics

 For a binomial distribution:


 The expected value E ( X=
) µ= np
(E(X)) is:

 The variance (Var(X)) is: Var ( X=


) σ=2
npq

The standard deviation


SD ( X =
)

(SD(X)) is: σ= npq


Binomial Distribution Characteristics
Binomial Characteristics
Examples
μ = np = (5)(.1) = 0.5
Mean P(X) n = 5 p = 0.1
.6
.4
σ = npq = (5)(.1)(1 − .1) .2
= 0.6708 0 X
0 1 2 3 4 5

μ = np = (5)(.5) = 2.5 P(X) n = 5 p = 0.5


.6
.4
σ = npq = (5)(.5)(1 − .5) .2
= 1.118 0 X
0 1 2 3 4 5
Using Binomial Tables
n = 10
x p=.15 p=.20 p=.25 p=.30 p=.35 p=.40 p=.45 p=.50
0 0.1969 0.1074 0.0563 0.0282 0.0135 0.0060 0.0025 0.0010 10
1 0.3474 0.2684 0.1877 0.1211 0.0725 0.0403 0.0207 0.0098 9
2 0.2759 0.3020 0.2816 0.2335 0.1757 0.1209 0.0763 0.0439 8
3 0.1298 0.2013 0.2503 0.2668 0.2522 0.2150 0.1665 0.1172 7
4 0.0401 0.0881 0.1460 0.2001 0.2377 0.2508 0.2384 0.2051 6
5 0.0085 0.0264 0.0584 0.1029 0.1536 0.2007 0.2340 0.2461 5
6 0.0012 0.0055 0.0162 0.0368 0.0689 0.1115 0.1596 0.2051 4
7 0.0001 0.0008 0.0031 0.0090 0.0212 0.0425 0.0746 0.1172 3
8 0.0000 0.0001 0.0004 0.0014 0.0043 0.0106 0.0229 0.0439 2
9 0.0000 0.0000 0.0000 0.0001 0.0005 0.0016 0.0042 0.0098 1
10 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0010 0
p=.85 p=.80 p=.75 p=.70 p=.65 p=.60 p=.55 p=.50 x

Examples:
n = 10, p = .35, x = 3: P(x = 3|n =10, p = .35) = .2522
n = 10, p = .75, x = 2: P(x = 2|n =10, p = .75) = .0004
Binomial Probability - Example

 Example: Approximately 20% of U.S. workers are


afraid that they will never be able to retire. Suppose
10 workers are randomly selected.
 What is the probability that none of the workers is

afraid that they will never be able to retire?


 Solution: Let X = 10, then
Binomial Probability - Example
There are five flights
daily from Pittsburgh
via US Airways into
the Bradford,
Pennsylvania,
Regional Airport.
Suppose the
probability that any
flight arrives late is
.20.
What is the probability
that none of the
flights are late today?
Binomial Probability - Example

For the example


regarding the number
of late flights, recall
that π =.20 and n = 5.

What is the average


number of late flights?

What is the variance of


the number of late
flights?
Binomial Probability - Example
: Another Solution
Binomial Probability - Example

Five percent of the worm gears produced by an automatic, high-


speed Carter-Bell milling machine are defective.
What is the probability that out of six gears selected at random
none will be defective? Exactly one? Exactly two? Exactly
three? Exactly four? Exactly five? Exactly six out of six?
Binomial – Shapes for Varying π (n constant)
Binomial – Shapes for Varying n (π constant)
Binomial Probability Distributions -
Example

A study by the Illinois Department of Transportation


concluded that 76.2 percent of front seat occupants
used seat belts. A sample of 12 vehicles is selected.
What is the probability the front seat occupants in
exactly 7 of the 12 vehicles are wearing seat belts?
Cumulative Binomial Probability
Distributions - Example

A study by the Illinois Department of Transportation


concluded that 76.2 percent of front seat occupants
used seat belts. A sample of 12 vehicles is selected.
What is the probability the front seat occupants in at
least 7 of the 12 vehicles are wearing seat belts?

You might also like