Академический Документы
Профессиональный Документы
Культура Документы
Exam 1
Name: Solution
Score:
1
/100
FR (r) =
r < 5
0.3 5 r < 0
0.7 0 r < 5
1
r5
0.3
0.4
PR (r) =
0.3
r = 5
r=0
r=5
otherwise
(1)
(2)
E[R] =
(3)
rSr
Note that although you may work this out in several steps, the final
answer must combine the probabilities that s = 25 corresponding to
r = 5 and r = +5. They are simply added together because the events
r = 5 and r = +5 are mutually exclusive.
PS (s) =
0.6 s = 25
0.4 s = 0
0
otherwise
(4)
(5)
Exam 1
2. Let the random variable C represent the amount the telephone company charges for calls
to directory assistance. C is a function of the number R of phone numbers requested.
Given that
$0.50 R {1, 2}
C=
$0.75 R = 3
(6)
$1.00 R = 4
and
0.5
0.3
R=1
R=2
PR (r) =
0.1 R = 3
0.1 R = 4
0
otherwise
(7)
(8)
(9)
(10)
(11)
(c) For calls that request more than one number, what is the conditional PMF PR|R>1
of the number of numbers requested?
3/5
1/5
P [R|R > 1](r) =
1/5
r=2
r=3
r=4
otherwise
(12)
(d) Given that a call requests more than one number, what is the expected number of
requests E[R|R > 1]?
1
1
3
E[R|R > 1] = (2) + (3) + (4) = 2.6
5
5
5
(13)
Exam 1
(14)
C =
Var [C] =
E[C 2 ] (E[C])2
(15)
570/1600 529/1600 =
41/1600 =
41/40
(16)
(17)
(18)
(19)
Exam 1
c (|n| + 1) n {2, 1, 0, 1, 2}
0
otherwise
(20)
c=
1
11
(21)
P [N = 0] =
1
1
(|0| + 1) =
11
11
(22)
P [|N| < 2] = P [1 N 1] =
5
1
[2 + 1 + 2] =
11
11
(23)
Exam 1
4. You and a friend find a penny and a nickel. To decide who gets to keep them you flip the
coins. If a coin comes up heads you win it; tails your friend wins it.
(a) What is the sample space of the experiment?
(b) Let S be the amount of money you win. What is the PMF of S?
Under the default assumption that the coins are fair, the PMF is
1/4
1/4
PS (s) =
1/4
1/4
s=0
s = 0.01
s = 0.05
s = 0.06
(25)
1
1
1
1
1
E[S] = (0) + (0.01) + (0.05) + (0.06) = (0.12) = 0.03
4
4
4
4
4
(26)
Exam 1
5. Short Questions
(a) Suppose we are given that the PDF of the random variable X is fX (x) = ebx + c for
x [0, 1] and zero elsewhere. What two properties of PDFs would you use in order
to determine the acceptable values for the parameters b and c. (DONT DO THE
MATH. Just tell me the two facts.)
Z
fX (x) = 1
and
fX (x) 0 x
(27)
(b) A source wishes to transmit data packets to a receiver over a radio link. The receiver
uses error detection to identify packets that have been corrupted by radio noise. When
a packet is received error-free, the receiver sends an acknowledgment (ACK) back to
the source. When the receiver gets a packet with errors, a negative acknowledgment
(NAK) message is sent back to the source. Each time the source receives a NAK, the
packet is retransmitted. We assume that each packet transmission is independently
corrupted by errors with probability q. Would you model the distribution of the
number of times the packet is transmitted by the source as Poisson (PX (x) below),
Exponential (fX (x) below), or (c) Neither? (Circle the correct answer below and
indicate the values of x for which the first option holds if you choose Poisson or
Exponential. If you choose neither, suggest an alternative.)
PX (x) =
fX (x) =
x e
x!
x
otherwise
ex x
0
otherwise
Neither
(c) What are the mean and the variance of a standard Gaussian (Normal) random variable?
the mean X
Exam 1
6. A cellular phone call may be placed by a pedestrian or a driver. As the phone changes
location along with its owner, a call may requires no handoffs (event H0 ), one handoff
(H1 ) or more than one handoff (H2 ) from base station to base station. We are given that
the probability that a call comes from someone in a vehicle is 0.8. The probability that a
call from a vehicle will not require a handoff is 0.5; the probability that it will require one
handoff is 0.2. The probability that a call from a pedestrian will not require a handoff is
0.4; the probability that it will require one handoff is 0.1. (Note that this is not a very
realistic model.)
(a) What are the probabilities that calls from pedestrians, respectively drivers, will require two handoffs?
(28)
(29)
(b) What is the probability that a call (of unknown origin) will not require a handoff?
(30)
(c) When there is no handoff, what is the probability that the caller is in a vehicle?
P [V |H0 ] =
0.5(0.8)
5
P [H0 |V ]P [V ]
=
=
P [H0 ]
0.48
6
(31)
Exam 1
7. Suppose that a digit is selected at random from the set S = {1, 2, 3, 4, 5, 6, 7} where the
probability of selecting n is
(
0.2 n {1, 2, 3}
0.1 n {4, 5, 6, 7}
(32)
A1 = {odd numbers in S}
(33)
A3 = {n > 2}
(35)
P [n] =
Consider the following events
A2 = {even numbers in S}
A4 = {2, 3, 5}
A5 = {n < 4}
(34)
(36)
(37)
(a) Find two independent events Ai and Aj or show that none exist.
(38)
(39)
(b) For the events Ai and Aj you have chosen (or in general if none exist), what is the
probability of {Ai Aj }?