Beruflich Dokumente
Kultur Dokumente
Section: Name:
You will have 60 minutes to upload this quiz as a PDF from the moment you open it.
Read each question carefully and answer as best you can. Show all work.
Problem 1. A computer sends a packet of information along a channel and waits for a
return signal acknowledging that the packet has been received. If no acknowledgment
is received within a certain time, the packet is re-sent. Let X represent the number of
times the packet is sent. Assume that the probability mass function of X is given by
(
cx if x = 1, 2, 3, or 4
p(x) =
0 otherwise
(a) Find the value of the constant c so that p(x) is a probability mass function.
Solution:
X4
1= p(x) = c(1) + c(2) + c(3) + c(4) = c(10)
x=1
(d) Find the variance of the number of times the packet was sent.
Solution:
1 4 100
E(X 2 ) = (12 ) + . . . + (42 ) = = 10
10 10 10
So
V (X) = E(X 2 ) − [E(X)]2 = 10 − 32 = 1
Problem 2. (2 points) Resistors labeled 100 Ω have true resistances that are between
100 Ω and 140 Ω. Let X be the resistance of a randomly chosen resistor. The probability
density function of X is given by
(
x
if 100 < x < 120
f (x) = 2200
0 otherwise
Note: Points were taken off if the bounds were not specified. An important part
about c.d.f.’s is that they are defined for every x.
(a) The test is 79 percent reliable. That is, known diseased people only have a 79
percent chance of testing positive for the disease.
(b) On average, this illness affects 1 percent of the population in the same age group
as the patient.
(c) The test has a false positive rate of 10 percent. (The false positive rate is the
proportion of test results coming up positive when individuals are known to be
disease-free). In symbols,
P (+|Dc ) = 0.10
A patient tests positive for the disease. What is the probability that the patient actu-
ally has the disease?
Hint: Use Bayes’ Rule
P (+|D)P (D)
P (D|+) =
P (+|D)P (D) + P (+|Dc )P (Dc )
(0.79)(0.01)
=
(0.79)(0.01) + (0.1)(0.99)
= 0.0739