1 / 33

Chapter Five Joint Probability Distributions & Random Samples

Chapter Five Joint Probability Distributions & Random Samples. Joint Probability Mass Function For Discrete RV’s X & Y: p(x,y) = P(X=x and Y=y) For any set A consisting of pairs of (x, y) values: P[(X,Y)  A] =   p(x,y) (x,y)  A.

pecor
Télécharger la présentation

Chapter Five Joint Probability Distributions & Random Samples

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter FiveJoint ProbabilityDistributions & Random Samples

  2. Joint Probability Mass Function For Discrete RV’s X & Y:p(x,y) = P(X=x and Y=y)For any set A consisting of pairs of (x, y) values: P[(X,Y)  A] =   p(x,y)(x,y)  A

  3. Joint pmf ExampleIn an automobile plant two tasks are performed by robots. The first entails welding 2 joints; the second, tightening 3 bolts. RV X denotes the number of defective welds and RV Y the number of improperly tightened bolts produced per car. Past data indicates the following joint pmf for (X,Y). x/y 0 1 2 30 .840 .030 .020 .0101 .060 .010 .008 .0022 .010 .005 .004 .001Is this a valid pmf?What is the probability of exactly one error?

  4. Joint pmf ExampleYou’re working on a project at your local supermarket. Let RV X denote the number of customers in line at the express checkout at a particular time of day and let RV Y denote the number of customers in line at the super-express checkout at the same time. The joint pmf of X & Y follows: Y 0 1 2 3 X 0 .08 .07 .04 .00 1 .06 .15 .05 .04 2 .05 .04 .10 .06 3 .00 .03 .04 .07 4 .00 .01 .05 .06 What is the probability that there is exactly 1 customer in each line?What is the probability that the number of customers in the 2 lines are identical?What is the probability that the total number of customers in the 2 lines is exactly four?

  5. Joint pmf ExampleFind the joint pmf and joint CDF with the experiment of tossing 2 dice where RV X represents the number appearing on the up face of one black die and RV Y represents the number appearing on the up face of a red die.

  6. Joint Discrete pmf ExampleTwo students have just submitted reports on final projects. RV X denotes the number of typographical errors on the first student’s report and RV Y denotes the number of errors on the second report. Assume both X and Y are independent and both have a Poisson distribution with parameter  = 1.What is the joint pmf of X and Y? What is the probability that at most one error is made on both reports combined?

  7. Joint Probability Density FunctionFor Continuous RV’s X & Y with Joint pdf f(x,y):b dP(axb, cyd) =  f(x,y) dxdya c

  8. Joint pdf ExampleIn a healthy individual age 20 to 29 years, the calcium level in the blood, X, is usually between 8.5 and 10.5 milligrams per deciliter (mg/dl) and the cholesterol level, Y, is usually between 120 and 240 mg/dl. Assume that for a healthy individual in this age group the RV (X,Y) is uniformly distributed and the joint pdf for (X,Y) = k. What is the value of k for this to be a valid pdf?What is the probability that an individual’s calcium level will lie between 9 & 10 mg/dl, whereas the cholesterol level is between 125 &140 mg/dl?

  9. Example: Joint PDFBefore a polymer can be used to make products, it is usually necessary to mix it with added ingredients. Plasticizers are used to increase flexibility while antioxidants are used to protect against atmospheric oxidation. (Many polymers have sites on their molecular chains which are susceptible to attack by oxygen). A supplier of polymer-additives stocks both a plasticizer and an antioxidant. Let RV X denote the amount (tons) of plasticizer in stock and RV Y the amount (tons) of antioxidant in stock. The joint pdf of X and Y is f(x,y) = k*(x)*(y) for x ≥ 0 and y ≥ 0. Inventory is controlled by keeping the added amounts of both additives between 1 and 2 tons; therefore, 1 ≤ (x + y) ≤ 2 also. What is the value of k that makes this a valid joint pdf?

  10. Joint pdf ExampleIn the behavior of air support roofs, the RV X, the inside barometric pressure (inches of mercury), and RV Y, the outside pressure have a joint pdf as follows: f(X,Y) = c/x where 27yx33. What is the value for c? What is the probability that the inside pressure is at most 30 & the outside pressure is at most 28?

  11. Joint pdf Continuous ExampleThe joint pdf for the times to failure (in years) of two transistors is given by: f(X,Y) = 2e-(x+y) where  = 2.What is the probability that one will fail before 2 years and one will fail before 3 years?

  12. Marginal Probability Mass FunctionFor Discrete RV’s X & Y:px(x) =  p(x,y)ypy(y) =  p(x,y)x

  13. Joint Discrete pmf ExampleA restaurant serves 3 dinners costing 7, 9, & 10 dollars. For a randomly selected couple, let RV X denote the cost of the man’s dinner & RV Y denote the cost of the lady’s dinner. The joint pmf of X and Y follows:Y $7 $9 $10X $7 .05 .05 .10 $9 .05 .10 .35 $10 0 .20 .10What is the marginal pmf’s of X and Y?What is the probability that the man’s & his date’s dinner cost at most $9 each?Are RV X & RV Y independent?

  14. Marginal Probability Density FunctionFor Continuous RV’s X & Y:+ px(x) =  f(x,y) dy for -<x<-+ py(y) =  f(x,y) dx for -<y<-

  15. Marginal Continuous pdf ExampleLet RV X denote an individual’s blood calcium level and RV Y his or her blood cholesterol level. The joint pdf is f(X,Y) = 1/240 for 8.5  x  10.5 and 120  y  240.What are the marginal pdf’s for X &Y?What is the probability that a healthy individual has a cholesterol level between 150 and 200?

  16. Marginal pdf ExampleThe joint pdf of RV’s X and Y is as follows: f(x,y) = axy for 1  x  3, 2  y  4 and 0 elsewhere.What is the value of a?What is the marginal pdf of X?What is the marginal CDF of Y?

  17. Marginal pdf ExampleThe joint pdf of RV’s X and Y is as follows: f(x,y) = a(x+y) for 0  x  1, 0  y  2 and 0 elsewhere.What is the value of a?What is the marginal pdf of Y?What is the CDF of X,Y?

  18. Expected Values of Jointly Distributed RV’sFor Discrete X and Y:E[h(X,Y)] =   h(x,y) p(x,y)x yFor Continuous X and Y:+ + E[h(X,Y)] =   h(x,y)f(x,y)dxdy- -With Joint Distributions pmf p(x,y) or pdf f(x,y).

  19. Example Expected Value Joint pmfYou continue work on your supermarket project. What is the expected difference between the number of customers in line at the express checkout and the number in line at the super-express checkout?

  20. Expected Joint ExampleIn an automobile plant two tasks are performed by robots. The first entails welding 2 joints; the second, tightening 3 bolts. RV X denotes the number of defective welds and RV Y the number of improperly tightened bolts produced per car. Past data indicates the following joint pmf for (X,Y). x/y 0 1 2 3 | fx(x) 0 .840 .030 .020 .010 | .9001 .060 .010 .008 .002 | .0802 .010 .005 .004 .001 | .020fy(y) .910 .045 .032 .013 | 1.00 What is the expected number mistakes?

  21. Joint Expected Value ExampleRV X and Y have joint pdf:f(x,y) = 2y for 0  x  1 0  y  1 0 elsewhereWhat is the E(XY) value of the joint pdf?

  22. Joint Expected Value ExampleFor design of air support roofs, it is important to know the expected lift pressure (inches of mercury) of your system. For the system where the joint pdf was f(X,Y) = c/x where 27yx33, find the expected lift pressure.(c = 0.15)

  23. Example Joint Expected ValueYou have agreed to meet your date for dinner between 6 & 7 at the local Red Lobster. Your arrival time, independent of your date’s arrival time, is f(x) = 3x2. Your date’s arrival time is f(y) = 2y. What is the expected amount of time that the one who arrives first must wait for the other person?

  24. CovarianceCov(X,Y) = E[(X-ux)(Y-uy)]Discrete Case:  (x – ux)(y – uy) p(x,y)X YContinuous Case:+  (x – ux)(y – uy) f(x,y) dxdy -

  25. Covariance Short Cut MethodCov(X,Y) = E(XY) - uxuy

  26. Covariance ExampleIn an automobile plant two tasks are performed by robots. The first entails welding 2 joints; the second, tightening 3 bolts. RV X denotes the number of defective welds and RV Y the number of improperly tightened bolts produced per car. Past data indicates the following joint pmf for (X,Y). x/y 0 1 2 3 | fx(x) 0 .840 .030 .020 .010 | .9001 .060 .010 .008 .002 | .0802 .010 .005 .004 .001 | .020fy(y) .910 .045 .032 .013 | 1.00 What is the Covariance between X and Y?

  27. Covariance ExampleRV’s X and Y have joint pdf:f(x,y) = 2x for 0  x  1 for 0  y  1 0 elsewhereWhat is the Covariance of RV’sX & Y?

  28. Correlation CoefficientCorr(X,Y) = Cov(X,Y)x yProperties: -1  Corr(X,Y)  +1 For any two RV’s X and Y: Corr(aX+b, cY+d) = Corr(X,Y)

  29. Covariance & Correlation ExampleRV’s X and Y have joint pmf:p(x,y) = ¼for (x,y) = (- 4,1),(4,-1),(2,2),(-2,-2) 0 elsewhereWhat is the Covariance and Correlation Coefficient for X, Y?

  30. Covariance & Correlation ExampleA maker of lawnmowers found the following joint pmf for RV X (the months of warranty) and RV Y (the engine horsepower) for lawnmowers customers were buying: Y > 3 4 5 X 2 .20 .10 .20 3 .05 .15 .30What is the Covariance & Correlation between X and Y?

  31. Correlation ExampleContinuous RV’s X and Y have the following values:E(X) = 4 E(Y) = -1E(X2) = 41 E(Y2) = 10 E(XY) = 6Find the Correlation Coefficient for X and Y?Are X and Y independent?

  32. Correlation ExampleThe joint pdf for (X,Y) is given by:f(x,y) = x3y3 /16 0  x  20  y  2What is the correlation between RV’s X and Y?

More Related