

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 midterm 1 of the eecs 126 course offered by professor tse at the university of california, berkeley, in the fall of 1998. The solutions cover various probability concepts, including independent and mutually exclusive events, conditional probability, and bayes' theorem.
Typology: Exams
1 / 2
This page cannot be seen from the preview
Don't miss anything!


UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences
Professor Tse Fall 1998
1a. (i) independent.
(ii) mutually exclusive.
(iii).
( reads, “If event occurs, then event must occur.)
(iv).
b. since.
2. Let be the lifetime of the machine picked and event that machine is picked.
Note: not necessarily exponential, as some of you have assumed.
3a.
Note: Some of you wrote:
a NO-NO!
X Ai = i
P A ( 1 X ≥ t )
P X ( ≥ t A 1 ) P A ( 1 ) P X ( ≥ t )
P X ( ≥ t A 1 ) P A ( 1 ) P X ( ≥ t A 1 ) P A ( 1 ) + P X ( ≥ t A 2 ) P A ( 2 )
[ 1 – F 1 ( ) t ]
[ 1 – F 1 ( ) t ] 1 2
--- [ 1 – F 2 ( ) t ] 1 2
1 – F 1 ( ) t 2 – F 1 ( ) t – F 2 ( ) t
P ( error) = P ( output =1 and input = 0)
= P ( output = 1 input = 0) P ( input = 0 )
= ε 1 p +ε 2 ( 1 – p )
P ( error) = P ( output = 1 input = 0)
b. Let be event that the bit gets flipped, ; let be event that we get a tail, , where are independent.
In part (a),
, for.
So the random rule is worse.
A p A ( ) = ε B p B ( ) = 1 – ε A B ,
P ( error) = P A ( ) P B ( ) + P A ( C ) P B ( C )
= ε ( 1 – ε) +( 1 – ε)ε
= 2 ε ( 1 – ε)
P ( error) = ε < 2 ε ( 1 – ε) ε