



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




μX = E [X] =
all k
k · pX (k).
The expected value of a continuous random variable Y with pdf fY (y) is given by
μY = E [Y ] =
−∞
y · fY (y)dy.
(b) The variance of any random variable W is given by
σ^2 = Var (W ) = E
(c) The standard deviation of any random variable W is given by
σ =
Var (W ).
(d) The joint pdf of 2 discrete random variables X and Y is the function pX,Y (x, y) given by pX,Y (x, y) = P ({s : X(s) = x and Y (s) = y}).
The joint pdf of 2 continuous random variables X and Y is the function fX,Y (x, y) such that for any region R in the xy-plane P ((X, Y ) ∈ R) =
R
fX,Y (x, y)dxdy.
(e) The marginal pdfs of 2 discrete random variables X and Y with joint pdf pX,Y (x, y) are given by
pX (x) =
all y
pX,Y (x, y) and pY (y) =
all x
pX,Y (x, y).
The marginal pdfs for 2 continuous random variables X and Y with joint pdf fX,Y (x, y) are given by
fX (x) =
−∞
fX,Y (x, y)dy and fY (y) =
−∞
fX,Y (x, y)dx.
(f) Two random variables X and Y are independent if
P (X ∈ A and Y ∈ B) = P (X ∈ A)P (Y ∈ B).
(g) For any random sample Y 1 ,... , Yn the ith^ order statistic is the random variable Y (^) i′ which is equal to the ith^ largest value in the random sample. We write Y 1 ′ = Ymin and Y (^) n′ = Ymax. (h) The likelihood function corresponding to the random sample y 1 ,... , yn from the distribution fY (y; θ) with unknown parameter θ is given by L(θ) =
∏^ n i=
fY (yi; θ).
(i) The maximum likelihood estimate for the unknown parameter θ is the value θe such that
L(θ) < L(θe) for all possible values of θ, i.e. θe maximizes the likelihood function.
(j) Let y 1 ,... , yn be a random sample from the pdf fY (y; θ 1 ,... , θj ). The method of moments estimates for the un- known parameters θ 1 ,... , θj are the solutions of the j simultaneous equations
−∞
yfY (y; θ 1 ,... , θj )dy = 1 n
∑^ n i=
yi
.. . E
Y j^
−∞
yj^ fY (y; θ 1 ,... , θj )dy =
n
∑^ n i=
yji
(k) Let k be the number of successes in n independent trials. An approximate 100(1 − α)% confidence interval for the binomial parameter p is given by ( k n − zα/ 2
(k/n)(1 − k/n) n
k n
(k/n)(1 − k/n) n
where zα/ 2 is the value such that P (Z ≥ zα/ 2 ) = α/ 2. (l) An estimator θˆ is unbiased for an unknown parameter θ if E
θˆ
= θ for all possible values of θ.
(a) If X is a discrete random variable with pdf pX (k), then for any function g
E [g(X)] =
all k
g(k) · pX (k).
(b) If Y is a continuous random variable with pdf fY (y), then for any continuous function g
E [g(Y )] =
−∞
g(y)fY (y)dy.
(c) For any random variable W and constants a and b,
E [aW + b] = aE [W ] + b.
(d) For any random variable W with mean μ = E [W ],
E
− μ^2 = Var (W ).
(e) For any random variable W and constants a and b,
Var (aW + b) = a^2 Var (W ).
(f) Two random variables X and Y with joint pdf fX,Y (x, y) are independent if and only if there are functions g(x) and h(y) such that fX,Y (x, y) = g(x)h(y). In such case, there exists a constant k such that fX (x) = kg(x) and fY (y) = (1/k)h(y). (g) For two independent random variables X and Y , both discrete or both continuous, the pdf for their sum W = X + Y is given by, in the discrete case, pW (w) =
all x
pX (x)pY (w − x),
and in the continuous case, fW (w) =
−∞
fX (x)fY (w − x)dx.
(c) The cost for a random patient is given by the random variable Y = 5000X + 2000. Therefore, the expected cost is
E [Y ] = E [5000X + 2000] = 5000E [X] + 2000 = 5000 · 9 4
The variance of the cost is Var (Y ) = Var (5000X + 2000) = 5000^2 · 27 80
and so the standard deviation is σY =
(d) The expected expenditure for children is, as above, E [W ] = E [3500X + 2000] = 3500E [X] + 2000 = 9875. So the expected expenditure for a group of 10 adults and 5 children is E [Y 1 + · · · + Y 10 + W 1 + · · · + W 5 ] = E [Y 1 ] + · · · + E [Y 10 ] + E [W 1 ] + · · · + E [W 5 ] = 10E [Y ] + 5E [W ] = 10(13250) + 5(9785). For this calculation we do not need to assume anything. The variance for the expenditure of a child is
Var (W ) = Var (3500X + 2000) = 3500^2 80
So the variance for the group of patients in question is Var (Y 1 + · · · + Y 10 + W 1 + · · · + W 5 ) = Var (Y 1 ) + · · · + Var (Y 10 ) + Var (W 1 ) + · · · + Var (W 5 ) = 10Var (Y ) + 5Var (W ) = 10 · 50002 ·
For this calculation we need to assume that the Yi’s and Wi’s are independent.
Number of math courses: X 0 1 2 Number 0 0.22 0.12 0.08 0. of science 1 0.18 0.20 0.06 0. courses: Y 2 0.10 0 0.04 0. 0.5 0.32 0.18 1 The last column in the table gives the marginal pdf for Y , i.e. pY (0) = P (Y = 0) = 0. 42 , etc., and the last row gives the marginal pdf for X. (b) Note that the event {X + Y ≤ 2 } = {(x, y) : (0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (2, 0)}. Therefore, the probability is P (X + Y ≤ 2) = pX,Y (0, 0) + pX,Y (0, 1) + pX,Y (0, 2) + pX,Y (1, 0) + pX,Y (1, 1) + pX,Y (2, 0) = 0 .22 + 0.12 + 0.08 + 0.18 + 0.20 + 0. 10 = 0. 9
(c) The random variables X and Y will be independent if and only if pX,Y (x, y) = pX (x) · pY (y) holds for all pairs of possible values (x, y) of X and Y. However, pX,Y (0, 0) = 0. 22 6 = 0. 5 · 0 .42 = pX (0) · pY (0), so X and Y are not independent.
(d) This question has to do with the random variable X only – we are looking for E [X]. So we use the marginal distribution of X,
E [X] = 0 · pX (0) + 1 · pX (1) + 2 · pX (2) = 0 · 0 .5 + 1 · 0 .32 + 2 · 0 .18 = 0. 68.
fX,Y (x, y) = fX (x) · fY (y) = 1, for 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1.
Therefore, P
0
∫ (^) y/ 2
0
1 dxdy =
0
y 2 dy = y^2 4
1
0
P (X ≤ 1) = pX (0) + pX (1) = e−^2
= e−^2 (1 + 2) = 3e−^2.
and variance Var (X) = Var (X 1 ) + · · · + Var (X 100 ) = 100 · 2002 = 10^2 · 2002 = 2000^2 ; so X ∼ N (150000, 20002 ). We can now compute
P (X ≤ 155 , 000) = P
(b) Here we seek the number x 0. 0005 with the property that P (X ≥ x 0. 0005 ) = 0. 0005. From the normal table we can find the corresponding percentile of the standard normal distribution, i.e. the number z 0. 0005 with the property P (Z ≤ z 0. 0005 ) = 0. 0005 , where Z is a standard normal random variable. The number we find to be z 0. 0005 = 3. 03. Then transforming back from z to x (recall that z = (x − μ)/σ, so x = μ + zσ), we obtain the value we are asked to find: x 0. 0005 = 150, 000 + z 0. 0005 · 2000 = 156, 060.
L(θ) =
∏^ n
i=
θY (^) iθ −^1 = θn
( (^) n ∏
i=
Yi
)θ− 1
and applying the ln function ln L(θ) = n ln θ + (θ − 1)
∑^ n i=
ln Yi.