Partial preview of the text
Download Multivariate Probability Distributions Multivariate Probability Distributions and more Exams Probability and Statistics in PDF only on Docsity!
5.1 CHAPTER 5 Multivariate Probability Distributions 5.1 Introduction 5.2 Bivariate and Multivariate Probability Distributions 5.3 Marginal and Conditional Probability Distributions 5.4 Independent Random Variables 5.5 The Expected Value of a Function of Random Variables 5.6 Special Theorems 5.7 The Covariance of Two Random Variables 5.8 The Expected Value and Variance of Linear Functions of Random Variables 5.9 The Multinomial Probability Distribution 5.10 The Bivariate Normal Distribution (Optional) 5.11 Conditional Expectations 5.12 Summary References and Further Readings Introduction The intersection of two or more events is frequently of interest to an experimenter. For example, a gambler playing blackjack is interested in the event of drawing both an ace and a face card from a 52-card deck. A biologist, observing the number of animals surviving in a litter, is concerned about the intersection of these events: A: The litter contains n animals. B: y animals survive. Similarly, observing both the height and the weight of an individual represents the intersection of a specific pair of events associated with height—weight measurements. 223 224 Chapter5 Multivariate Probability Distributions 5.2 Most important to statisticians are intersections that occur in the course of sam- pling. Suppose that Y), ¥2,..., Y, denote the outcomes of successive trials of an experiment. For example, this sequence could represent the weights of n people or the measurements of n physical characteristics for a single person. A specific set of outcomes, or sample measurements, may be expressed in terms of the intersection of the n events (Y; = y,). (Yo = y2),.... (Yn = Yn), which we will denote as (¥; = 1, Yo = yo,..., Yn = yn), or, more compactly, as (1, y2,..., Yn). Calculation of the probability of this intersection is essential in making inferences about the population from which the sample was drawn and is a major reason for studying multivariate probability distributions. Bivariate and Multivariate Probability Distributions Many random variables can be defined over the same sample space. For example, consider the experiment of tossing a pair of dice. The sample space contains 36 sample points, corresponding to the mn = (6)(6) = 36 ways in which numbers may appear on the faces of the dice. Any one of the following random variables could be defined over the sample space and might be of interest to the experimenter: Y|: The number of dots appearing on die 1. Yj: The number of dots appearing on die 2. Y;: The sum of the number of dots on the dice. Y4: The product of the number of dots appearing on the dice. The 36 sample points associated with the experiment are equiprobable and corre- spond to the 36 numerical events (y;. y2). Thus, throwing a pair of 1s is the simple event (1, 1). Throwing a2 on die | and a3 on die 2 is the simple event (2, 3). Because all pairs (y), y2) occur with the same relative frequency, we assign probability 1/36 to each sample point. For this simple example, the intersection (y;, y2) contains at most one sample point. Hence, the bivariate probability function is Py. 2) = POY = yi. Yo = y2) = 1/36, = yn = 1,2, ..., 6, y2 = 1,2,..., 6. A graph of the bivariate probability function for the die-tossing experiment is shown in Figure 5.1. Notice that a nonzero probability is assigned to a point (y), y2) in the plane if and only if y,) = 1, 2,..., 6 and y) = 1, 2,..., 6. Thus, exactly 36 points in the plane are assigned nonzero probabilities. Further, the probabilities are assigned in such a way that the sum of the nonzero probabilitics is equal to 1. In Figure 5.1 the points assigned nonzero probabilities are represented in the (y), y2) plane, whereas the probabilities associated with these points are given by the lengths of the lines above them. Figure 5.1 may be viewed as a theoretical, three-dimensional relative frequency histogram for the pairs of observations (y1, y2). As in the single- variable discrete case, the theoretical histogram provides a model for the sample histogram that would be obtained if the die-tossing experiment were repeated a large number of times. 226 Chapter5 Multivariate Probability Distributions straightforward. For the die-tossing experiment, P(2 < Y; < 3,1 < Y2 < 2) is P(2 = 0) and hence P(¥; = 2, Yo = 0) = 1/9. Similarly, P(Y) = 1.% =D) = P({1, 2} or {2, 1}) = 2/9. Table 5.1 contains the probabilitics associated with each possible pair of values for Y; and Y,—that is, the joint probability function for Y; and ¥;. As always, the results of Theorem 5.1 hold for this example. Table 5.1 Probability function for Y; and Y3, Example 5.1 Yi y 0 1 2 0 1/9 29 1/9 1 2/9 29 0 2 1/9 0 0 P| DEFINITION 5.2 As in the case of univariate random variables, the distinction between jointly discrete and jointly continuous random variables may be characterized in terms of their (joint) distribution functions. For any random variables Y; and Yo, the joint (bivariate) distribution function F(y1, y2) is F(y1,¥2) =P S.¥2 52), 00 < yy < 00, -00 < yy < O80. 5.2 Bivariate and Multivariate Probability Distributions 227 For two discrete variables Y; and Y>, F(y1. ya) is given by Fond = > DS pti). hy sy For the die-tossing experiment, F(2, 3) = P(Y <2, ¥%2 <3) pl, 1) + pC, 2) + pC, 3) + p@, 1) + p@, 2) + p@, 3). Because p(y1, y2) = 1/36 for all pairs of values of y; and y2 under consideration, F(2, 3) = 6/36 = 1/6. EXAMPLE 5.2 Solution Consider the random variables Y; and Y> of Example 5.1. Find F(—1, 2), F(1.5, 2), and F(5, 7). Using the results in Table 5.1, we see that F(-1, 2)=P(% <—1,%) <2) = P@)=0. Further, F(.5, 2) = P(% < 1.5, ¥s < 2) = pO, 0) + p@, 1) + pO, 2) + pd, 0) + pd, 1) + pd, 2) = 8/9. Similarly, F(5, 7) = P(Y) <5, ¥2 <7) =1. Notice that F (91, y2) = 1 forall y;, y2 such that min{y;. y2} > 2. Also, F(y1, y2) =0 if min{y;, y2) < 0. |_| DEFINITION 5.3 Two random variables are said to be jointly continuous if their joint distribution function F(y;, y2) is continuous in both arguments. Let Y; and Y; be continuous random variables with joint distribution function F(yi, y2). If there exists a nonnegative function f(y1, 2), such that Yi ¥2 Foi) = f | f(t, 2) dt dt, =00 J 00 for all —oo < yy < 06, —00 < yy < 00, then Yj and Y> are said to be jointly continuous random variables. The function f(y,, y2) is called the joint prob- ability density function. Bivariate cumulative distribution functions satisfy a set of properties similar to those specified for univariate cumulative distribution functions. 5.2 Bivariate and Multivariate Probability Distributions 229 Volumes under this surface correspond to probabilities. Thus, P(a, < Y; < am, by Y2 < b2) is the shaded volume shown in Figure 5.2 and is equal to Dy a> i { f(y. y2) dy, dy. by Ja IA EXAMPLE 5.3 Solution FIGURE 5.3 Geometric representation of f(y, yo), Example 5.3 Suppose that a radioactive particle is randomly located in a square with sides of unit length. That is, if two regions within the unit square and of equal area are considered, the particle is equally likely to be in either region. Let Y; and Y2 denote the coordinates of the particle’s location. A reasonable model for the relative frequency histogram for Y, and Y, is the bivariate analogue of the univariate uniform density function: ; 1, O is given by ' 3m, OS psu .25). For any continuous random variable, the probability of observing a value in a region is the volume under the density function above the region of interest. The density function f(y), y2) is positive only in the 232 Chapter 5 5. wu 5. uw Multivariate Probability Distributions Ma | 3 distributions of the populations of joint observations (), y2,.... ¥,) for the discrete case and the continuous case, respectively. In the continuous case, PY) <1. ¥2 S y2,---. Yn S Yn) = FO, ---5 Yn) yopy i -|/ | f f(t, 8,225 tr)dty ...dty =e Jano doo for every set of real numbers (y), y2, .... ¥n). Multivariate distribution functions de- fined by this equality satisfy properties similar to those specified for the bivariate case. Exercises Contracts for two construction jobs are randomly assigned to one or more of three firms, A, B, and C. Let Y; denote the number of contracts assigned to firm A and ¥; the number of contracts assigned to firm B. Recall that each firm can receive 0, 1, or 2 contracts. a. Find the joint probability function for ¥; and Ys. b Find F(1, 0). Three balanced coins are tossed independently. One of the variables of interest is Y,, the number of heads. Let Y, denote the amount of money won on a side bet in the following manner. If the first head occurs on the first toss, you win $1. If the first head occurs on toss 2 or on toss 3 you win $2 or $3, respectively. Ino heads appear, you lose $1 (that is, win —$1). a_ Find the joint probability function for Y, and Y3. b What is the probability that fewer than three heads will occur and you will win $1 or less? [That is, find F (2, 1).] Of nine executives in a business firm, four are married, three have never married, and two are divorced. Three of the executives are to be selected for promotion. Let ¥; denote the number of married executives and Y, denote the number of never-married executives among the three selected for promotion. Assuming that the three are randomly selected from the nine available, find the joint probability function of Y; and Y3. Given here is the joint probability function associated with data obtained in a study of auto- mobile accidents in which a child (under age 5 years) was in the car and at least one fatality occurred. Specifically, the study focused on whether or not the child survived and what type of seatbelt (if any) he or she used. Define 0, if the child survived, | eee Y= and ¥,;= 41, if adult belt used, 1, if not, 2, if car-scat bell used. Notice that Y; is the number of fatalities per child and, since children’s car scats usually utilize two belts, Y2 is the number of seatbelts in use at the time of the accident. y1 yp 0 1 Total 0 ab le yous 1 14.02 16 2 24.05 29 Total .76 241.00 wa u 5.6 5.7 5.8 wa wo 5.10 Exercises 233 a Verify that the preceding probability function satisfies Theorem 5.1. b Find F(1, 2). What is the interpretation of this value? Refer to Example 5.4. The joint density of ¥,, the proportion of the capacity of the tank that is stocked at the beginning of the week, and Y>, the proportion of the capacity sold during the week, is given by 3y, USaSn fOn yo) = 0, elsewhere. a Find F(1/2, 1/3) = P(¥, < 1/2, % < 1/3). b Find P(¥; < ¥,/2), the probability that the amount sold is less than half the amount purchased. Refer to Example 5.3. Lf a radioactive particle is randomly located in a square of unit length, a reasonable model for the joint density function for Y, and Y> is 1, four =| 0, elsewhere. a Whatis P(Y, — ¥2 > .5)? b What is P(Y,Y; < .5)? Let ¥; and Y> have joint density function ; eH), yy > 0, yo > f(y. yn) = 0, elsewhere. a Whatis P(Y; < 1, ¥2 > 5)? b = Whatis P(Y; + ¥; <3)? Let ¥; and Y> have the joint probability density function given by ky, OSM 51051, FOL 2) = | 0, elsewhere. a Find the value of k that makes this a probability density function. b Find the joint distribution function for Y, and Y>. c Find P(Y; < 1/2, ¥) < 3/4). Let ¥; and ¥2 have the joint probability density function given by Fy: 7 | 0, elsewhere. a Find the value of & that makes this a probability density function. b Find P(Y, < 3/4, ¥2 = 1/2). An environmental engincer measures the amount (by weight) of particulate pollution in air samples of a certain volume collected over two smokestacks at a coal-operated power plant. One of the stacks is equipped with a cleaning device. Let Y; denote the amount of pollutant per sample collected above the stack that has no cleaning device and let Y> denote the amount of pollutant per sample collected above the stack that is equipped with the cleaning device. 5.15 5.16 5.17 5.18 5.3 5.3 Marginal and Conditional Probability Distributions 235 The management at a fast-food outlet is interested in the joint behavior of the random variables Y;, defined as the total time between a custom arrival at the store and departure from the service window, and Y2, the time a customer waits in line before reaching the service window. Because Y, includes the time a customer waits in line, we must have ¥; > Y>2. The relative frequency distribution of observed values of ¥; and ¥; can be modeled by the probability density function e »y2)= PO 92) 0, elsewhere with time measured in minutes. Find a P(¥, <2,¥% > 1). b P(¥, > 2¥2). c P(¥; — Y; > 1). (Notice that Y, — Y, denotes the time spent at the service window.) Let ¥; and ¥> denote the proportions of time (out of one workday) during which employees T and II, respectively, perform their assigned tasks. The joint relative frequency behavior of Y, and > is modeled by the density function vty, O 1/4). b Find P(Y, + ¥2 < 1). Let (%1, ¥2) denote the coordinates of a point chosen at random inside a unit circle whose center is at the origin. That is, ¥; and Y2 have a joint density function given by Lo, foumiad x t=) 0, elsewhere. Find P(¥; < ¥s). An electronic system has one each of two different types of components in joint operation. Let Y, and Y2 denote the random lengths of life of the components of type | and type IL, respectively. The joint density function is given by (1/8)yye7 O12, > 0, LOD) = clsewhere. (Measurements are in hundreds of hours.) Find P(Y; > 1, ¥2 > 1). Marginal and Conditional Probability Distributions Recall that the distinct values assumed by a discrete random variable represent mu- tually exclusive events. Similarly, for all distinct pairs of values y1, y2, the bivariate events (Y| = y,, Y2 = yo), represented by (y,, 2), are mutually exclusive events. It follows that the univariate event (Y; = y;) is the union of bivariate events of the type (Y¥, = y,, ¥2 = yo), with the union being taken over all possible values for yo. 236 Chapter5 Multivariate Probability Distributions For example, reconsider the die-tossing experiment of Section 5.2, where Y, = number of dots on the upper face of die 1, Y2 = number of dots on the upper face of die 2. Then Pi =D=pd, D+ pd, 2+ pd. +--+ pl, © = 1/36 + 1/36 + 1/36 +++» + 1/36 = 6/36 = 1/6 P(Y, =2) = p(2, 1) + p2, 2) + p2, 3)+-+-+ pQ, 6) = 1/6 P(¥, = 6) = p(6, 1) + p, 2)+ p. 3)+---+ p, 6) = 1/6. Expressed in summation notation, probabilities about the variable Y, alone are 6 PY) =) = pid) = YO pr y)- y= Similarly, probabilities corresponding to values of the variable Y) alone are given by 6 = P(Y1, Y2)- ysl P2(y2) = PY = Summation in the discrete case corresponds to integration in the continuous case, which leads us to the following definition. DEFINITION 5.4 a Let ¥; and ¥, be jointly discrete random variables with probability function p(v1, y2). Then the marginal probability functions of Y, and Y>, respectively, are given by Pili) = > pO. ys) and pa(y2) = YO pO. ¥2). all yz ally, b Let Y; and Y2 be jointly continuous random variables with joint density function fQ1. y2). Then the marginal density functions of Y, and Y, respectively, are given by fhov= f FO, y2) yy and f2(y2) -f f (1, ¥2) dy. The term marginal, as applied to the univariate probability functions of Y; and Y2, has intuitive meaning. To find p;(y,), we sum p(y, y2) over all values of yo and hence accumulate the probabilities on the y; axis (or margin). The discrete and continuous cases are illustrated in the following two examples. 238 Chapter5 Multivariate Probability Distributions FIGURE 5.6 PO. 5) Geometric representation 2 of Fy, ya), Fxample 5.6 i 1 0 yy V2 would be a triangular probability density that would look like the side of the wedge in Figure 5.6. If the probability were accumulated along the y axis (accumulating along lines parallel to the y; axis), the resulting density would be uniform. We will confirm these visual solutions by applying Definition 5.4. Then, if0 < y; < 1, oc 1 " SiO) = { FOr. ¥2) dyy -f{ 2y1 dy) = 2y, (»]}) and ify, 1, 00 1 fon= f formar = | Ody, = 0. 90 0 Thus, ay, OSS], 0, elsewhere. nov={ Similarly, if 0 < y2 < 1, 1 co 1 7 Aya) = { S (yi. ¥2) dy, -{ 2y, dy, = x] =1 Jc 0 0 and if y. < Oor y; > 1, 0 1 for) =f Fy, ya) dy, -|/ Ody, = 0. 5 0 og Summarizing, 1, O is P(% = yi, Ya = y2) _ POY. 2) Ais) = PO = lke = = “ P(yily2) = PO = yil¥2 = y2) POs = yn) nO) provided that p3(y2) > 0. Thus, P(Y, = 2|¥2 = 3) is the conditional probability that ¥; = 2 given that ¥; = 3. A similar interpretation can be attached to the conditional probability p(y2|y1). Note that p(yi|y2) is undefined if p2(y2) = 0. EXAMPLE 5.7 Solution Refer to Example 5.5 and find the conditional distribution of ¥, given that Y, = 1. That is, given that one of the two people on the committee is a Democrat, find the conditional distribution for the number of Republicans selected for the committee. The joint probabilities are given in Table 5.2. To find p(y,|Y2 = 1), we concentrate on the row corresponding to Y, = 1. Then pO, _ 2/15 _ 1 pol) 8/154 pd, 1) 6/15 3 pd) 8/15 4’ P(Y, =0|%) =1) = PY =1h=)= and pe, I) OF pl) 8/15 P(Y, 22%, =1)= In the randomly selected committee, if one person is a Democrat (equivalently, if Y2 = 1), there is a high probability that the other will be a Republican (equivalently, = 1). DEFINITION 5,7 5.3. Marginal and Conditional Probability Distributions 241 Let ¥, and ¥2 be jointly continuous random variables with joint density f (v1, y2) and marginal densities f\(y,) and f(y2), respectively. For any y2 such that f2(2) > 0, the conditional density of Y; given Y2 = y2 is given by Fn ya) Sr(y2) and, for any y, such that f|(;) > 0, the conditional density of Y2 given Yj = y; is given by FOrly2) = fOu ye) fOrly) = AGN Note that the conditional density f(y;|y2) is undefined for all y2 such that fo(y2) = 0. Similarly, f(y2|y:) is undefined if y; is such that f,(y1) = 0. EXAMPLE 5.8 Solution A soft-drink machine has a random amount Y3 in supply at the beginning of a given day and dispenses a random amount Y, during the day (with measurements in gallons). It is not resupplied during the day, and hence Y; < Y>. It has been observed that Y; and Y> have a joint density given by : 1/2, 0 0 if and only if 0 < y) < 2. Thus, for any 0 < y2 < 2, using Definition 5.7, FOr y2) _ 1/2 _ I 0 2. The probability of interest is f(yily) = 1/2 172 q fOrly2 = 1.5) dy, =f J wy a2 oT 0 ‘4 f2 =15)= PY < 1/2|¥2 = 1.5) [ 13% 1373 Oo 242 Chapter5 = Multivariate Probability Distributions Tf the machine contains 2 gallons at the start of the day, then 24 1 P(¥, <1/2|¥2 = 2) -{ 5 =F Thus, the conditional probability that ¥; < 1/2 given Y2 = y2 changes appreciably depending on the particular choice of yo. | 5.20 5.21 5.22 Exercises In Exercise 5.1, we determined that the joint distribution of ¥;, the number of contracts awarded to firm A, and Y, the number of contracts awarded to firm B, is given by the entries in the following table. yi yy O 1 2 0 19 29 1/9 1 2/9 2/9 0 2 19 0 0 a_ Find the marginal probability distribution of Y;. b According to results in Chapter 4, ¥; has a binomial distribution with n = 2 and p = 1/3. Is there any conflict between this result and the answer you provided in part (a)? Refer to Exercise 5.2. a_ Derive the marginal probability distribution for your winnings on the side bet. b Whatis the probability that you obtained three heads, given that you won $1 on the side bet? In Exercise 5.3, we determined that the joint probability distribution of Y;, the number of married executives, and Y>, the number of never-married executives, is given by | () where y; and yp are integers, 0 < y) < 3,0 <1 <3.and1