Docsity

Probability Theory Homework for EE 302 Division 1 - Prof. Ilya Pollak, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
EE 302 Division 1.
Homework 5, new due date: Friday, 2/22/2002 at 5pm.
Reading assignment: Sections 2.5-3.3; accompanying practice problems with solutions distributed
in class.
Problem 1. A fair four-sided die (with faces labeled 0, 1, 2, 3) is thrown once to determine how
many times a fair coin is to be flipped: if Nis the number that results from throwing the die, we flip
the coin Ntimes. Let Kbe the total number of heads resulting from the coin flips. Determine and
sketch each of the following probability mass functions for all values of their arguments:
(a) pN(n).
(b) pK|N(k|2).
(c) pN|K(n|2).
(d) pK(k).
(e) Also determine the conditional PMF for random variable N, given that the experimental value k
of random variable Kis an odd number.
Problem 2. Let Xand Ybe independent random variables. Random variable Xhas a discrete
uniform distribution over the set {1,2,3}, and Yhas a discrete uniform distribution of the set {1,3}.
Let V=X+Y, and W=X−Y.
(a) Are Vand Windependent? Explain without calculations.
(b) Find and plot pV(v). Also, determine E[V] and var(V).
(c) Find and show in a diagram pV,W(v, w).
(d) Find E[V|W>0].
(e) Find the conditional variance of Wgiven the event V=4.
(f) Find and plot the conditional PMF pX|V(x|v), for all values.
Problem 3. Joe and Helen each know that the a priori probability that her mother will be home on
any given night is 0.6. However, Helen can determine her mother’s plans for the night at 6pm, and
then, at 6:15pm, she has only one chance each evening to shout one of two code words across the river
to Joe. He will visit her with probability 1 if he thinks Helen’s message means “Ma will be away,” and
he will stay home with probability 1 if he thinks the message means “Ma will be home.”
But Helen has a meek voice, and the river is channeled for heavy barge traffic. Thus she is faced with
the problem of coding for a noisy channel. She has decided to use a code containing only the code
words Aand B.
1
pf3

Partial preview of the text

Download Probability Theory Homework for EE 302 Division 1 - Prof. Ilya Pollak and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

EE 302 Division 1.

Homework 5, new due date: Friday, 2/22/2002 at 5pm.

Reading assignment: Sections 2.5-3.3; accompanying practice problems with solutions distributed in class.

Problem 1. A fair four-sided die (with faces labeled 0, 1, 2, 3) is thrown once to determine how many times a fair coin is to be flipped: if N is the number that results from throwing the die, we flip the coin N times. Let K be the total number of heads resulting from the coin flips. Determine and sketch each of the following probability mass functions for all values of their arguments:

(a) pN (n).

(b) pK|N (k|2).

(c) pN |K (n|2).

(d) pK (k).

(e) Also determine the conditional PMF for random variable N , given that the experimental value k of random variable K is an odd number.

Problem 2. Let X and Y be independent random variables. Random variable X has a discrete uniform distribution over the set { 1 , 2 , 3 }, and Y has a discrete uniform distribution of the set { 1 , 3 }. Let V = X + Y , and W = X − Y.

(a) Are V and W independent? Explain without calculations.

(b) Find and plot pV (v). Also, determine E[V ] and var(V ).

(c) Find and show in a diagram pV,W (v, w).

(d) Find E[V |W > 0].

(e) Find the conditional variance of W given the event V = 4.

(f ) Find and plot the conditional PMF pX|V (x|v), for all values.

Problem 3. Joe and Helen each know that the a priori probability that her mother will be home on any given night is 0.6. However, Helen can determine her mother’s plans for the night at 6pm, and then, at 6:15pm, she has only one chance each evening to shout one of two code words across the river to Joe. He will visit her with probability 1 if he thinks Helen’s message means “Ma will be away,” and he will stay home with probability 1 if he thinks the message means “Ma will be home.”

But Helen has a meek voice, and the river is channeled for heavy barge traffic. Thus she is faced with the problem of coding for a noisy channel. She has decided to use a code containing only the code words A and B.

The channel is described by:

P(a|A) =

P(a|B) =

P(b|A) =

P(b|B) =

and these events are defined in the following sketch:

Noisy channel

b

A a

B

Input words

b is event "Joe thinks message is B"

a is event "Joe thinks message is A"

Output words

(a) In order to minimize the probability of error between transmitted and received messages, should Helen and Joe agree to use code I or code II? Code I: A = Ma away, B = Ma home. Code II: A = Ma home, B = Ma away.

(b) Helen and Joe put the following cash values (in dollars) on all possible outcomes of a day: Ma home and Joe comes - Ma home and Joe does not come 0 Ma away and Joe comes + Ma away and Joe does not come - Joe and Helen make all their plans with the objective of maximizing the expected value of each day of their continuing romance. Which of the above codes will maximize the expected cash value per day of this romance?

(c) Clara is not quite so attractive as Helen, but at least she lives on the same side of the river. What would be the lower limit of Clara’s expected value per day which would make Joe decide to give up Helen?

(d) What would be the maximum rate which Joe would pay the phone company for a noiseless wire to Helen’s house which he could use once per day at 6:15pm?

(e) How much is it worth to Joe and Helen to double her mother’s probability of being away from home? Would this be a better or worse investment than spending the same amount of money