Final Exam Solution - Probability with Engineering Application | ECE 313, Exams of Statistics

Material Type: Exam; Class: Probability with Engrg Applic; Subject: Electrical and Computer Engr; University: University of Illinois - Urbana-Champaign; Term: Fall 1999;

Typology: Exams

Pre 2010

Uploaded on 02/24/2010

koofers-user-0xg
koofers-user-0xg 🇺🇸

9 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
University Final Exam Solutions ECE 313
of Illinois Page 1 of 3 Fall 1999
1.(a) P(A|B) > P(A) is FALSE. Conditional probabilities can be smaller than unconditional probabilities.
P(A|B) + P(A|Bc) = 1 is FALSE. If A B, then P(A|Bc) = 0 while P(A|B) = P(A)/P(B) 1 in all cases.
P(A|B) + P(Ac|Bc) = 1 is FALSE. If A B = , then P(A|B) = 0 and P(Ac|Bc) 1 in all cases.
P(A|B) + P(Ac|B) = 1 is TRUE. Conditional probabilities are a probability measure.
If P(A) = P(B), then P(A|B) = P(B|A) is TRUE. P(A|B) = P(A B)/P(B) = P(A B)/P(A) = P(B|A).
If P(A|B) = P(B|A), then P(A) = P(B) is FALSE! If A B = , then P(A|B) = P(B|A) = 0; P(A) P(B).
If P(A|B) = P(B|A), then A and B are independent is FALSE. Independence requires P(A B) = P(A)P(B)
P(A B) P(A)P(B) with equality if and only if A and B are independent is FALSE. Note that the
alleged result is equivalent to P(A|B) P(A) which is just the complement of the first question.
P(B|A)P(A) + P(A|Bc)P(Bc) = P(A) is TRUE. The first term equals P(A|B)P(B).
P(A|B) = P(B|A)P(B)/P(A) is FALSE. If If A B , it holds only if P(A) = P(B).
(b) P(A B) min{P(A), P(B)} P(A B) [P(A) + P(B)]/2
P(A B) P(A) + P(B) – 1. P(A B) P(A |B)
Since A B A, P(A B) P(A). Similarly, P(A B) P(B) P(A B) min{P(A), P(B)}.
Since A A B, P(A) P(A B). Similarly, P(B) P(A B); hence,P(A B) [P(A) + P(B)]/2.
Since 1 P(A B) = P(A) + P(B) – P(A B), it follows that P(A B) P(A) + P(B) – 1.
Since P(B) < 1, it follows that P(A B) = P(A|B)P(B) P(A|B). Thus, all four statements are true.
(c) P{X > b} = 1 – FX(b). If FX(a) < FX(b), then a < b.
If a < b, then FX(a) < FX(b). FX(u) = 1/2 for some u, – < u < .
The first two properties hold for all CDFs since FX(u) is a right-continuous non-decreasing function. But, if
a < b, it is possible that FX(a) = FX(b) because the CDF did not increase between those points (it cannot
decrease, of course.) As a counterexample for , note that for a Bernoulli random variable with parameter
p 1/2, FX(u) takes on values 0, p, and 1 only. Thus, and are not properties of all CDFS.
(d) X and Y have identical finite variance σ2
E[X2] = E[Y2]var(4X – 5Y) = var(4Y – 5X)
|cov(X, Y)| σ2X + Y and XY are uncorrelated RVs
E[X2] = σ2 + {E[X]}2 E[Y2] = σ2 + {E[Y]}2 unless it so happens that E[X] = E[Y].
var(4X – 5Y) = 16•var(X) + 25•var(Y) –2•4•5•cov(X,Y) = 41σ2 – 40•cov(X,Y).
var(4Y – 5X) = 16•var(Y) + 25•var(X) –2•4•5•cov(Y,X) = 41σ2 – 40•cov(X,Y). Hence, equality holds.
|cov(X,Y)| = |ρvar(X)var(Y) | = |ρ|σ2 σ2 since |ρ| 1.
cov(X + Y, XY) = var(X) – var(Y) – cov(X,Y) + cov(Y,X) = σ2σ2 – cov(X,Y) + cov(X,Y) = 0.
Thus, , , and are true statements.
2. 5 arrivals occur in (0,4], 2 in (3,4] and 4 in (3,6]. These events are not independent, but all three occur if and
only if there are 3 arrivals in (0,3], 2 arrivals in (3,4], and 2 arrivals in (4,6]. The latter three events are
independent since they correspond to disjoint time intervals. Hence,
P{X = 5, Z = 4 | Y = 2} = P{X = 5, Z = 4, Y = 2}/P{Y = 2}
= P{3 arrivals in (0,3], 2 arrivals in (3,4], and 2 arrivals in (4,6]}/P{2 arrivals in (3,4]}
= P{3 arrivals in (0,3], 2 arrivals in (4,6]} = P{3 arrivals in (0,3]}P{2 arrivals in (4,6]}
= exp(–3λ)•(3λ)3
3! exp(–2λ)•(2λ)2
2! = 9•exp(–5λ)•(λ)5.
pf3

Partial preview of the text

Download Final Exam Solution - Probability with Engineering Application | ECE 313 and more Exams Statistics in PDF only on Docsity!

of Illinois Page 1 of 3 Fall 1999

1.(a) P(A|B) > P(A) is FALSE. Conditional probabilities can be smaller than unconditional probabilities.

P(A|B) + P(A|Bc) = 1 is FALSE. If A ⊂ B, then P(A|Bc) = 0 while P(A|B) = P(A)/P(B) ≠ 1 in all cases. P(A|B) + P(Ac|Bc) = 1 is FALSE. If A ∩ B = ∅, then P(A|B) = 0 and P(Ac|Bc) ≠ 1 in all cases. P(A|B) + P(Ac|B) = 1 is TRUE. Conditional probabilities are a probability measure. If P(A) = P(B), then P(A|B) = P(B|A) is TRUE. P(A|B) = P(A ∩ B)/P(B) = P(A ∩ B)/P(A) = P(B|A).

If P(A|B) = P(B|A), then P(A) = P(B) is FALSE! If A ∩ B = ∅, then P(A|B) = P(B|A) = 0; P(A) ≠ P(B).

If P(A|B) = P(B|A), then A and B are independent is FALSE. Independence requires P(A ∩ B) = P(A)P(B)

P(A ∩ B) ≤ P(A)P(B) with equality if and only if A and B are independent is FALSE. Note that the

alleged result is equivalent to P(A|B) ≤ P(A) which is just the complement of the first question.

P(B|A)P(A) + P(A|Bc)P(Bc) = P(A) is TRUE. The first term equals P(A|B)P(B). P(A|B) = P(B|A)P(B)/P(A) is FALSE. If If A ∩ B ≠ ∅, it holds only if P(A) = P(B).

(b) ¬ P(A ∩ B) ≤ min{P(A), P(B)} Á P(A ∪ B) ≥ [P(A) + P(B)]/ 2

 P(A ∩ B) ≥ P(A) + P(B) – 1. à P(A ∩ B) ≤ P(A|B)

Since A ∩ B ⊂ A, P(A ∩ B) ≤ P(A). Similarly, P(A ∩ B) ≤ P(B) ⇒ P(A ∩ B) ≤ min{P(A), P(B)}.

Since A ⊂ A ∪ B, P(A) ≤ P(A ∪ B). Similarly, P(B) ≤ P(A ∪ B); hence,P(A ∪ B) ≥ [P(A) + P(B)]/2.

Since 1 ≥ P(A ∪ B) = P(A) + P(B) – P(A ∩ B), it follows that P(A ∩ B) ≥ P(A) + P(B) – 1.

Since P(B) < 1, it follows that P(A ∩ B) = P(A|B)P(B) ≤ P(A|B). Thus, all four statements are true.

(c) ¬ P{ X > b} = 1 – F X (b). Á If F X (a) < F X (b), then a < b.

 If a < b, then F X (a) < F X (b). à F X (u) = 1/2 for some u, –∞ < u < ∞. The first two properties hold for all CDFs since F X (u) is a right-continuous non-decreasing function. But, if a < b, it is possible that F X (a) = F X (b) because the CDF did not increase between those points (it cannot decrease, of course.) As a counterexample for Ã, note that for a Bernoulli random variable with parameter p ≠ 1/2, F X (u) takes on values 0, p, and 1 only. Thus,  and à are not properties of all CDFS.

(d) X and Y have identical finite variance σ^2

¬ E[ X^2 ] = E[ Y^2 ] Á var(4 X – 5 Y ) = var(4 Y – 5 X )

 |cov( X , Y )| ≤ σ^2 à X + Y and X – Y are uncorrelated RVs

E[ X^2 ] = σ^2 + {E[ X ]}^2 ≠ E[ Y^2 ] = σ^2 + {E[ Y ]}^2 unless it so happens that E[ X ] = E[ Y ].

var(4 X – 5 Y ) = 16•var( X ) + 25•var( Y ) –2•4•5•cov( X , Y ) = 41σ^2 – 40•cov( X , Y ).

var(4 Y – 5 X ) = 16•var( Y ) + 25•var( X ) –2•4•5•cov( Y , X ) = 41σ^2 – 40•cov( X , Y ). Hence, equality holds.

|cov( X , Y )| = |ρ var( X )var( Y ) | = |ρ|•σ^2 ≤ σ^2 since |ρ| ≤ 1.

cov( X + Y , X – Y ) = var( X ) – var( Y ) – cov( X , Y ) + cov( Y , X ) = σ^2 – σ^2 – cov( X , Y ) + cov( X , Y ) = 0.

Thus, Á, Â, and à are true statements.

2. 5 arrivals occur in (0,4], 2 in (3,4] and 4 in (3,6]. These events are not independent, but all three occur if and only if there are 3 arrivals in (0,3], 2 arrivals in (3,4], and 2 arrivals in (4,6]. The latter three events are independent since they correspond to disjoint time intervals. Hence, P{ X = 5, Z = 4 | Y = 2} = P{ X = 5, Z = 4, Y = 2}/P{ Y = 2} = P{3 arrivals in (0,3], 2 arrivals in (3,4], and 2 arrivals in (4,6]}/P{2 arrivals in (3,4]} = P{3 arrivals in (0,3], 2 arrivals in (4,6]} = P{3 arrivals in (0,3]}P{2 arrivals in (4,6]}

=

exp(–3λ)•(3λ)^3 3!

exp(–2λ)•(2λ)^2 2!

= 9•exp(–5λ)•(λ)^5.

of Illinois Page 2 of 3 Fall 1999

3. This is a Gaussian random variable with mean 0 and variance (1/2π) !!

Hence, E[ X^2 + 2 X + 3] = E[ X^2 ] + 2•E[ X ] + 3 = [(1/2π) + 0^2 ] + 2•0 + 3 = (1/2π) + 3.

P{| X | > 2/π} = P{| X | > 2σ} = 2•Φ(–2) = 2•[1–Φ(2)] = 2•[1–0.9772] = 0.0456.

4.(a) f X (u 0 ), the value of the marginal pdf at any fixed number u 0 is the area of the cross-section of the pdf surface at u

= u 0 , that is, f X (u 0 ) equals the area under the curve f X , Y (u 0 ,v) regarded as a function of v. As can be observed from the diagrams below, this cross-section is 0 for u 0 < 0 or u 0 > 1. On the other hand, the cross-sections look as shown below for 0 ≤ u 0 < 1/2 and for 1/2 ≤ u 0 ≤ 1.

v

u

different choices for u 0

1 v

0 u 0 u +1/2 0

f(u ,v) 0 0 ≤ u < 1/2 0

u 0

v

0 u –1/2 0

f(u ,v) 0

Since the cross-section areas are easily shown to be 1, it follows that f X (u 0 ) = 1 for all choices of u 0 in the

range [0, 1] and thus f X (u) = {

1, 0 ≤ u ≤ 1, 0, elsewhere. This is obviously a valid pdf:^ X^ is uniformly distributed on the interval [0,1]. A similar calculation shows that Y is also uniformly distributed on [0,1]. (b) P{ X > Y } is the probability that the random point ( X , Y ) lies below the heavy line in the left-hand figure below. Since the joint pdf is uniform on the shaded region and three out of four dentists (oops, I mean triangles!) lie below the line, it is easily seen that P{ X > Y } = 3/4.

v

u

v

u

v

u

(c) No, X and Y are not independent which can be proved via the “eyeball test” viz. the pdf is nonzero on a nonrectangular region, or from noting that, on the unit square, f X (u)f Y (v) = 1 ≠ f X , Y (u,v).

(d) P{ X + Y < 1/3} is the probability that the random point ( X , Y ) lies below the heavy line (with intercepts 1/ and 1/3 on the axes) in the middle figure below. Since the area of the shaded region is one-fourth the area of the square of side (1/3), we get that P{ X + Y < 1/3} = integral of joint pdf over region below line = (value of joint pdf on shaded region)•area = 2•(1/4)•(1/3)^2 = (1/2)•(1/3)^2 = 1/18. Similarly, P{ X + Y < 2/3} is the probability that the random point ( X , Y ) lies below the heavy line (with intercepts 2/3 and 2/3 on the axes) in the middle figure above. Since the “little extra upper piece” fits neatly into the “little empty space below”, we see that P{ X + Y < 2/3} = 4•P{ X + Y < 1/3} = 2/9 = (1/2)•(2/3)^2. In fact, for any real number α, 0 ≤ α ≤ 1, P{ X + Y < α} = (1/2)•(α)^2. Quick check: the formula gives a probability of 0 for α = 0 and a probability of 1/2 for α = 1 which checks with the obvious results. P{ X + Y > 4/3} is the probability that the random point ( X , Y ) lies above the heavy line (with (unmarked) intercepts 4/3 and 4/3 on the axes) in the right-hand figure above. A little thought shows that this probability is in fact equal to P{ X + Y < 2/3} = 2/9 and similarly P{ X + Y > 5/3} = P{ X + Y < 1/3} = 1/18. More generally, for any real number α, 1 ≤ α ≤ 2, P{ X + Y > α} = P{ X + Y < 2–α} = (1/2)•(2–α)^2. Quick