ch5 Covariance 0
ch5 Covariance 0
Probability
5 Distributions and
Random Samples
2
Covariance
When two random variables X and Y are not independent,
it is frequently of interest to assess how strongly they are
related to one another.
X, Y discrete
X, Y continuous
3
Covariance
If both variables tend to deviate in the same direction (both
go above their means or below their means at the same
time), then the covariance will be positive. If the opposite is
true, the covariance will be negative.
4
Covariance shortcut
The following shortcut formula for Cov(X, Y) simplifies the
computations.
Proposition
Cov(X, Y) = E(XY) – µX µY
(a) positive covariance;; (b) negative covariance;; (c) covariance near zero
Figure 5.4 6
Example 1
An insurance agency services customers who have both a
homeowner’s policy and an automobile policy. For each
type of policy, a deductible amount must be specified.
For an automobile policy, the choices are $100 and $250,
whereas for a homeowner’s policy, the choices are $0,
$100, and $200.
Suppose the joint pmf is given by the insurance company in
the accompanying joint probability table:
8
Correlation
9
Correlation
Definition
The correlation coefficient of X and Y, denoted by
Corr(X, Y), ρX,Y, or just ρ, is defined by
11
Correlation
Propositions
12
Correlation
If X and Y are independent, then ρ = 0, but ρ = 0 does
not imply independence.
13
Correlation
Also, ρ = 0 does not imply that X and Y are independent,
but only that there is a complete absence of a linear
relationship.
14
Interpreting Correlation
xkcd.com/552/
15