MAP/ML Detection and Likelihood-Ratio Threshold Tests

[16/100%]
Show
LaTeX

In this exercise, we evaluate P(eη∣X=a→)\mathbb {P}\left( e_{\eta } \mid X=\overrightarrow {a} \right) and P(eη∣X=b→)\mathbb {P}\left( e_{\eta } \mid X=\overrightarrow {b} \right) for binary detection from vector signals in Gaussian noise directly from (8.40) and (8.41).

?
(a)

By using (8.40) for each sample value y→\overrightarrow {y} of Y→\overrightarrow {Y}, show that

E[LLR(Y→)∣X=a→]=−(b→−a→)T(b→−a→)2σ2. \mathbb {E}\left[ \mathrm{LLR}(\overrightarrow {Y}) \mid X=\overrightarrow {a} \right] = \frac{-(\overrightarrow {b}-\overrightarrow {a})^{\mathsf{T}}(\overrightarrow {b}-\overrightarrow {a})}{2\sigma ^{2}}.
(b)

Defining γ=∥b→−a→∥/(2σ)\gamma = \left\| \overrightarrow {b}-\overrightarrow {a}\right\| /(2\sigma ), show that

E[LLR(Y→)∣X=a→]=−2γ2. \mathbb {E}\left[ \mathrm{LLR}(\overrightarrow {Y}) \mid X=\overrightarrow {a} \right] = -2\gamma ^{2}.
(c)

Show that

Var⁡[LLR(Y→)∣X=a→]=4γ2. \operatorname {Var}\left[ \mathrm{LLR}(\overrightarrow {Y}) \mid X=\overrightarrow {a} \right] = 4\gamma ^{2}.
(d)

Show that, conditional on X=a→X=\overrightarrow {a}, LLR(Y→)∼N(−2γ2,4γ2)\mathrm{LLR}(\overrightarrow {Y}) \sim \mathcal{N}(-2\gamma^{2}, 4\gamma^{2}). Show that, conditional on X=a→X=\overrightarrow {a}, LLR(Y→)/2γ∼N(−γ,1)\mathrm{LLR}(\overrightarrow {Y})/2\gamma \sim \mathcal{N}(-\gamma , 1).

(e)

Show that the first half of (8.44) is valid, i.e., that

P(eη∣X=a→)=P(LLR(Y→)≥ln⁡η∣X=a→)=Q(ln⁡η2γ+γ). \mathbb {P}\left( e_{\eta } \mid X=\overrightarrow {a} \right) = \mathbb {P}\left( \mathrm{LLR}(\overrightarrow {Y}) \geq \ln \eta \mid X=\overrightarrow {a} \right) = Q\left(\frac{\ln \eta }{2\gamma }+\gamma \right).
(f)

By essentially repeating (a)--(e), show that the second half of (8.44) is valid, i.e., that

P(eη∣X=b→)=Q(−ln⁡η2γ+γ). \mathbb {P}\left( e_{\eta } \mid X=\overrightarrow {b} \right) = Q\left(\frac{-\ln \eta }{2\gamma }+\gamma \right).
?
(a)

Let U=(b→−a→)TKZ−1Y→U = (\overrightarrow {b}-\overrightarrow {a})^{\mathsf{T}}K_{Z}^{-1}\overrightarrow {Y}. Find E[U∣X=a→]\mathbb {E}\left[ U \mid X=\overrightarrow {a} \right] and E[U∣X=b→]\mathbb {E}\left[ U \mid X=\overrightarrow {b} \right].

(b)

Find the conditional variance of UU conditional on X=a→X=\overrightarrow {a}.

(c)

Give the threshold test in terms of the sample value uu of UU, and evaluate P(eη∣X=a→)\mathbb {P}\left( e_{\eta } \mid X=\overrightarrow {a} \right) and P(eη∣X=b→)\mathbb {P}\left( e_{\eta } \mid X=\overrightarrow {b} \right) from this and (b). Show that your answer agrees with (8.53).

(d)

Explain what happens if [KZ][K_{Z}] is singular.

?
(a)

Let YY be a discrete observation rv for a binary detection problem, let yy be the observed sample value. Let v=v(y)v = v(y) be a sufficient statistic and let VV be the corresponding rv. Show that Λ(y)\Lambda (y) is equal to pV∣X(v(y)∣b)/pV∣X(v(y)∣a)\mathsf{p}_{V|X}(v(y) \mid b)/\mathsf{p}_{V|X}(v(y) \mid a). In other words, show that the likelihood ratio of a sufficient statistic is the same as the likelihood ratio of the original observation.

(b)

Show that this also holds for the ratio of probability densities if VV is a continuous rv or random vector.

?
(a)

Show that if v(y)v(y) is a sufficient statistic according to condition 1 of Theorem 8.2.8, then

pX∣YV(x∣y,v(y))=pX∣Y(x∣y).(A.160) p_{X|YV}\left(x \mid y, v(y)\right) = p_{X|Y}(x \mid y). \tag {A.160}
(b)

Consider the subspace of events conditional on V(y)=vV(y) = v for a given vv. Show that for yy such that v(y)=vv(y) = v,

pX∣YV(x∣y,v(y))=pX∣V(x∣v).(A.161) p_{X|YV}\left(x \mid y, v(y)\right) = p_{X|V}(x \mid v). \tag {A.161}
(c)

Explain why this argument is valid whether YY is a discrete or continuous rv and whether VV is discrete, continuous or part discrete and part continuous.

?
(a)

Let YY be a discrete observation random vector and let v(y)v(y) be a function of the sample values of YY. Show that

pY∣VX(y∣v(y),x)=pY∣X(y∣x)pV∣X(v(y)∣x).(A.163) \mathsf{p}_{Y|VX}\left(y \mid v(y), x\right) = \frac{\mathsf{p}_{Y|X}(y \mid x)}{\mathsf{p}_{V|X}\left(v(y) \mid x\right)}. \tag {A.163}
(b)

Using Theorem 8.2.8, show that the above fraction is independent of XX if and only if v(y)v(y) is a sufficient statistic.

(c)

Now assume that YY is a continuous observation random vector, that v(y)v(y) is a given function, and that V=v(Y)V = v(Y) has a probability density. Define

fY∣VX(y∣v(y),x)=fY∣X(y∣x)fV∣X(v(y)∣x).(A.166) f_{Y|VX}(y \mid v(y), x) = \frac{f_{Y|X}(y \mid x)}{f_{V|X}\left(v(y) \mid x\right)}. \tag {A.166}

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 v(y)v(y) is a sufficient statistic if and only if this fraction is independent of xx.

Consider Example 8.2.5, and let Z→=[A]W→\overrightarrow {Z} = [A]\overrightarrow {W}, where W→∼N(0,I)\overrightarrow {W} \sim \mathcal{N}(0, I) is normalized IID Gaussian and [A][A] is non-singular. The observation rv Y→\overrightarrow {Y} is a→+Z→\overrightarrow {a}+\overrightarrow {Z} given X=a→X=\overrightarrow {a} and is b→+Z→\overrightarrow {b}+\overrightarrow {Z} given X=b→X=\overrightarrow {b}.

?
(a)

Suppose the observed sample value y→\overrightarrow {y} is transformed into v→=[A−1]y→\overrightarrow {v} = [A^{-1}]\overrightarrow {y}. Explain why v→\overrightarrow {v} is a sufficient statistic for this detection problem (and thus why MAP detection based on v→\overrightarrow {v} must yield the same decision as that based on y→\overrightarrow {y}).

(b)

Consider the detection problem where V→=[A−1]a→+W→\overrightarrow {V} = [A^{-1}]\overrightarrow {a}+\overrightarrow {W} given X=a→X=\overrightarrow {a} and [A−1]b→+W→[A^{-1}]\overrightarrow {b}+\overrightarrow {W} given X=b→X=\overrightarrow {b}. Find LLR(v→)\mathrm{LLR}(\overrightarrow {v}) for a sample value v→\overrightarrow {v} of V→\overrightarrow {V}. Show that this is the same as the LLR\mathrm{LLR} for a sample value y→=[A]v→\overrightarrow {y} = [A]\overrightarrow {v} of Y→\overrightarrow {Y}.

(c)

Find P(e∣X=a→)\mathbb {P}\left( e \mid X=\overrightarrow {a} \right) and P(e∣X=b→)\mathbb {P}\left( e \mid X=\overrightarrow {b} \right) for the detection problem in (b) by using the results of Example 8.2.4. Show that your answer agrees with (8.53).

Remark.
?

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 Y→=(Y1,Y2,Y3,Y4)T\overrightarrow {Y} = (Y_{1}, Y_{2}, Y_{3}, Y_{4})^{\mathsf{T}}, where Y→=U→+Z→\overrightarrow {Y} = \overrightarrow {U}+\overrightarrow {Z}. The rv Z→∼N(0,σ2[I])\overrightarrow {Z} \sim \mathcal{N}(0, \sigma^{2}[I]) is independent of XX. Under X=0X=0, U→=(acos⁡φ,asin⁡φ,0,0)T\overrightarrow {U} = (a\cos \varphi , a\sin \varphi , 0, 0)^{\mathsf{T}}, whereas under X=1X=1, U→=(0,0,acos⁡φ,asin⁡φ)T\overrightarrow {U} = (0, 0, a\cos \varphi , a\sin \varphi )^{\mathsf{T}}. The rv φ\varphi is uniformly distributed between 00 and 2π2\pi and is independent of XX and Z→\overrightarrow {Z}. The a priori probabilities are p0=p1=1/2p_{0} = p_{1} = 1/2.

?
(a)

Convince yourself from the circular symmetry of the situation that the ML receiver calculates the sample values v0v_{0} and v1v_{1} of V0=Y12+Y22V_{0} = Y_{1}^{2}+Y_{2}^{2} and V1=Y32+Y42V_{1} = Y_{3}^{2}+Y_{4}^{2} and chooses x^=0\hat{x}=0 if v0≥v1v_{0} \geq v_{1} and chooses x^=1\hat{x}=1 otherwise.

(b)

Find P(V1>v1∣X=0)\mathbb {P}\left( V_{1}>v_{1} \mid X=0 \right) as a function of v1>0v_{1}>0.

(c)

Show that

pY1,Y2∣X,φ(y1,y2∣0,0)=12πσ2exp⁡[−y12−y22+2y1a−a22σ2]. p_{Y_{1},Y_{2}|X,\varphi }(y_{1}, y_{2} \mid 0, 0) = \frac{1}{2\pi \sigma ^{2}}\exp \left[\frac{-y_{1}^{2}-y_{2}^{2}+2y_{1}a-a^{2}}{2\sigma ^{2}}\right].
(d)

Show that

P(V1>V0∣X=0,φ=0)=∫fY1,Y2∣X,φ(y1,y2∣0,0)P(V1>y12+y22) dy1dy2. \mathbb {P}\left( V_{1}>V_{0} \mid X=0,\varphi =0 \right) = \int f_{Y_{1},Y_{2}|X,\varphi }(y_{1}, y_{2} \mid 0, 0)\mathbb {P}\left(V_{1}>y_{1}^{2}+y_{2}^{2}\right) \, dy_{1}dy_{2}.

Show that this is equal to (1/2)exp⁡(−a2/(4σ2))(1/2)\exp (-a^{2}/(4\sigma^{2})).

(e)

Explain why this is the probability of error (i.e., why the event V1>V0V_{1}>V_{0} is independent of φ\varphi), and why P(e∣X=0)=P(e∣X=1)\mathbb {P}\left( e \mid X=0 \right) = \mathbb {P}\left( e \mid X=1 \right).

Binary FSK on a Rayleigh fading channel can be modeled in terms of a four-dimensional observation vector Y→=(Y1,Y2,Y3,Y4)T\overrightarrow {Y} = (Y_{1}, Y_{2}, Y_{3}, Y_{4})^{\mathsf{T}}, where Y→=U→+Z→\overrightarrow {Y} = \overrightarrow {U}+\overrightarrow {Z}. The rv Z→∼N(0,σ2[I])\overrightarrow {Z} \sim \mathcal{N}(0, \sigma^{2}[I]) is independent of U→\overrightarrow {U}. Under X=0X=0, U→=(U1,U2,0,0)T\overrightarrow {U} = (U_{1}, U_{2}, 0, 0)^{\mathsf{T}}, whereas under X=1X=1, U→=(0,0,U3,U4)T\overrightarrow {U} = (0, 0, U_{3}, U_{4})^{\mathsf{T}}. The rvs Ui∼N(0,a2)U_{i} \sim \mathcal{N}(0, a^{2}) are IID. The a priori probabilities are p0=p1=1/2p_{0} = p_{1} = 1/2.

?
(a)

Convince yourself from the circular symmetry of the situation that the ML receiver calculates sample values v0v_{0} and v1v_{1} for V0=Y12+Y22V_{0} = Y_{1}^{2}+Y_{2}^{2} and V1=Y32+Y42V_{1} = Y_{3}^{2}+Y_{4}^{2} and chooses x^=0\hat{x}=0 if v0>v1v_{0}>v_{1} and chooses x^=1\hat{x}=1 otherwise.

(b)

Find fV0∣X(v0∣0)f_{V_{0}|X}(v_{0} \mid 0) and find fV1∣X(v1∣0)f_{V_{1}|X}(v_{1} \mid 0).

(c)

Let W=V0−V1W = V_{0}-V_{1} and find fW(w∣X=0)f_{W}(w \mid X=0).

(d)

Show that P(e∣X=0)=[2+a2/σ2)]−1\mathbb {P}\left( e \mid X=0 \right) = [2+a^{2}/\sigma^{2})]^{-1}. Explain why this is also the unconditional probability of an incorrect decision.

A disease has two strains, 00 and 11, which occur with a priori probabilities p0p_{0} and p1=1−p0p_{1} = 1-p_{0} respectively.

?
(a)

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 y1y_{1} of a rv Y1Y_{1}. Given strain 0 (X=0X=0), Y1=5+Z1Y_{1} = 5+Z_{1}, and given strain 1 (X=1X=1), Y1=1+Z1Y_{1} = 1+Z_{1}. The measurement noise Z1Z_{1} is independent of XX and is Gaussian, Z1∼N(0,σ2)Z_{1} \sim \mathcal{N}(0, \sigma^{2}). Give the MAP decision rule, i.e., determine the set of observations y1y_{1} for which the decision is x^=1\hat{x}=1. Give P(e∣X=0)\mathbb {P}\left( e \mid X=0 \right) and P(e∣X=1)\mathbb {P}\left( e \mid X=1 \right) in terms of the function Q(x)Q(x).

(b)

A budding medical researcher determines that the test is making too many errors. A new measurement procedure is devised with two observation rvs Y1Y_{1} and Y2Y_{2}. Y1Y_{1} is the same as in (a). Y2Y_{2}, under hypothesis 0, is given by Y2=5+Z1+Z2Y_{2} = 5+Z_{1}+Z_{2}, and, under hypothesis 1, is given by Y2=1+Z1+Z2Y_{2} = 1+Z_{1}+Z_{2}. Assume that Z2Z_{2} is independent of both Z1Z_{1} and XX, and that Z2∼N(0,σ2)Z_{2} \sim \mathcal{N}(0, \sigma^{2}). Find the MAP decision rule for x^\hat{x} in terms of the joint observation (y1,y2)(y_{1}, y_{2}), and find P(e∣X=0)\mathbb {P}\left( e \mid X=0 \right) and P(e∣X=1)\mathbb {P}\left( e \mid X=1 \right).

(c)

Explain in laymen's terms why the medical researcher should learn more about probability.

(d)

Now suppose that Z2Z_{2}, in (b), is uniformly distributed between 00 and 11 rather than being Gaussian. We are still given that Z2Z_{2} is independent of both Z1Z_{1} and XX. Find the MAP decision rule for x^\hat{x} in terms of the joint observation (y1,y2)(y_{1}, y_{2}) and find P(e∣X=0)\mathbb {P}\left( e \mid X=0 \right) and P(e∣X=1)\mathbb {P}\left( e \mid X=1 \right).

(e)

Finally, suppose that Z1Z_{1} is also uniformly distributed between 00 and 11. Again find the MAP decision rule and error probabilities.

?
(a)

Consider a binary hypothesis testing problem, and denote the hypotheses as X=1X=1 and X=−1X=-1. Let a→=(a1,a2,…,an)T\overrightarrow {a} = (a_{1}, a_{2}, \ldots , a_{n})^{\mathsf{T}} be an arbitrary real nn-vector and let the observation be a sample value yy of the rv Y→=Xa→+Z→\overrightarrow {Y} = X\overrightarrow {a}+\overrightarrow {Z}, where Z→∼N(0,σ2[In])\overrightarrow {Z} \sim \mathcal{N}(0, \sigma^{2}[I_{n}]) and [In][I_{n}] is the n×nn \times n identity matrix. Assume that Z→\overrightarrow {Z} and XX are independent. Find the ML decision rule and find the probabilities of error P(e∣X=0)\mathbb {P}\left( e \mid X=0 \right) and P(e∣X=1)\mathbb {P}\left( e \mid X=1 \right) in terms of the function Q(x)Q(x).

(b)

Now suppose a third hypothesis, X=0X=0, is added to the situation of (a). Again the observation rv is Y→=Xa→+Z→\overrightarrow {Y} = X\overrightarrow {a}+\overrightarrow {Z}, but here XX can take on values −1,0-1, 0, or +1+1. Find a one-dimensional sufficient statistic for this problem (i.e., a one-dimensional function of yy from which the likelihood ratios

Λ1(y→)=pY∣X(y∣1)pY∣X(y∣0)andΛ−1(y→)=pY∣X(y∣−1)pY∣X(y∣0) \Lambda _{1}(\overrightarrow {y}) = \frac{p_{Y|X}(y \mid 1)}{p_{Y|X}(y \mid 0)} \quad \text{and} \quad \Lambda _{-1}(\overrightarrow {y}) = \frac{p_{Y|X}(y \mid -1)}{p_{Y|X}(y \mid 0)}

can be calculated).

(c)

Find the ML decision rule for the situation in (b) and find the probabilities of error, P(e∣X=x)\mathbb {P}\left( e \mid X=x \right) for x=−1,0,+1x=-1,0,+1.

(d)

Now suppose that Z1,…,ZnZ_{1}, \ldots , Z_{n} in (a) are IID and each is uniformly distributed over the interval −2-2 to +2+2. Also assume that a→=(1,1,…,1)T\overrightarrow {a} = (1,1,\ldots ,1)^{\mathsf{T}}. 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 X=1X=1), each second arrival is routed to the competition; thus under hypothesis 1 the interarrival density for successful sales is f(y∣X=1)=ye−y;y≥0f(y|X=1) = ye^{-y}; y \geq 0. The alternative hypothesis (X=0X=0) is that the rumor is false and the interarrival density for successful sales is f(y∣X=0)=e−y;y≥0f(y|X=0) = e^{-y}; y \geq 0. 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.

?
(a)

Starting with a successful sale at time 00, let SiS_{i} be the arrival time of the iith subsequent successful sale. The executive observes S1,S2,…,Sn(n≥1)S_{1}, S_{2}, \ldots , S_{n} (n \geq 1) and chooses the maximum a posteriori probability hypothesis given this observation. Find the joint probability density f(S1,S2,…,Sn∣X=1)f(S_{1}, S_{2}, \ldots , S_{n}|X=1) and f(S1,…,Sn∣X=0)f(S_{1}, \ldots , S_{n}|X=0) and give the decision rule.

(b)

This is the same as (a) except that the system is in steady state at time 00 (rather than starting with a successful sale). Find the density of S1S_{1} (the time of the first arrival after time 00) conditional on X=0X=0 and on X=1X=1. What is the decision rule now after observing S1,…,SnS_{1}, \ldots , S_{n}.

(c)

This is the same as (b), except rather than observing nn successful sales, the successful sales up to some given time tt are observed. Find the probability, under each hypothesis, that the first successful sale occurs in (s1,s1+Δ](s_{1}, s_{1}+\Delta ], the second in (s2,s2+Δ],…(s_{2}, s_{2}+\Delta ], \ldots, and the last in (sN(t),sN(t)+Δ](s_{N(t)}, s_{N(t)}+\Delta ] (assume Δ\Delta 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 (y∈R1y \in \mathbb {R}^{1}), and fixed a priori probabilities p0,p1p_{0}, p_{1}. An arbitrary test, denoted test AA, can be defined by the set AA of observations that are mapped into decision x^=1\hat{x}=1. Using such a test, the overall probability of correct decision is given by (8.6) as

P(X^A(Y)=X)=p0P(Y∈Ac∣X=0)+p1P(Y∈A∣X=1).(8.84) \mathbb {P}\left(\hat{X}_{A}(Y) = X\right) = p_{0}\mathbb {P}\left( Y \in A^{c} \mid X=0 \right) + p_{1}\mathbb {P}\left( Y \in A \mid X=1 \right). \tag {8.84}

The maximum of this probability over all tests AA is then

sup⁡AP(X^A(Y)=X)=sup⁡A[p0P(Y∈Ac∣X=0)+p1P(Y∈A∣X=1)].(8.85) \sup _{A}\mathbb {P}\left(\hat{X}_{A}(Y) = X\right) = \sup _{A}\left[p_{0}\mathbb {P}\left( Y \in A^{c} \mid X=0 \right) + p_{1}\mathbb {P}\left( Y \in A \mid X=1 \right)\right]. \tag {8.85}

We first consider this supremum over all AA consisting of a finite union of disjoint intervals. Then (using measure theory), we show that the supremum over all measurable sets AA is the same as that over finite unions of disjoint intervals.

?
(a)

If AA is a union of kk intervals, show that AcA^{c} is a union of at most k+1k+1 disjoint intervals. Intervals can be open or closed on each end and can be bounded by ±∞\pm \infty.

(b)

Let I\mathcal{I} be the partition of R\mathbb {R} created by the intervals of both AA and of AcA^{c}. Let Ij\mathcal{I}_{j} be the jjth interval in this partition. Show that

P(x^A(Y)=X)≤∑jmax⁡[p0P(Y∈Ij∣X=0), p1P(Y∈Ij∣X=1)]. \mathbb {P}\left(\hat{x}_{A}(Y) = X\right) \leq \sum _{j}\max \left[p_{0}\mathbb {P}\left( Y \in \mathcal{I}_{j} \mid X=0 \right), \, p_{1}\mathbb {P}\left( Y \in \mathcal{I}_{j} \mid X=1 \right)\right].
(c)

The expression on the right in (b) is a function of the partition but is otherwise independent of AA. It corresponds to a test where YY 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 MAP(I)\mathrm{MAP}(\mathcal{I}). Let the partition I′\mathcal{I}' be a refinement of I\mathcal{I} in the sense that each interval of I′\mathcal{I}' is contained in some interval of I\mathcal{I}. Show that

P(x^MAP(I)(Y)=X)≤P(x^MAP(I′)(Y)=X). \mathbb {P}\left(\hat{x}_{\mathrm{MAP}(\mathcal{I})}(Y) = X\right) \leq \mathbb {P}\left(\hat{x}_{\mathrm{MAP}(\mathcal{I}')}(Y) = X\right).
(d)

Show that for any two finite partitions of R\mathbb {R} into intervals, there is a third finite partition that is a refinement of each of them.

(e)

Consider a sequence {Aj,j≥1}\left\{ A_{j}, j \geq 1\right\} (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 {Ij,j≥1}\left\{ \mathcal{I}_{j}, j \geq 1\right\} for which P(x^MAP(Ij)(Y)=X)\mathbb {P}\left(\hat{x}_{\mathrm{MAP}(\mathcal{I}_{j})}(Y) = X\right) 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 yy. 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 AA 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.

(f)

Next suppose the supremum in (8.85) is taken over all measurable sets A∈RA \in \mathbb {R}. Show that, given any measurable set AA and any ϵ>0\epsilon >0, there is a finite union of intervals A′A' such that P(A≠A′∣X=ℓ)≤ϵ\mathbb {P}\left( A \neq A' \mid X=\ell \right) \leq \epsilon both for ℓ=0\ell =0 and ℓ=1\ell =1. 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 C0C_{0} of choosing X=1X=1 when X=0X=0 is correct, and a cost C1C_{1} of choosing X=0X=0 when X=1X=1 is correct. Show that a threshold test minimizes the expected cost using the threshold η=(C0p0)/(C1p1)\eta = (C_{0}p_{0})/(C_{1}p_{1}).

?

Consider a binary hypothesis testing problem where XX is 00 or 11 and a one-dimensional observation YY is given by Y=X+UY = X+U, where UU is uniformly distributed over [−1,1][-1, 1] and is independent of XX.

?
(a)

Find fY∣X(y∣0)f_{Y|X}(y \mid 0), fY∣X(y∣1)f_{Y|X}(y \mid 1) and the likelihood ratio Λ(y)\Lambda (y).

(b)

Find the threshold test at η\eta for each η\eta, 0<η<∞0<\eta <\infty and evaluate the conditional error probabilities, q0(η)q_{0}(\eta ) and q1(η)q_{1}(\eta ).

(c)

Find the error curve u(θ)u(\theta ) and explain carefully how u(0)u(0) and u(1/2)u(1/2) are found.

(d)

Find a discrete sufficient statistic v(y)v(y) for this problem that has three sample values.

(e)

Describe a decision rule for which the error probability under each hypothesis is 1/41/4. 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 η=enγ0(r)\eta = e^{n\gamma_{0}(r)},

P(e(n)∣X=0)≤exp⁡(n[γ0(r)−rγ0′(r)])(9.61) \mathbb {P}\left(e(n) \mid X=0\right) \leq \exp \left(n\left[\gamma _{0}(r) - r\gamma _{0}'(r)\right]\right) \tag {9.61}

and

P(e(n)∣X=1)≤exp⁡(n[γ0(r)+(1−r)γ0′(r)]),(9.62) \mathbb {P}\left(e(n) \mid X=1\right) \leq \exp \left(n\left[\gamma _{0}(r) + (1-r)\gamma _{0}'(r)\right]\right), \tag {9.62}

where γ0(r)\gamma_{0}(r) is the semi-invariant MGF of the log-likelihood ratio ZZ conditional on X=0X = 0.

?
(a)

Use a power series expansion around r=0r = 0 to show that γ0(r)−rγ0′(r)=−r2γ0′′(0)/2+o(r2)\gamma_{0}(r) - r\gamma_{0}'(r) = -r^{2}\gamma_{0}''(0)/2 + o(r^{2}).

(b)

Choose r=n−1/3r = n^{-1/3} in (9.61) and (9.62). Show that (9.61) can then be rewritten as

P(e(n)∣X=0)≤exp⁡{n[−r2γ0′′(0)/2+o(r2)]}=exp⁡{−n1/3γ0′′(0)/2+o(n1/3)}. \begin{aligned} \mathbb {P}\left(e(n) \mid X=0\right) & \leq \exp \left\{ n\left[-r^{2}\gamma _{0}''(0)/2 + o(r^{2})\right]\right\} \\ & = \exp \left\{ -n^{1/3}\gamma _{0}''(0)/2 + o(n^{1/3})\right\} . \end{aligned}

Thus P(e(n)∣X=0)\mathbb {P}\left(e(n) \mid X=0\right) approaches 00 with increasing nn exponentially in n1/3n^{1/3}.

(c)

Using the same power series expansion for rr in (9.62), show that

P(e(n)∣X=1)≤exp⁡{n[r2γ0′′(0)/2+γ0′(0)+o(r)]}=exp⁡{nγ0′(0)+o(n2/3)}. \begin{aligned} \mathbb {P}\left(e(n) \mid X=1\right) & \leq \exp \left\{ n\left[r^{2}\gamma _{0}''(0)/2 + \gamma _{0}'(0) + o(r)\right]\right\} \\ & = \exp \left\{ n\gamma _{0}'(0) + o(n^{2/3})\right\} . \end{aligned}

Thus lim⁡n(1/n)ln⁡P(e(n)∣X=1)=γ0′(0)=E[Z∣X=0]\lim_{n}(1/n)\ln \mathbb {P}\left(e(n) \mid X=1\right) = \gamma_{0}'(0) = \mathbb {E}\left[Z \mid X=0\right].

(d)

Explain why the bound in (9.62) is exponentially tight given that P(e(n)∣X=0)→0\mathbb {P}\left(e(n) \mid X=0\right) \rightarrow 0 as n→∞n \rightarrow \infty.

Let XX be a sample having a probability density fj(x)f_j(x) with respect to a σ\sigma-finite measure ν\nu, where jj is unknown and j∈{1,…,J}j\in \left\{ 1,\ldots ,J\right\} with a known integer J≥2J\ge 2. Consider a decision problem in which the action space is {1,…,J}\left\{ 1,\ldots ,J\right\} and the loss function is

L(j,a)={0if a=j,1if a≠j. L(j,a)=\begin{cases} 0& \text{if }a=j,\\ 1& \text{if }a\ne j.\end{cases}
?
(i)

Obtain the risk of a decision rule (which may be randomized).

(ii)

Let Π\Pi be a prior probability measure on {1,…,J}\left\{ 1,\ldots ,J\right\} with Π({j})=πj\Pi (\left\{ j\right\} )=\pi_j, j=1,…,Jj=1,\ldots ,J. Obtain the Bayes risk of a decision rule.

(iii)

Obtain a Bayes rule under the prior Π\Pi in (ii).

(iv)

Assume that J=2J=2, π1=π2=0.5\pi_1=\pi_2=0.5, and fj(x)=ϕ(x−μj)f_j(x)=\phi (x-\mu_j), where ϕ(x)\phi (x) is the Lebesgue density of the standard normal distribution and μj\mu_j, j=1,2j=1,2, are known constants. Obtain the Bayes rule in (iii).

(v)

Obtain a minimax rule when J=2J=2.

Remark.
?

Corresponding exercise in Shao (2003): 2.93.

References

[Gal13] Gallager R.G. Stochastic Processes: Theory for Applications. Cambridge University Press, 2013.
[Sha05] Shao J. Mathematical Statistics: Exercises and Solutions. Springer, 2005.