Sunteți pe pagina 1din 20

DISCRETE PROBABILITY

DISTRIBUTION
PROBABILITY DISTRIBUTION
-is defined formally, the definition of variable is
reviewed. A variable was defined as a characteristic or
attribute that can assume different values. Various letters
of the alphabet, such as X, Y, or Z, are used to represent
variables. Since the variables in this chapter are associated
with probability, they are called random variables.
RANDOM VARIABLE
-is a variable whose values are determined by chance.

DISCRETE VARIABLE
-have a finite number of possible values or an infinite number of values
that can be counted. The word counted means that they can be enumerated
using the numbers 1, 2, 3, etc.

CONTINUOUS VARIABLE
-variables that can assume all value in the interval between any two given
values.

DISCRETE PROBABILITY DISTRIBUTION


-consists of the values a random variable can assume and the
corresponding probabilities of the values. The probabilities are determined
theoretically or by observation.
The procedure shown here for constructing a probability distribution for a
discrete random variable uses the probability experiment of tossing the three
coin. That when three coins are tossed, the sample space is represented as TTT,
TTH, THT, HTT, HHT, HTH, THH, HHH; and if X is the random variable for the
number of head, then X assumes the value 0, 1, 2, or 3.
Probabilities for the values of X can be determined as follows:

No Heads One Head Two Heads Three Heads

TTT TTH THT HTT HHT HTH THH HHH


1 1 1 1 1 1 1 1
8 8 8 8 8 8 8 8

1 3 3 1
8 8 8 8

Hence, the probability of getting no heads is 1/8, one head is 3/8, two heads is 3/8, and three heads is 1/8.
From this values, a probability distribution can be constructed by listing the outcomes and assigning the
probability of each outcome, as shown here.
Number of heads X 0 1 2 3
1 3 3 1
Probability P(X) 8 8 8 8
Tossing Coins
Represent graphically the probability distribution for the sample space for tossing three coins.
Number of heads X 0 1 2 3
1 3 3 1
Probability P(X) 8 8 8 8
Solution
The values X assumes are located on the x axis, and the values for P(X) are located on the y axis.
The graph is shown below:
3
8
Probability

2
8

1
8

0 1 2 3
Number of heads
MEAN, VARIANCE, STANDARD
DEVIATION, AND EXPECTATION
-the mean, variance, and standard deviation for a probability distribution are computed differently from
the mean, variance, and standard deviation for sample.
MEAN
-the mean for the sample or population was computed by adding the values and dividing by the
total number of values, as shown in this formulas:
σ𝑋 σ𝑋
𝑋= µ=
n N

Binomial Experiment
Is a probability experiment that satisfies the following four requirements:
1. There must be a fixed numbers.
2. Each can have only two outcomes or outcomes that can be reduced to two
outcomes. These outcomes can be considered as either success or failure.
3. The outcomes of each trial must be independent of one another.
4. The probability of a success must remain the same for each trial.
Binomial Distribution
 is the outcome of a binomial experiment and the corresponding probabilities of these outcome.
Notation for the Binomial Distribution
P(S) The symbol for the probability of success
P(F) The symbol for the probability of failure
p The numerical probability of a success
q The numerical probability of a failure
P(S) = p and P(F) = 1 − p = q
n The number of trials
X The number of successes in n trials
Note that 0≤ 𝑋 ≤ 𝑛 and X = 0, 1, 2, 3, . . . . .,n.
Binomial Probability Formula

In a binomial experiment, the probability of exactly X successes in n trials is:


𝑛!
𝑃 𝑋 = ∙ 𝑝 𝑥 ∙ 𝑞𝑛−𝑋
𝑛 − 𝑋 𝑋!
Tossing Coins
A coin is tossed three times. Find the probability of getting exactly two heads.
SOLUTION
This problem can be solved by looking at the sample space. There are three ways to get two
heads.
HHH, HHT, HTH, THH, TTH, THT, HTT, TTT
The answer is 3/8, or 0.375
In this case, n = 3, X = 2, p = ½, and q = ½. Hence, substituting in the formula gives

3! 1 1 3
P(2 heads) = . (2)2 (2)1 = = 0.375
3−2 !2! 8
Survey on Fear of Being Home Alone at Night
Public Opinion reported that 5% of Americans are afraid of being alone in a house at night. If a
random sample of 2 Americans is selected, find these probabilities by using the binomial table.
a. There are exactly 5 people in the sample who are afraid of being alone at night.
b. There are at most 3 people in the sample who are afraid of being alone at night.
c. There are at least 3 people in the sample who are afraid of being alone at night.
Solution
a. n = 20, p = 0.05, and X = 5. From the table, we get 0.002.
b. n = 20 and p = 0.05. “At most 3 people” means 0, or 1, or 2, or 3.
Hence, the solution is
P(0) + P(1) + P(2) + P(3) = 0.358 + 0.377 + 0.189 + 0.060
= 0.984
c. n = 20 and p = 0.05. “At least 3 people” means 3, 4, 5,. . . . . . , 20. This problem
can be solved by finding P(0) + P(1) + P(2) and subtracting from 1.
P(0) + P(1) + P(2) = 0.358 + 0.377 + 0.189 = 0.924
1− 0.924 = 0.076
Mean, Variance, and Standard Deviation
for the Binomial Distribution
The mean, variance and standard deviation of a variable that has the binomial distribution can
be found by using the following formula:
Mean: 𝜇 = 𝑛 ∙ 𝑝
Variance: 𝜎 2 = 𝑛 ∙ 𝑝 ∙ 𝑞
Standard Deviation: 𝜎 = 𝑛 ∙ 𝑝 ∙ 𝑞
Tossing a Coin
A coin is tossed 4 times. Find the mean, variance and standard deviation of the number of heads
that will be obtained.
Solution
With the formulas for the binomial distribution and n = 4, p = ½ , q = ½ , the results are
1
𝜇 =𝑛∙𝑝 =4∙ =2
2
1 1
𝜎2 = 𝑛 ∙ 𝑝 ∙ 𝑞 = 4 ∙ ∙ = 1
2 2

𝜎= 1=1
From the example above, when four coins are tossed many, many times, the average of the
number of heads that appear is 2, and the standard deviation of the number of heads is 1. Note
that these are theoretical values.
As stated previously, this problem can be solved by using the formulas for expected value. The
distribution is shown.

Number of heads X 0 1 2 3 4
1 4 6 4 1
Probability P(X) 16 16 16 16 16

1 4 6 4 1 32
𝜇 = 𝐸 𝑋 = σ 𝑋 ∙ 𝑃(𝑋) =0∙ 16 + 1 ∙ 16 + 2 ∙ 16 + 3 ∙ 16 + 4 ∙ 16 = 16 = 2

𝜎 2 = σ 𝑋 2 ∙ 𝑃(𝑋) − 𝜇2
1 4 6 4 1 80
= 02 ∙ + 12 ∙ + 22 ∙ + 32 ∙ + 42 ∙ − 22 = −4=1
16 16 16 16 16 16

𝜎= 1=1

Hence, the simplified binomial formulas give the same results.


OTHER TYPES OF
DISTRIBUTION (OPTIONAL)
The Multinomial Distribution
 Used if each trial in experiment has more than two outcome.

 Formula for the Multinomial Distribution


If X consists of events 𝐸1 , 𝐸2 , 𝐸3 , . . . . 𝐸𝑘 which have corresponding probabilities 𝑝1 ,
𝑝2 , 𝑝3 , . . . . , 𝑝𝑘 of occurring, and 𝑋1 is the number of times 𝐸1 will occur, 𝑋2 is the number of
times 𝐸2 will occur, 𝑋3 is the number of times 𝐸3 will occur, etc., then the probability X will
occur is
𝑛!
𝑃 𝑋 = ∙ 𝑝1 𝑋1 ∙ 𝑝2 𝑋2 ∙ ∙ ∙ 𝑝𝑘 𝑋𝑘
𝑋1 !∙𝑋2 !∙𝑋3 !∙ ∙ ∙𝑋𝑘 !
where 𝑋1 + 𝑋2 + 𝑋3 + ∙ ∙ ∙ 𝑋𝑘 = 𝑛 and 𝑝1 + 𝑝2 + 𝑝3 + ∙ ∙ ∙ +𝑝𝑘 = 1
Coffee Shop Customers
◦ A small airport coffee shop manager found that the probabilities a customer buys 0, 1, 2, 3 or cups of
coffee are 0.3, 0.5, 0.15, respectively. If 8 customer enter, the shop find the probability that 2 will
purchase something other than coffee, 4 will purchase 1 cup of coffee, 1 will purchase 2 cups, and 1 will
purchase 3 cups.
Solution
Let 𝑛 = 8, 𝑋1 = 2, 𝑋2 = 4, 𝑋3 = 1, 𝑋4 = 1
𝑝1 = 0.3 𝑝2 = 0.5 𝑝3 = 0.15 and 𝑝4 = 0.05
Then
8!
𝑃 𝑋 = (0.3)2 (0.5)4 (0.15)1 (0.05)1 = 0.0354
2! 4! 1! 1!
The Poisson Distribution
◦ A discrete probability distribution that is useful when n is large and p is small and when the
independent variable occur over a period of time.
◦ Can be used when a density of items is distributed over a given area or volume

Formula for the Poisson Distribution


The probability of X occurrences in an interval of time, volume, area, etc., for a variable
where λ (Greek letter lambda) is the mean number of occurrences per unit (time, volume, area,
etc.) is
𝑒 −λ λ𝑋
𝑃 𝑋; λ = where X = 0, 1, 2,. . . .
𝑋!
The letter e is a constant approximately equal to 2.7183
Typographical Errors
If there are 200 typographical errors randomly distributed in a 500-page manuscript, find the
probability that a given page contains exactly 3 errors.
Solution
First, find the mean number λ of errors. Since there are 200 errors distributed over 500 pages,
each page has an average of λ
200 2
λ= = = 0.4
500 5
or 0.4 error per page. Since X = 3, substituting into the formula yields

𝑒 −λ λ𝑋 (2.7183)−0.4 (0.4)3
𝑃 𝑋; λ = = = 0.0072
𝑋! 3!
Thus, there is less than 1% chance that any given page will con
The Hypergeometric Distribution
Is a distribution of a variable that has two outcomes when sampling is done
without replacement.

Formula for the Hypergeometric Distribution


Given a population with only two types of objects (females and males, defective and non-
defective, successes and failures, etc.) such that there are a items of one kind and b items of
another kind and a + b equals the total population, the probability P(X) of selecting without
replacement a sample of size n with X items of type a and 𝑛 − 𝑋 items of type b is

𝑎𝐶𝑋 ∙ 𝑏𝐶𝑛−𝑋
𝑃 𝑋 =
𝑎+𝑏𝐶𝑛
Assistant Manager Applicants

S-ar putea să vă placă și