Beruflich Dokumente
Kultur Dokumente
(a) Let the probability that the circuit is faulty be denoted by p0 . Given one value of Z,
determine the map decision rule for deciding whether the circuit is faulty.
(b) Give an expression for the probability of error for this decision. Show that the probability
of error is independent of 2 .
(c) Let 2 = 0.1. Give a numeric value for the decision threshold and probability of error
when p0 = 0.1.
(d) Let 2 = 0.1. Give a numeric value for the decision threshold and probability of error
when p0 = 0.9.
(e) Plot the probability of error as a function of p0 . Use numerical techniques to find the
maximum probability of error and the value of p0 that achieves this maximum.
4. iPhones are manufactured by two different companies, company A and company B, and it is
found that the lifetimes (the time before the devices break) are different for each manufacturer.
Let X denote the lifetime of an iPhone in months. iPhones from manufacturer A have a
lifetime (in months) that is exponentially distributed according to
fX (x|A) =
1 x/12
e
u(x)
12
iPhones from manufacturer B have a lifetime (in months) that is well modeled by a Gaussian
density with = 7.9 and 2 = 16.
Manufacturer B produces two times as many iPhones as manufacturer A.
(a) Find the probability that a randomly selected iPhone is still working after 12 months.
(b) Given that an iPhone is still working after 12 months, find the a posteriori probability
that it came from manufacturer A.
(c) Give the MAP rule for the manufacturer an iPhone came from if it is still working after
12 months.
(d) Give the ML rule for the manufacturer an iPhone came from if it is still working after
12 months.
(e) Give the MAP rule for the manufacturer an iPhone came from if it stops working at
exactly 12 months.
5. A pixel in a particular image has a random brightness, X. The distribution of X depends on
whether the pixel belongs to an object (O) of interest or the background (B). If it belongs to
the object, then X has a Laplace distribution,
fX (x|O) =
where = 0.2. If the pixel belongs to the background, then X is uniformly distributed
between -10 and 10.
Consider the problem of classifying a pixel based on an observation of its brightness, X = x.
(a) Find the ML rule for all values of x and illustrate the decision regions on a number line.
(b) Find the probability of error if the ML decision rule is used, but the probability that the
pixel belongs to the object of interest is equal to 0.6.
(c) Adjacent pixels can give information that can be treated as a priori probabilities in
determining whether the pixel belongs to the background or the object. If information
from adjacent pixels implies that this pixel should belong to the object with probability
3/4, find the MAP decision rule given X = x for all values of x.
(d) If information from adjacent pixels implies that this pixel should belong to the object
with probability 0.2, find the MAP decision rule given X = x for all values of x.