
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
The solutions to the first hour exam of the ece 313 course at the university of illinois during the spring 2000 semester. It includes calculations and explanations related to probability theory and decision making, specifically bayes' theorem and likelihood matrices.
Typology: Exams
1 / 1
This page cannot be seen from the preview
Don't miss anything!

University Solutions to First Hour Exam ECE 313
of Illinois Spring 2000
1.(a) P(A ∪ B) = P(A) + P(B) -–P(A ∩ B) = P(A) + P(B) – P(A|B)P(B). Hence, P(B) = [P(A ∪ B) – P(A)]/[1 – P(A|B)] = 2/5.
(b) P(C|A ∪ B) =
since A and B are disjoint. Now, P(C ∩ A) = P(C|A)P(A), P(C ∩ B) = P(C|B)P(B), and P(A) = 2P(B) giving that P(C|A ∪ B) =
2. The probability that the alarm will ring is
, and thus P(no ring) =
. It follows that
P{wake on time} = P{wake|no ring}P{no ring} + P{wake|ring}P{ring} =
3.(a) The likelihood matrix and maximum-likelihood decision rule is as shown below. H 0 : student is from Section A 2 6
H 1 : student is from Section D 3 10
Excellent Good Average Sanity check: Each row adds up to 1, just as it should for a likelihood matrix. The desired conditional probabilities can be read off from the likelihood matrix as shaded. P{student from Section A is assumed to be in Section D} =
P{student from Section D is assumed to be in Section A} =
Since the probability that the student is in Section A is
, we get P{incorrect decision} =
More simply, 5 students from Section A and 35 students from Section D, that is, a total of 40 out of the 80 students, are mis-classified. (c) The joint probability matrix and minimum-error-probability decision rule are as shown. H 0 : student is from Section A 2 6
H 1 : student is from Section D 3 10
Excellent Good Average Sanity check: The sum of all the entries is 1. Note that we always decide the student is from Section D!
(d) P{incorrect decision} = P(chosen student is from Section A} =
, the answer in part (b). It better be!
(e) P{excellent student from A and good student from B} =
P{excellent student from D and good student from A} =
. Hence, the maximum-likelihood decision is that the excellent student is from Section D and the good student from Section A, i.e. H 1.
4.(a) A binomial random variable with parameters (n,p) has mean np. Hence, E[ X ] = 8×
(b) Y = 1, 2, 3 passengers are left behind according as X = 6, 7, or 8. Since X takes on values 6, 7, 8 with
with probabilities
respectively, we readily find that E[ Y ] =