Monash Data Science Students & Lift Stops: A Probability Exploration
(a) The sample space for this random process is the set of all possible combinations of levels that each student could exit the lift at. Since each student can exit at any of the five levels, the sample space consists of all possible sequences of five levels, with each level represented by a number from 1 to 5.
(b) The probability that the lift stops at a fixed level i is 1/5, since each student has an equal probability of exiting at any level. Therefore, the random variable Xi follows a Bernoulli distribution with p = 1/5. The expected value of a Bernoulli random variable is given by E(Xi) = p, so in this case, EXi = 1/5.
(c) The total number of lift stops, Z, can be expressed as the sum of the random variables Xi for each level i. Therefore, Z = X1 + X2 + X3 + X4 + X5. Using the linearity of expectation, we can find EZ as the sum of the expected values of each Xi. Therefore, EZ = EX1 + EX2 + EX3 + EX4 + EX5 = 5 * (1/5) = 1.
(d) The probability that the lift stops at both levels i and j is equal to the probability that both Xi and Xj are equal to 1. Since Xi and Xj are independent Bernoulli random variables with p = 1/5, the probability that both are equal to 1 is (1/5) * (1/5) = 1/25. Therefore, the random variable EXi,Xj = 1/25.
(e) The variables Yi and X2 are not independent. This is because the probability of Yi depends on the outcome of X2. If X2 = 0, then Yi must also be 0, since it is not possible for the lift to stop at level i if it does not stop at level 2.
(f) Using the formula EZ = ΣΣEXi,Xj, we need to compute the sum of the expected values EXi,Xj for all pairs (i,j). Since there are 5 levels, there are 5 * 5 = 25 possible pairs. However, since Xi,Xj = Xj,Xi, we only need to consider each pair once, which gives us 25/2 = 12.5 pairs. Therefore, EZ = 12.5 * (1/25) = 1/2.
The variance of Z can be calculated using the formula Var(Z) = E(Z^2) - (E(Z))^2. Since EZ = 1, we need to calculate E(Z^2). Using the formula E(Z^2) = ΣΣ(EXi,Xj)^2, we can compute the sum of the squared expected values (EXi,Xj)^2 for all pairs (i,j). This gives us 12.5 * (1/25)^2 = 1/50. Therefore, Var(Z) = E(Z^2) - (E(Z))^2 = 1/50 - (1/2)^2 = 1/50 - 1/4 = 1/50 - 12/50 = -11/50.
(g) The distribution of Z can be calculated by finding the probabilities of events Z = i for each i = 1, 2, 3, 4, 5. Since each student can exit at any level uniformly at random, the probability that Z = i is equal to the probability that exactly i students exit at level i and the remaining 5 - i students exit at any of the other levels. This can be calculated using the binomial coefficient. For example, the probability that Z = 1 is equal to (4 choose 1) * (1/5)^1 * (4/5)^3 = 4 * 1/5 * 64/125 = 256/625.
To compute EZ directly by the definition of expectation, we need to calculate the sum of the products of each possible value of Z and its corresponding probability. This gives us EZ = 1 * (256/625) + 2 * (256/625) + 3 * (256/625) + 4 * (256/625) + 5 * (256/625) = 1280/625 = 2.048.
To compute EZ2 directly by the definition of expectation, we need to calculate the sum of the products of each possible value of Z^2 and its corresponding probability. This gives us EZ2 = 1^2 * (256/625) + 2^2 * (256/625) + 3^2 * (256/625) + 4^2 * (256/625) + 5^2 * (256/625) = 5632/625 = 9.0112.
原文地址: https://www.cveoy.top/t/topic/qiNi 著作权归作者所有。请勿转载和采集!