<< Chapter < Page | Chapter >> Page > |
(See Exercise 19 from "Problems on Distribution and Density Functions"). The number of noise pulses arriving on a power circuit in an hour is a randomquantity having Poisson (7) distribution. What is the expected number of pulses in an hour?
Poisson (7). .
(See Exercise 24 and Exercise 25 from "Problems on Distribution and Density Functions"). The total operating time for the units in Exercise 24 is a random variable gamma (20, 0.0002). What is the expected operating time?
gamma (20, 0.0002). .
(See Exercise 41 from "Problems on Distribution and Density Functions"). Random variable X has density function
What is the expected value ?
Truncated exponential. Suppose exponential and .
tappr
Enter matrix [a b]of x-range endpoints [0 1000]
Enter number of x approximation points 10000Enter density as a function of t (1/50)*exp(-t/50)
Use row matrices X and PX as in the simple caseG = X.*(X<=30) + 30*(X>30);
EZ = G8PX'EZ = 22.5594
ez = 50*(1 - exp(-30/50)) % Theoretical valueez = 22.5594
(See Exercise 1 from "Problems On Random Vectors and Joint Distributions", m-file npr08_01.m ). Two cards are selected at random, without replacement, from a standarddeck. Let X be the number of aces and Y be the number of spades. Under the usual assumptions, determine the joint distribution. Determine , , , , and .
npr08_01 Data in Pn, P, X, Y
jcalcEnter JOINT PROBABILITIES (as on the plane) P
Enter row matrix of VALUES of X XEnter row matrix of VALUES of Y Y
Use array operations on matrices X, Y, PX, PY, t, u, and PEX = X*PX'
EX = 0.1538ex = total(t.*P) % Alternateex = 0.1538
EY = Y*PY'EY = 0.5000
EX2 = (X.^2)*PX'EX2 = 0.1629
EY2 = (Y.^2)*PY'EY2 = 0.6176
EXY = total(t.*u.*P)EXY = 0.0769
(See Exercise 2 from "Problems On Random Vectors and Joint Distributions", m-file npr08_02.m ). Two positions for campus jobs are open. Two sophomores, three juniors,and three seniors apply. It is decided to select two at random (each possible pair equally likely). Let X be the number of sophomores and Y be the number of juniors who are selected. Determine the joint distribution for and , , , , and .
npr08_02 Data are in X, Y,Pn, P
jcalc- - - - - - - - - - - -
EX = X*PX'EX = 0.5000
EY = Y*PY'EY = 0.7500
EX2 = (X.^2)*PX'EX2 = 0.5714
EY2 = (Y.^2)*PY'EY2 = 0.9643
EXY = total(t.*u.*P)EXY = 0.2143
(See Exercise 3 from "Problems On Random Vectors and Joint Distributions", m-file npr08_03.m ). A die is rolled. Let X be the number of spots that turn up.A coin is flipped X times. Let Y be the number of heads that turn up. Determine the joint distribution for the pair . Assume for and for each k , has the binomial distribution. Arrange the joint matrix as on the plane, with values of Y increasing upward. Determine the expected value .
npr08_03 Answers are in X, Y, P, PY
jcalc- - - - - - - - - - - -
EX = X*PX'EX = 3.5000
EY = Y*PY'EY = 1.7500
EX2 = (X.^2)*PX'EX2 = 15.1667
EY2 = (Y.^2)*PY'EY2 = 4.6667
EXY = total(t.*u.*P)EXY = 7.5833
Notification Switch
Would you like to follow the 'Applied probability' conversation and receive update notifications?