20065ee131A_1_EE131AF06HW3Solution

# 20065ee131A_1_EE131AF06HW3Solution - Solution of Assignment...

This preview shows pages 1–3. Sign up to view the full content.

Solution of Assignment 3, EE 131A Due: Wednesday October 25, 2006 Problem 1. Consider a binary communication channel where the probabilities of inputs “0” and “1” into the system are p and 1 - p , respectively. Suppose that the transmission errors occur at random with probability ε . For i = 0 , 1 , let A i be the event “input was i ,” and B i be the event “output was i .” Thus P [ A 0 ] = p , P [ A 1 ] = 1 - p , P [ B 0 | A 0 ] = 1 - ε , P [ B 1 | A 0 ] = ε , P [ B 0 | A 1 ] = ε , and P [ B 1 | A 1 ] = 1 - ε . Find the value of ε for which the input of the channel is independent of the output of the channel. Solution. We have to find the value of ε such that, for i, j ∈ { 0 , 1 } , the events A i and B j are independent. First we find the probabilities P [ B 0 ] and P [ B 1 ] . Since S = A 0 A 1 is a partition of the sample space, P [ B 0 ] = P [ B 0 A 0 ] + P [ B 0 A 1 ] = P [ A 0 ] · P [ B 0 | A 0 ] + P [ A 1 ] · P [ B 0 | A 1 ] = p · (1 - ε ) + (1 - p ) · ε = p + ε - 2 p ε ; and P [ B 1 ] = 1 - P [ B 0 ] = 1 - p - ε + 2 p ε. The independent requirements which must be satisfy are: P [ B 0 | A 0 ] = P [ B 0 ] , P [ B 0 | A 1 ] = P [ B 0 ] , P [ B 1 | A 0 ] = P [ B 1 ] , and P [ B 1 | A 1 ] = P [ B 1 ] . Therefore, the following identities must satisfy: 1 - ε = p + ε - 2 p ε ε = p + ε - 2 p ε ε = 1 - p - ε + 2 p ε 1 - ε = 1 - p - ε + 2 p ε. Any of these identities implies ε = 1 2 . Problem 2. Suppose that for the general population, 1 in 5000 people carries the human immun- odeficiency virus (HIV). A test for the presence of HIV yields either a positive ( + ) or negative ( - ) response. Suppose the test gives the correct answer 99% of the time. What is P [ -| H ] , the

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
conditional probability that a person tests negative given that the person does have the HIV virus?
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern