WK 1 Probability Distributions
WK 1 Probability Distributions
Distributions
Week 1
The classical probability concept
• If there are n equally likely possibilities, of which
one must occur and s are regarded as favorable, or
𝑠
as a success, then the probability of a success is:
𝑛
Basic rules of probability
1. Probabilities are real numbers between 0 and 1
2. If an event is certain to occur, its probability is 1,
and if an event is certain not to occur, its
probability is 0
3. If two events are mutually exclusive, the
probability that one or the other will occur equals
the sum of their probabilities
4. The sum of the probabilities that an event will
occur and that it will not occur is equal to 1
Random variable
• A quantity that can take on the different values of a
given set with specified probabilities
• Contains an element of chance
• Strictly - a random variable is a function
• Loosely - quantities that can take on different
values depending on chance
• Classifies according to the number of values that
they can assume
• Discrete – can take on only finite number of values
• Continuous – a countable infinity of values (determined
by means of continuous measuring scales such as
thermometers, stopwatches)
Probability distributions - The probability of a discrete value occurring
discrete random variables x P(x)
0 0.1
• x is a discrete random variable which 1 0.1
can take the values 0, 1, 2, 3, 4, 5 and 6
2 0.15
• Which value is most likely to occur? 3 0.3
0.25
• Dividing [0, 1] into sub-intervals and 0.25
0.2
attaching probabilities to each sub- 0.2
0.15
interval will give a probability
0.1
distribution 0.1 0.1
0.05
• The probability that x will lie 0
between 0.4 and 0.6 is 0.35, that is, 0.2 0.4 0.6 0.8 1.0
x
𝑃 0.4 ≤ 𝑋 < 0.6 = 0.35 Plotted data of the probability values
The probability that x lies in a given subinterval
x P(x) x P(x)
0.2
0.2
0.15
0.15 0.15
0.1
0.1 0.1 0.1
0.03 0.03
0
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
x
Plotted data of the probability values
Probability density function (pdf)
𝑃 𝑎 ≤ 𝑋 ≤ 𝑏 = area above 𝑎, 𝑏 = 𝑓 𝑥 𝑑𝑥
𝑎
Expected value of a continuous
random variable
• The mean of X or expected value
𝑏
𝜇=𝐸 𝑥 = 𝑥 ∙ 𝑓 𝑥 𝑑𝑥
𝑎
• The variance of X or the expected value of the squared
distance from the mean
𝑏
𝜎2 = 𝐸 𝑥 − 𝜇 2
= 𝑥 − 𝜇 2 𝑓(𝑥 )𝑑𝑥
𝑎
• The standard deviation of a continuous random
variable
𝜎 = 𝜎2
Discrete Probability
Distributions
Binomial Distribution
• Repeated independent trials
• Assumptions about this distribution:
(a) There is a fixed number of trials, each resulting in
success or failure
(b) The probability of a success is the same for each trial
(c) The trials are all independent
• The probability of getting “x successes in n trials” or
“x successes and n - x failures in n attempts”
Binomial Distribution (cont.)
• In general, if n is the number of trials, p is the probability of
a success for each trial, and the trials are all independent,
the probability of x successes in n trials is
𝑛 𝑥
𝑃 𝑋 = 𝑥 = 𝑓(𝑥) = 𝑝 (1 − 𝑝)𝑛−𝑥
𝑥
for x = 0, 1, 2, …, or n
• 𝑃 𝑋 = 𝑥 is called the probability distribution function (pdf)
• Mean of the binomial distribution
𝜇 = 𝑛𝑝
• Standard deviation of the binomial distribution
𝜎 = 𝑛𝑝(1 − 𝑝)
Hypergeometric Distribution
• Sample without replacement from a finite population
• In general, if n objects are chosen at random from a set
consisting of a objects of type A and b objects of type
B, and the selection is without replacement, the
probability of “x of type A and n – x of type B” is
𝑎 𝑏
𝑥 𝑛−𝑥
𝑃 𝑋 = 𝑥 = 𝑓(𝑥) =
𝑎+𝑏
𝑛
for x = 0, 1, 2, …, or n
• x cannot exceed a and n – x cannot exceed b. Also, x
cannot exceed n
Hypergeometric Distribution (cont.)
• Binomial approximation to hypergeometric
distribution:
𝑛 ≤ (0.05)(𝑎 + 𝑏)
Poisson Distribution
• Counted events with no fixed upper limit
• Poisson processes involve observing discrete events
in a continuous “interval” of time, length, or space
• The variable of interest in a Poisson process is
X = the number of occurrences of the event in
an interval of length s units
Poisson Distribution (cont.)
• The probability of getting x “successes” by means
of the formula
𝑒 −𝜆 𝜆𝑥
𝑃 𝑋=𝑥 =𝑓 𝑥 =
𝑥!
for x = 0, 1, 2, 3, …
• The parameter 𝜆 of a Poisson process represents
the average number of occurrences of the event in
question per measurement unit
Poisson Distribution (cont.)
• Poisson approximation to binomial distribution
𝑒 −𝑛𝑝 𝑛𝑝 𝑥
𝑃 𝑋=𝑥 =𝑓 𝑥 =
𝑥!
for x = 0, 1, 2, 3, …
Multinomial distribution
• Generalization of the binomial distribution
• When there are more than two possible outcomes
for each trial
• The probabilities of the various outcomes remain
the same for each trial
• Trials are all independent
Multinomial distribution (cont.)
• If there are k possible outcomes for each trial and
their probabilities are 𝑝1 , 𝑝2 , …, and 𝑝𝑘
• The probability of 𝑥1 outcomes of the first kind, 𝑥2
outcomes of the second kind, … , and 𝑥𝑘 outcomes
of the kth kind in n trials is given by
𝑛! 𝑥1 𝑥2 𝑥𝑘
𝑃 𝑋=𝑥 =𝑓 𝑥 = 𝑝1 𝑝2 … 𝑝𝑘
𝑥1 ! 𝑥2 ! … 𝑥𝑘 !
Exercise 1
To pass a quality control inspection, two cellular phones are
randomly chosen from each lot of 10 cellular phones, and the
lot is passed only if neither phone is defective. Determine the
probabilities that a lot will
(a) pass the inspection when only 1 of the 10 phones is
defective
(b) pass the inspection when 2 of the 10 phones are defective
is a linear combination of 𝑋1 , 𝑋2 , 𝑋3 , … , 𝑋𝑝
Mean and Variance