

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Solutions to homework 2 for the stat 331/elec 331 course, covering topics such as probability distributions, independence, and the calculation of probabilities for various events. Students can use these solutions to check their understanding of these concepts and to prepare for exams.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Stat 331/Elec 331, Solutions to Homework 2
1a. P (A) = 1/ 2 , P (B) = 2/ 3 , P (C) = 3/36 and P (A ∩ B ∩ C) = 1/36.
b. No, since for instance A and C are not independent; P (A ∩ C) = 3/ 36 6 = P (A)P (C) (actually, if C occurs, A must also occur). That P (A ∩ B ∩ C) = P (A)P (B)P (C) is not enough for independence.
2a. Let Aj be the event that we get the ace of spades in the jth draw. Since we draw with replacement and independently, the event that we get the ace of spades for the first time in the kth draw is the event Ac 1 ∩Ac 2 ∩...∩Ack− 1 ∩Ak and by independence the probability of this is P (Ac 1 ) · ... · P (Ack− 1 )P (Ak) = (51/52)k−^11 /52 (a geometric distribution with p = 1/52).
b. The probability that the ace of spades appears in the first trial is 1/52, hence P (X = 1) = 1/52. That it appears in the second trial means that we must draw something else in the first trial, which has probability 51/52, and then draw the ace of spades from the remaining 51 cards which has prob- ability 1/51. Hence P (X = 2) = 51/ 52 · 1 /51 = 1/52 (formally we have used the formula P (C ∩ D) = P (D|C)P (C) here). Similarly we will have P (X = k) = 1/52 for k = 1, 2 , ..., 52.
Don’t confuse conditional and unconditional probabilities here: the probabil- ity that the ace of spades appears in the 51st trial is 1/52 but the conditional probability that it appears in the 51st trial given that it has not appeared before is 1/2.
∫ (^) ∞ −∞ f^ (x)dx^ = 1.
a. This is a pdf. To compute the distribution function, first take − 1 ≤ x ≤
∫ (^) x − 1 f^ (t)dt^ =^
∫ (^) x − 1 −tdt^ =^ −[t (^2) /2]x − 1 = 1/2(1^ −^ x (^2) ). For 0 ≤ x ≤ 1 we
have and
∫ (^) x − 1 f^ (t)dt^ = 1/2 +^
∫ (^) x 0 tdt^ = 1/2(1 +^ x
(^2) ). Hence
F (x) =
{ 1 /2(1 − x^2 ) if − 1 ≤ x ≤ 0 1 /2(1 + x^2 ) if 0 ≤ x ≤ 1
b. This is not a pdf since it is negative between 0 and 1 (that it has integral equal to 1 does not help in this case).
c. This is a pdf with F (x) = x + 1, − 1 ≤ x ≤ 0 (the uniform distribution on [− 1 , 0]).
d. This is a pdf with F (x) =
∫ (^) x 1 (1/t (^2) )dt = [1/t]x 1 = 1^ −^1 /x, x^ ≥^1.
FY (x) = P (Y ≤ x) = P (
X ≤ x) = P (X ≤ x^2 ) = FX (x^2 ) = x^2
since X ∼unif(0, 1). Differentiation gives fY (x) = 2x, 0 < x < 1..
For Z, note that the range is (1, ∞). Take an x > 1. Then
FZ (x) = P (Z ≤ x) = P (
≤ x) = P (X ≥
x
x
since X is uniform on (0, 1) (note that x > 1 and therefore 1/x is between 0 and 1). Hence Z has pdf
fZ (x) =
x^2
, x > 1.
F (x) = P (X ≤ x) = P (X ≤ x|A)P (A) + P (X ≤ x|Ac)P (Ac).
Now, P (A) = 0. 2 , P (Ac) = 0. 8 , P (X ≤ x|A) = 1 and P (X ≤ x|Ac) = x/ 30 and hence
F (x) =
{ 0 .2 + 0. 8 x/ 30 if x ≥ 0 0 if x < 0
Since the range of X is uncountable, X is not discrete and since the cdf of X is not continuous at 0, X is not continuous. It is a mixture of a discrete part at 0 and a continuous part on (0,30).