Quality-control checks on wood paneling involve counting the number of surface flaws on each panel. On a given 2 × 8 ft panel, let X be the number of surface flaws due to uneven application of the final coat of finishing material, and let Y be the number of surface flaws due to inclusions of foreign particles in the finish. The joint probability mass function p(x,y) of X and Y is presented in the following table. The marginal probability mass functions are presented as well, in the margins of the table. Find the covariance of X and Y
|
y
|
|
|
x
|
0
|
1
|
2
|
|
pX (x)
|
0
|
0.05
|
0.10
|
0.20
|
0.35
|
1
|
0.05
|
0.15
|
0.05
|
0.25
|
2
|
0.25
|
0.10
|
0.05
|
0.40
|
pY(y)
|
0.35
|
0.35
|
0.30
|
|