Uploaded by Sofia Berechet

Discrete Probability Distributions Lecture Notes

advertisement
Discrete
Probability
Distributions
1
Probability
Basics
2
Probability Basics
• Random Experiment
• Sample Space, Ω
• Event
• Intersection, ๐ด ∩ ๐ต
• Mutually exclusive, ๐ด ∩ ๐ต = ∅
• Union, ๐ด ∪ ๐ต
• Complement, ๐ด๐ถ
3
Probability Basics
Probability Postulates
1. If ๐ด is any event in the sample space,Ω,
0≤โ„™ ๐ด ≤1
2. Let ๐ด ⊆ Ω and let ๐‘‚๐‘– denote the basic outcomes. Then
โ„™ ๐ด = เท โ„™ ๐‘‚๐‘–
๐ด
3. โ„™ Ω = 1.
4
Probability Basics
• Complement Rule: โ„™ ๐ด๐‘ = 1 − โ„™ ๐ด .
• Addition Rule: โ„™ ๐ด ∪ ๐ต = โ„™ ๐ด + โ„™ ๐ต − โ„™ ๐ด ∩ ๐ต
• Conditional Probability: โ„™ ๐ด|๐ต
โ„™ ๐ด∩๐ต
= โ„™๐ต ;
โ„™ ๐ต ≠0
• The Multiplication Rule: โ„™ ๐ด ∩ ๐ต = โ„™ ๐ด|๐ต โ„™ ๐ต
5
Probability Basics
Two events, ๐ด be and ๐ต,c are said to be statistically
independent if and only if
โ„™ ๐ด∩๐ต =โ„™ ๐ด โ„™ ๐ต .
6
Probability Basics
Bayes’ Theorem
Let ๐ด and ๐ต be two events. Then Bayes’ theorem states
that
โ„™ ๐ด|๐ต โ„™ ๐ต
โ„™ ๐ต|๐ด =
.
โ„™ ๐ด
7
Discrete Random
Variables
Probability Distributions
8
Random Variables
There are different types of variables we will consider:
9
Random Variables
Random Variables
• Discrete Random Variable
• Continuous Random Variables
Probability Distribution Function (pdf)
1. 0 ≤ โ„™ ๐‘‹ = ๐‘ฅ ≤ 1 ∀ x ∈ ๐‘†๐‘‹
2. σ๐‘ฅ∈๐‘†๐‘‹ โ„™ ๐‘‹ = ๐‘ฅ = 1
10
Discrete Random Variables
Cumulative Probability Distribution (cdf)
๐น๐‘‹ ๐‘ฅ0 = เท โ„™ ๐‘‹ = ๐‘ฅ
๐‘ฅ≤๐‘ฅ0
1. 0 ≤ ๐น๐‘‹ ๐‘ฅ0 ≤ 1 ∀ ๐‘ฅ0 ∈ โ„.
2. If ๐‘ฅ0 < ๐‘ฅ1 , then ๐น๐‘‹ ๐‘ฅ0 ≤ ๐น๐‘‹ ๐‘ฅ1 .
11
Discrete Random Variables
Expected Value
๐”ผ ๐‘‹ = ๐œ‡ = เท ๐‘ฅโ„™ ๐‘‹ = ๐‘ฅ
๐‘ฅ∈๐‘†๐‘ฅ
Variance
๐œŽ2
= ๐”ผ ๐‘‹ − ๐œ‡ 2 = ๐”ผ ๐‘‹ 2 − ๐œ‡2
=
เท ๐‘ฅ 2 โ„™ ๐‘‹ = ๐‘ฅ − ๐œ‡2
๐‘ฅ∈๐‘†๐‘‹
The standard deviation, ๐œŽ = ๐œŽ 2
12
Discrete Random Variables
13
Discrete Random Variables
Let ๐‘‹ be a random variable with mean ๐œ‡๐‘‹ and variance ๐œŽ๐‘‹2 , and
let ๐‘Ž and ๐‘ be any constant fixed numbers.
Define the random variable ๐‘Œ = ๐‘Ž + ๐‘๐‘‹. Then, the mean and
variance of Y are
๐œ‡๐‘Œ
๐œŽ๐‘Œ2
= ๐‘Ž + ๐‘๐œ‡๐‘‹
= ๐‘2 ๐œŽ๐‘‹2
14
Discrete Random Variables
15
Multivariate Basics
Let ๐‘‹1 , … , ๐‘‹๐‘› be random variables,
• ๐”ผ ๐‘‹1 + โ‹ฏ + ๐‘‹๐‘› = ๐”ผ ๐‘‹1 + โ‹ฏ + ๐”ผ ๐‘‹๐‘›
• ๐• ๐‘‹๐‘– + ๐‘‹๐‘— = ๐• ๐‘‹๐‘– + ๐• ๐‘‹๐‘— + 2Cov ๐‘‹๐‘– , ๐‘‹๐‘—
• ๐• σ๐‘›๐‘–=1 ๐‘‹๐‘– = σ๐‘›๐‘–=1 ๐• ๐‘‹๐‘– + 2 σ1≤๐‘–<๐‘—≤๐‘› Cov ๐‘‹๐‘– , ๐‘‹๐‘—
• Cov ๐‘‹๐‘– , ๐‘‹๐‘– = ๐• ๐‘‹๐‘–
16
Multivariate Basics
Double conditional expectation
Let ๐‘‹ and ๐‘Œ be two random variables. Then
๐”ผ ๐”ผ ๐‘‹|๐‘Œ
=๐”ผ ๐‘‹
17
Binomial
Distribution
18
Binomial Distribution
• Two possible mutually exclusive and collectively exhaustive
outcomes.
• Let ๐‘ denote the probability of success, and the probability of
failure (1 − ๐‘).
1 if success
• ๐‘‹=แ‰Š
0 otherwise
This distribution is known as the Bernoulli distribution.
19
Binomial Distribution
Binomial distribution:
• Two possible outcomes for each trial.
• Mutually exclusive.
• Counting successes.
• Independent trials.
• Identical probability of success for all trials.
20
Binomial Distribution
Let ๐‘‹ ∼ Bin ๐‘›, ๐‘ , then
โ„™ ๐‘‹=๐‘ฅ
๐”ผ ๐‘‹
๐œŽ2
=
=
=
๐œŽ
=
๐‘ฅ
๐‘›−๐‘ฅ
๐ถ
๐‘
1
−
๐‘
๐‘› ๐‘ฅ
๐‘›๐‘
๐‘›๐‘ 1 − ๐‘
๐œŽ2
21
Binomial Distribution
22
Binomial Distribution
23
Binomial Distribution
24
Exercises
For each of the following, indicate if a discrete or a continuous
random variable provides the best definition:
a) The amount of oil exported by Saudi Arabia in January 2019.
b) The number of newspapers published by The Copenhagen
Post.
c) The number of rainy days in July at a beach resort.
d) The level of pressure in the tires of an automobile.
25
Exercises
• A presidential election poll contacts 2,000 randomly selected
people. Should the number of people that support candidate A
be analyzed using discrete or continuous probability models?
• The Embassy of Vietnam in India receives a number of visa
applications. Should the number of visas issued per day be
analyzed using discrete or continuous probability models?
26
Exercises
Show the probability distribution function of the number of
heads when three fair coins are tossed independently.
27
Exercises
The number of computers sold per day at Dan’s Computer Works
is defined by the following probability distribution:
๐’™
0
1
2
3
4
5
6
โ„™ ๐‘‹=๐‘ฅ
0.03
0.11
0.15
0.22
0.19
0.26
0.04
a) โ„™ 3 ≤ ๐‘ฅ < 6 = ?
b) โ„™(๐‘ฅ > 3) = ?
c) ๐‘ƒ(๐‘ฅ ≤ 4) = ?
d) ๐‘ƒ(2 < ๐‘ฅ ≤ 5) = ?
28
Exercises
Given the probability distribution function:
๐’™
0
1
2
โ„™ ๐‘‹=๐‘ฅ
0.25
0.50
0.25
a) Graph the probability distribution function.
b) Calculate and graph the cumulative probability distribution.
c) Find the mean of the random variable ๐‘‹.
d) Find the variance of ๐‘‹.
29
Exercises
An automobile dealer calculates the proportion of new cars sold that
have been returned a various numbers of times for the correction of
defects during the warranty period. The results are shown in the
following table.
๐’™
0
1
2
3
4
โ„™ ๐‘‹=๐‘ฅ
0.28
0.36
0.23
0.09
0.04
a) Graph the probability distribution function.
b) Calculate and graph the cumulative probability distribution.
c) Find the mean number of returns of an automobile for corrections
for defects during the warranty period.
d) Find the variance of the number of returns of an automobile for
corrections for defects during the warranty period.
30
Exercises
A production manager knows that 5% of components produced by a
particular manufacturing process have some defect. Six of these
components, whose characteristics can be assumed to be
independent of each other, are examined.
a) What is the probability that none of these components has a
defect?
b) What is the probability that one of these components has a
defect?
c) What is the probability that at least two of these components
have a defect?
31
Exercises
A local car dealer in Germany is mounting a new cross-divisional
promotional campaign. Purchasers of new cars may, if dissatisfied for
any reason, return the vehicle within 2 days of purchase and receive a
full refund. The cost to the dealer of such a refund is €300. The dealer
estimates that 18% of all purchasers will indeed return cars
purchased and obtain refunds. Suppose that 80 cars are purchased
during the campaign period.
a) Find the mean and standard deviation of the number of these cars
that will be returned for refunds.
b) Find the mean and standard deviation of the total refund costs
that will accrue as a result of these 80 purchases.
32
Download