MAP/ML Detection and Likelihood-Ratio Threshold Tests
[16/100%]In this exercise, we evaluate and for binary detection from vector signals in Gaussian noise directly from (8.40) and (8.41).
By using (8.40) for each sample value of , show that
Defining , show that
Show that
Show that, conditional on , . Show that, conditional on , .
Show that the first half of (8.44) is valid, i.e., that
By essentially repeating (a)--(e), show that the second half of (8.44) is valid, i.e., that
Let . Find and .
Find the conditional variance of conditional on .
Give the threshold test in terms of the sample value of , and evaluate and from this and (b). Show that your answer agrees with (8.53).
Explain what happens if is singular.
Let be a discrete observation rv for a binary detection problem, let be the observed sample value. Let be a sufficient statistic and let be the corresponding rv. Show that is equal to . In other words, show that the likelihood ratio of a sufficient statistic is the same as the likelihood ratio of the original observation.
Show that this also holds for the ratio of probability densities if is a continuous rv or random vector.
Show that if is a sufficient statistic according to condition 1 of Theorem 8.2.8, then
Consider the subspace of events conditional on for a given . Show that for such that ,
Explain why this argument is valid whether is a discrete or continuous rv and whether is discrete, continuous or part discrete and part continuous.
Let be a discrete observation random vector and let be a function of the sample values of . Show that
Using Theorem 8.2.8, show that the above fraction is independent of if and only if is a sufficient statistic.
Now assume that is a continuous observation random vector, that is a given function, and that has a probability density. Define
One can interpret this as a strange kind of probability density on a conditional sample space, but it is more straightforward to regard it simply as a fraction. Show that is a sufficient statistic if and only if this fraction is independent of .
Consider Example 8.2.5, and let , where is normalized IID Gaussian and is non-singular. The observation rv is given and is given .
Suppose the observed sample value is transformed into . Explain why is a sufficient statistic for this detection problem (and thus why MAP detection based on must yield the same decision as that based on ).
Consider the detection problem where given and given . Find for a sample value of . Show that this is the same as the for a sample value of .
Find and for the detection problem in (b) by using the results of Example 8.2.4. Show that your answer agrees with (8.53).
The methodology here is to transform the observed sample value to make the noise IID; this approach is often both useful and insightful.
Binary frequency shift keying (FSK) with incoherent reception can be modeled in terms of a four-dimensional observation vector , where . The rv is independent of . Under , , whereas under , . The rv is uniformly distributed between and and is independent of and . The a priori probabilities are .
Convince yourself from the circular symmetry of the situation that the ML receiver calculates the sample values and of and and chooses if and chooses otherwise.
Find as a function of .
Show that
Show that
Show that this is equal to .
Explain why this is the probability of error (i.e., why the event is independent of ), and why .
Binary FSK on a Rayleigh fading channel can be modeled in terms of a four-dimensional observation vector , where . The rv is independent of . Under , , whereas under , . The rvs are IID. The a priori probabilities are .
Convince yourself from the circular symmetry of the situation that the ML receiver calculates sample values and for and and chooses if and chooses otherwise.
Find and find .
Let and find .
Show that . Explain why this is also the unconditional probability of an incorrect decision.
A disease has two strains, and , which occur with a priori probabilities and respectively.
Initially, a rather noisy test was developed to find which strain is present for patients with the disease. The output of the test is the sample value of a rv . Given strain 0 (), , and given strain 1 (), . The measurement noise is independent of and is Gaussian, . Give the MAP decision rule, i.e., determine the set of observations for which the decision is . Give and in terms of the function .
A budding medical researcher determines that the test is making too many errors. A new measurement procedure is devised with two observation rvs and . is the same as in (a). , under hypothesis 0, is given by , and, under hypothesis 1, is given by . Assume that is independent of both and , and that . Find the MAP decision rule for in terms of the joint observation , and find and .
Explain in laymen's terms why the medical researcher should learn more about probability.
Now suppose that , in (b), is uniformly distributed between and rather than being Gaussian. We are still given that is independent of both and . Find the MAP decision rule for in terms of the joint observation and find and .
Finally, suppose that is also uniformly distributed between and . Again find the MAP decision rule and error probabilities.
Consider a binary hypothesis testing problem, and denote the hypotheses as and . Let be an arbitrary real -vector and let the observation be a sample value of the rv , where and is the identity matrix. Assume that and are independent. Find the ML decision rule and find the probabilities of error and in terms of the function .
Now suppose a third hypothesis, , is added to the situation of (a). Again the observation rv is , but here can take on values , or . Find a one-dimensional sufficient statistic for this problem (i.e., a one-dimensional function of from which the likelihood ratios
can be calculated).
Find the ML decision rule for the situation in (b) and find the probabilities of error, for .
Now suppose that in (a) are IID and each is uniformly distributed over the interval to . Also assume that . Find the ML decision rule for this situation.
A sales executive hears that one of his salespeople is routing half of his incoming sales to a competitor. In particular, arriving sales are known to be Poisson at rate one per hour. According to the report (which we view as hypothesis ), each second arrival is routed to the competition; thus under hypothesis 1 the interarrival density for successful sales is . The alternative hypothesis () is that the rumor is false and the interarrival density for successful sales is . Assume that, a priori, the hypotheses are equally likely. The executive, a recent student of stochastic processes, explores various alternatives for choosing between the hypotheses; he can only observe the times of successful sales, however.
Starting with a successful sale at time , let be the arrival time of the th subsequent successful sale. The executive observes and chooses the maximum a posteriori probability hypothesis given this observation. Find the joint probability density and and give the decision rule.
This is the same as (a) except that the system is in steady state at time (rather than starting with a successful sale). Find the density of (the time of the first arrival after time ) conditional on and on . What is the decision rule now after observing .
This is the same as (b), except rather than observing successful sales, the successful sales up to some given time are observed. Find the probability, under each hypothesis, that the first successful sale occurs in , the second in , and the last in (assume very small). What is the decision rule now?
This exercise generalizes the MAP rule to cases where neither a PMF nor a PDF exists. To view the problem in its simplest context, assume a binary decision, a one-dimensional observation (), and fixed a priori probabilities . An arbitrary test, denoted test , can be defined by the set of observations that are mapped into decision . Using such a test, the overall probability of correct decision is given by (8.6) as
The maximum of this probability over all tests is then
We first consider this supremum over all consisting of a finite union of disjoint intervals. Then (using measure theory), we show that the supremum over all measurable sets is the same as that over finite unions of disjoint intervals.
If is a union of intervals, show that is a union of at most disjoint intervals. Intervals can be open or closed on each end and can be bounded by .
Let be the partition of created by the intervals of both and of . Let be the th interval in this partition. Show that
The expression on the right in (b) is a function of the partition but is otherwise independent of . It corresponds to a test where is first quantized to a finite set of intervals, and the MAP test is then applied to this discrete problem. We denote this test as . Let the partition be a refinement of in the sense that each interval of is contained in some interval of . Show that
Show that for any two finite partitions of into intervals, there is a third finite partition that is a refinement of each of them.
Consider a sequence (each is a finite union of intervals) that approaches the supremum (over finite unions of intervals) of (8.85). Demonstrate a corresponding sequence of successive refinements of partitions for which approaches the same limit.
Note what this exercise has shown so far: if the likelihoods have no PDF or PMF, there is no basis for a MAP test on an individual observation . However, by quantizing the observations sufficiently finely, the quantized MAP rule has an overall probability of being correct that is as close as desired to the optimum over all rules where is a finite (but arbitrarily large) union of intervals. The arbitrarily fine quantization means that the decisions are arbitrarily close to pointwise decisions, and the use of quantization means that infinitely fine resolution is not required for the observations.
Next suppose the supremum in (8.85) is taken over all measurable sets . Show that, given any measurable set and any , there is a finite union of intervals such that both for and . Show from this that the supremum in (8.85) is the same whether taken over measurable sets or finite unions of intervals.
For the minimum-cost hypothesis testing problem of Section 8.3, assume that there is a cost of choosing when is correct, and a cost of choosing when is correct. Show that a threshold test minimizes the expected cost using the threshold .
Consider a binary hypothesis testing problem where is or and a one-dimensional observation is given by , where is uniformly distributed over and is independent of .
Find , and the likelihood ratio .
Find the threshold test at for each , and evaluate the conditional error probabilities, and .
Find the error curve and explain carefully how and are found.
Find a discrete sufficient statistic for this problem that has three sample values.
Describe a decision rule for which the error probability under each hypothesis is . You need not use a randomized rule, but you need to handle the don't-care cases under the threshold test carefully.
Recall the bounds from Theorem 9.5.1: for a threshold test at ,
and
where is the semi-invariant MGF of the log-likelihood ratio conditional on .
Use a power series expansion around to show that .
Choose in (9.61) and (9.62). Show that (9.61) can then be rewritten as
Thus approaches with increasing exponentially in .
Using the same power series expansion for in (9.62), show that
Thus .
Explain why the bound in (9.62) is exponentially tight given that as .
Let be a sample having a probability density with respect to a -finite measure , where is unknown and with a known integer . Consider a decision problem in which the action space is and the loss function is
Obtain the risk of a decision rule (which may be randomized).
Let be a prior probability measure on with , . Obtain the Bayes risk of a decision rule.
Obtain a Bayes rule under the prior in (ii).
Assume that , , and , where is the Lebesgue density of the standard normal distribution and , , are known constants. Obtain the Bayes rule in (iii).
Obtain a minimax rule when .
Corresponding exercise in Shao (2003): 2.93.