Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
[1] 2, 4; [2] 3 ;
[3] 4, 5, 6; [5] 2, 8
2
Outline
Probability
Commonly used Distributions
1
10/21/2019
3
Probability
Basic ideas
Counting Methods
Random Variables
Linear Functions of Random Variables
Jointly Distributed Random Variables
4
Basic ideas
2
10/21/2019
Basic ideas
MUTUALLY EXCLUSIVE EVENTS
Data Analysis
6
Probabilities
3
10/21/2019
Axioms of Probability
Data Analysis
Axioms of Probability
Data Analysis
4
10/21/2019
9
Sample Spaces with Equally Likely
Outcomes
10
The Addition Rule
10
5
10/21/2019
11
Counting Methods
Data Analysis
11
12
Permutations
12
6
10/21/2019
13
Permutations
13
14
Combinations
14
7
10/21/2019
Conditional 15
Probability and
Independence
15
16
Independent Events
Data Analysis
16
8
10/21/2019
17
17
18
9
10/21/2019
19
19
20
Bayes' Rule
Data Analysis
20
10
10/21/2019
21
Random Variables
Sample space
21
22
Discrete Random Variables
22
11
10/21/2019
23
The Cumulative Distribution Function
of a Discrete Random Variable
23
24
Mean and Variance for Discrete
Random Variables
24
12
10/21/2019
25
26
26
13
10/21/2019
Example 2: Find the variance and standard deviation for the random variable X 27
described as below, representing the number of times a process is recalibrated.
27
Example 3: Use the alternate formula, Equation (2.31), to compute the variance of X, 28
the number of times a process is recalibrated.
28
14
10/21/2019
29
Continuous Random Variables
A random variable is
continuous if its probabilities
are given by areas under a
curve. The curve is called a
probability density function
for the random variable.
The probability density
function is sometimes called
the probability distribution.
29
30
Computing Probabilities with the
Probability Density Function
30
15
10/21/2019
31
Computing Probabilities with the
Probability Density Function
31
32
Example
32
16
10/21/2019
33
The Cumulative Distribution Function
of a Continuous Random Variable
33
34
Mean and Variance for Continuous
Random Variables
34
17
10/21/2019
35
Mean and
Variance for
Continuous
Random
Variables
35
36
The Population Median and
Percentiles
36
18
10/21/2019
37
The probability that a random variable differs from its mean by k standard deviations or more is never greater
than 1/k2.
Chebyshev's Inequality
Data Analysis
37
38
Exercises
Q1. Computer chips often contain surface imperfections. For a certain type of
computer chip, the probability mass function of the number of defects X is
presented in the following table.
38
19
10/21/2019
Q2. A chemical supply company ships a certain solvent in 10-gallon drums. Let X
represent the number of drums ordered by a randomly chosen customer. Assume X 39
has the following probability mass function:
39
40
Linear Functions of
Random Variables
Means of Linear
Combinations of
Random Variables
40
20
10/21/2019
41
Data Analysis
41
42
42
21
10/21/2019
43
Variances of Linear Combinations of
Independent Random Variables
43
44
The Mean and Variance of a Sample
Mean
44
22
10/21/2019
45
Exercises
Q3. If X and Y are independent random variables with means μX = 9.5 and μY
= 6.8, and standard deviations σX = 0.4 and σY = 0.1, find the means and
standard deviations of the following:
a. 3 X
b. Y − X
c. X + 4Y
45
46
Jointly Distributed Random Variables
46
23
10/21/2019
47
Jointly Discrete Random Variables
Joint
probability
mass function
Both X and Y are
discrete, so X and
Y are jointly
discrete.
Probability?
47
48
Example
48
24
10/21/2019
49
Jointly Discrete Random Variables
49
50
Jointly Continuous Random Variables
50
25
10/21/2019
51
Jointly Continuous Random Variables
51
52
More than Two Random Variables
52
26
10/21/2019
53
Means of Functions of Random Variables
53
54
Means of Functions of Random
Variables
54
27
10/21/2019
55
Means of Functions of Random Variables
55
56
Conditional Distributions
56
28
10/21/2019
57
Conditional probability density
function
57
58
Conditional Expectation
58
29
10/21/2019
59
Independent
Random
Variables
59
60
Independent Random
Variables
Data Analysis
60
30
10/21/2019
61
Covariance
When two random
variables are not
independent, it is useful to
have a measure of the
strength of the relationship
between them. The
population covariance is
a measure of a certain
type of relationship known
as a linear relationship.
We will usually drop the
term “population,” and
refer simply to the
covariance.
61
62
62
31
10/21/2019
63
Correlation
63
64
Covariance, Correlation,
and Independence
Data Analysis
64
32
10/21/2019
65
Linear Combinations of Random
Variables
65
66
Linear Combinations of Random
Variables
66
33
10/21/2019
67
The Mean and Variance of a Sample
Mean
67
68
Exercises
Q4. In a certain community, levels of air pollution may exceed federal standards for ozone or for
particulate matter on some days. For a particular summer season, let X be the number of days on
which the ozone standard is exceeded and let Y be the number of days on which the particulate
matter standard is exceeded. Assume that the joint probability mass function of X and Y is given in
the following table:
a. Find P(X = 1 and Y = 2).
b. Find P(X > 0 and Y ≤ 1).
c. Find P(X ≤ 1).
d. Find P(Y > 0).
e. Find the probability that the standard for ozone is exceeded at least once.
f. Find the probability that the standard for particulate matter is never exceeded.
g. Find the probability that neither standard is ever exceeded.
68
34
10/21/2019
69
Exercises
69
Commonly used
distributions
70
35
10/21/2019
71
Bernoulli Distribution
71
72
Bernoulli
Distribution
The random variable X
is said to have the
Bernoulli distribution
with parameter p. The
notation is X ∼
Bernoulli( p). Figure 4.1
[1] presents probability
histograms for the
Bernoulli(0.5) and
Bernoulli(0.8)
probability mass
functions.
72
36
10/21/2019
73
Bernoulli Distribution
Data Analysis
73
74
Examples
[1]4.1. A coin has probability 0.5 of landing heads when tossed. Let X = 1 if
the coin comes up heads, and X = 0 if the coin comes up tails. What is the
distribution of X?
Sol: Since X = 1 when heads comes up, heads is the success outcome. The
success probability, P(X = 1), is equal to 0.5. Therefore X ∼ Bernoulli(0.5).
[1]4.2. A die has probability 1/6 of coming up 6 when rolled. Let X = 1 if the
die comes up 6, and X = 0 otherwise. What is the distribution of X?
Sol: The success probability is p = P(X = 1) = 1/6. Therefore X ∼ Bernoulli(1/6).
74
37
10/21/2019
75
Exercises
Q6. When a certain glaze is applied to a ceramic surface, the probability is 5% t
hat there will be discoloration, 20% that there will be a crack, and 23% that
there will be either discoloration or a crack, or both. Let X = 1 if there
is discoloration, and let X = 0 otherwise. Let Y = 1 if there is a crack, and let Y = 0
otherwise. Let Z = 1 if there is either discoloration or a crack, or both, and let Z =
0 otherwise.
a. Let pX denote the success probability for X. Find pX .
b. Let pY denote the success probability for Y. Find pY .
c. Let pZ denote the success probability for Z. Find pZ .
d. Is it possible for both X and Y to equal 1?
e. Does pZ = pX + pY?
f. Does Z = X + Y? Explain.
75
76
The Binomial Distribution
76
38
10/21/2019
77
Examples
77
78
78
39
10/21/2019
79
Data Analysis
79
80
80
40
10/21/2019
81
Examples
81
82
82
41
10/21/2019
83
83
84
10/21/2019
Data Analysis
84
42
10/21/2019
85
Poisson Distribution
Data Analysis
85
86
Poisson Distribution
Data Analysis
86
43
10/21/2019
87
Poisson Distribution
Data Analysis
87
88
Examples
[1]4.15. If X ∼ Poisson(3), compute P(X = 2), P(X = 10), P(X = 0), P(X = -1), and
P(X = 0.5).
Sol: Using the probability mass function (4.9), with λ = 3, we obtain
88
44
10/21/2019
89
Exercises
89
90
Reading
[1] 6
[2] 5
[3] 9, 10; [4] 9, 10; [5] 10
90
45