Joint Probability 4
Joint Probability 4
Joint Probability 4
Distributions
Outlines
Two Discrete/Continuous Random Variables
Joint Probability Distributions
Independence
E (Y | 1) yfY |1 ( y )
y
Independence
Multinomial Probability
Distribution
A joint probability distribution for multiple
discrete random variables that is quite useful in
an extension of the binomial.
Multinomial Probability
Distribution
Example: Of the 20 bits received, what is the probability
that 14 are Excellent, 3 are Good, 2 are Fair, and 1 is Poor?
Assume that the classifications of individual bits are
independent events and that the probabilities of E, G, F,
and P are 0.6, 0.3, 0.08, and 0.02, respectively.
Determine P(Y>2000|x=1500)
Conditional Probability
Distributions
Mean and Variance
Conditional Probability
Distributions
Example: For the random variables in the previous
example, determine the conditional mean for Y given that
x=1500
Independence
Independence
Example: Let the random variables X and Y denote the lengths of
two dimensions of a machined part, respectively.
Assume that X and Y are independent random variables, and the
distribution of X is normal with mean 10.5 mm and variance
0.0025 (mm)2 and that the distribution of Y is normal with mean
3.2 mm and variance 0.0036 (mm)2.
Determine the probability that 10.4 < X < 10.6 and 3.15 < Y <
3.25.
Because X,Y are independent
Multiple Continuous Random
Variables
Multiple Continuous Random
Variables
Marginal Probability
Multiple Continuous Random
Variables
Mean and Variance
Independence
Covariance and Correlation
When two or more random variables are
defined on a probability space, it is
useful to describe how they vary
together.
It is useful to measure the relationship
between the variables.
Covariance
Covariance is a measure of linear relationship
between the random variables.
Now
X yf XY ( x , y ) dxdy X
yf XY ( x , y ) dxdy
(2)
From E (h( y )) h( y ) f XY ( x, y )dxdy
For h( y ) y; E ( y ) yf XY ( x, y )dxdy Y
Substitute in (2),
X yf XY ( x, y )dxdy X Y , and x
y f XY ( x, y )dxdy X Y
Substitute in (1), E[(Y Y )( X X )] xyf XY ( x, y )dxdy X Y X Y X Y
xyf XY ( x, y )dxdy X Y E ( XY ) X Y
Covariance
Covariance
Example: For the discrete random variables X, Y with the
XY and
joint distribution shown in
Fig.
XY Determine
Correlation
The correlation is a measure of the linear
relationship between random variables.
Easier to interpret than the covariance.
Correlation
For independent random variables
Correlation
1
Example: Two random variables
f XY ( x , y ) , calculate
xy
16
the covariance and correlation between X and Y.
Bivariate Normal
Distribution
Correlation
Bivariate Normal
Distribution
Marginal distributions
Dependence
Bivariate Normal
Distribution
Conditional probability
Y Y
Y | x Y X x
X X
Y2| x Y2 (1 2 )
Bivariate Normal
Distribution
Ex. Suppose that the X and Y dimensions of an injection-modeled
xnormal
part have a bivariate 0.04, ydistribution
0.08, x 3.00, y 7.70, 0.8
with
Find the P(2.95<X<3.05,7.60<Y<7.80)
Bivariate Normal
Distribution
Ex. Let X, Y : milliliters of acid and base needed for
equivalence, respectively. Assume X and Y have a bivariate
normal distribution with
x 5, y 2, x 120, y 100, 0.6
Let X1, X2, X3, and X be random variables that denote the
thickness of the respective layers, and the final product.
V(X)=V(X1)+V(X2)+V(X3)=25+40+30=95 nm2
Homework
1. The time between surface finish problems in a galvanizing
process is exponentially distributed with a mean of 40 hours. A
single plant operates three galvanizing lines that are assumed to
operate independently.
a) What is the probability that none of the lines experience a surface finish
problem in 40 hours of operation?
b) What is the probability that all three lines experience two surface finish
problems between 20 and 40 hours after starting the operation?
2. Suppose X and Y have a bivariate normal distribution with
x 0.04, y 0.08, x 3.00, y 7.70, 0.
Determine the
following:
a) P(2.95<X<3.05)
b) P(7.60<Y<7.80)
c) P(2.95<X<3.05,7.60<Y<7.80)