





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Decision-making under uncertainty II
Probability with Engineering ApplicationsDecision making under uncertainty IIProfessor Dilip V. SarwateDepartment of Electrical andComputer Engineering© 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign. All Rights Reserved
is trueM– z^ X^ is a random variable whose value wecan observe, and use, to decide which of ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 1 of 48 the hypotheses is true z If Hhappens to be the true hypothesis,i^ then the pmf of^
X^ is P(u)i z^ To avoid trivialities, we assume that M
X^ and announce our decision as to which hypothesis webelieve to be true z This decision may or may not coincide ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 2 of 48 y^ y with reality — our decision may be H
i when in fact Hj^
is the true hypothesis z^ The decision rule (which we are free tochoose as we wish) assigns a hypothesis(the decision!) to each possible value of
X^ and the corresponding decisions z After observing the value of
X , we merely ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 3 of 48 g^
y look up our decision in the table andannounce it! z The process is completely mechanical (orcomputerized?) — observe
X^ and look up the decision from the table
z^ Thus, there are M
N^ different decision rules that we could use ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 4 of 48 z^ If M > N, some hypotheses will never bechosen for any value of
z^ If M < N, several values of
X^ will result in the same decision
X^ takes on only the values 1 and 2 z Our decision rule is as follows ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 5 of 48 If^ X^ = 1, decide H
is the true hypothesis 0 If^ X^ = 2, decide H
is the true hypothesis 1 z^ Remember that the decision might not becorrect (or it might be correct)
X , we choose the ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
g^ Slide 6 of 48 decision “randomly” with speci
fied probabilities z If^ X^ = 1, toss a coin with P(Heads) = 0.7and decide Hif Heads, H^0
if Tails 1 z^ If^ X^ = 2, toss a coin with P(Heads) = 0.25and decide H
if Heads, Hif Tails 0 1
z^ If^ X^ = 1, toss a coin with P(Heads) = 0.7and decide H^0
if Heads, Hif Tails 1 z^ If^ X^ = 2, toss a coin with P(Heads) = 0.25and decide H^0
if Heads, Hif Tails 1 ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 7 of 48 (^0 1) z Our deterministic decision rule (H
if^ X^ = 1 0 and Hif^ X^ = 2) is trivially a randomized^1 rule z We merely toss a two-headed coin if
and a two-tailed coin if
th^ d t^
i i ti^ l ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 8 of 48 elegant solutions than deterministic rules z But, they add more complications to life z We will not discuss randomized rules indetail any further — just be aware(beware?) of their existence
depends on which one of Mhypotheses happens to be true z^ Let^ X^ take on values u
, u, … u 1 2 N z^ We write the pmfs in an likelihood array (or ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 9 of 48 z^ We^ write the pmfs in an likelihood array (orlikelihood matrix) of M rows (one for eachhypothesis) and N columns (one for eachof the possible values of
z^ We denote this M
×N matrix by L (for likelihood)
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 10 of 48 values^ taken on by
z^ The entry in the i-th row and j-th column isP(u), the probability thatij
X^ = uwhen Hj^ i^
is the true hypothesis z The sum of the entries in each row is 1
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 11 of 48 H0.16^ 0.1^2
z^ The values of
X^ are shown in orangeabove the top row z^ Each row is a pmf; some values are 0
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 18 of 48 z^ P{error when H
is true} = P{ X^ 0
z^ P{ X^ ≠^ 0} = sum of unshaded entries on theH^0 H0.16^ 0.1^ 0.1^2 row of the likelihood matrix^
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 19 of 48 z^ More generally, if H
is the true hypothesis,i H0.16^ 0.1^2 P{error} = sum of unshaded entries on theHrow of the likelihood matrixi^
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 20 of 48 z^ P{error} = 0.8, 0.36, 0.36, and 0.7according as H
, H, H, Hare (^0 1 2 3) the true hypotheses H0.16^ 0.1^2
X , say u^3 z^ Under which hypothesis would the eventalready observed, viz. {
X^ = u}, have had^3 ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
3^ Slide 21 of 48 the largest probability? z The hypothesis which maximizes thisprobability is the maximum-likelihooddecision when {
X^ = u} is observed^3 z^ Repeat for other values of
i t th t^ lli^ th
thi ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 22 of 48 z^ Statisticians insist that calling these thingsprobabilities is a grievous sin — they arelikelihoods, not probabilities! z^ For each observation, the maximum-likelihood decision rule maximizes thelikelihood of the observation
X^ = u} have had the^3 largest probability (or likelihood)? z Which of the probabilities (likelihoods)P (^ ) i^ th^ l^
t? ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 23 of 48 P(u) is the largest?i^3 z Remember that P
(u) is the pmf ofij
X^ when His the true hypothesisi^ z Operationally, the ML rule says: shadethe largest entry in each column of L
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 24 of 48 z^ Notice that the largest entry in eachcolumn is shaded z^ But what about the column for
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 25 of 48 H0.16^2 z Which 0.3 entry should we choose?
z^ It depends on which error probability wewant to make smaller
H:^ X^ ~ Binom(n p^1
) where p<< p 1 0
1 ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 26 of 48 H:^ X^ Binom(n, p^1
) where p<< p 1 0
1 z^ The likelihood matrix has 2 rows and n+1columns z^ k-th column entries are P
(k) and P(k) 0 1 k^ n–k^ •p(1 – p)^ and
k^ n–k •p(1 – p)^ nk
nk 0 0
1 1
k^ or^ •p(1 – p)
n–k^? nk
nk 0 0
1 1 z^ The answer depends on the value of k ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 27 of 48 p z^ Take the logarithm of the ratio P
(k)/P(k) 1 0 z^ If k•ln(p/p) + (n–k)•ln[(1–p^1
)/(1–p^ )] > 0, 1 0 then P(k) > P^1
(k)^ ⇒^ the ML rule says H
1 z^ If k >^
, say H^1 n•ln[(1–p^ )/(1–p^0
ln(p/p) + ln[(1–p^1
)/(1–p^ )] 0 1
H: X ~ Binom(n, p^1
) where p< p 1 0 1 z^ The maximum-likelihood decision rule interms of L looks something as shown ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 28 of 48 terms^ of L looks something as shownwhere the “break-point” is given by themaximum-likelihood threshold
θML n•ln[(1–p z θ= (^) ML )/(1–p^ )] (^0 1) ln(p/p) + ln[(1–p)/(1–p^ )] 1 0 0 1 H^0 H^1
H:^ X^ ~ Binom(n, p^1
) where p< p 1 0 1 z^ The maximum-likelihood decision rule isas follows: If the observed value of
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 29 of 48 as^ follows: If the observed value of
exceeds the maximum-likelihood thresholdn•ln[(1–p θ=^ ML^
)/(1–p^ )] (^0 1) ln(p/p) + ln[(1–p)/(1–p^ )] 1 0 0 1 then announce the decision as H
(the 1 target is present). Else announce H
0
Slide 36 of 48
p^ y hypothesis H^ is true is just the sum of thei^ unshaded entries on the i-th row of thelikelihood matrix L z The i-th row of L is just the conditional pmfof^ X^ given that H
is true (i.e. occurred),i that is, it is p X |H
)i
Slide 37 of 48
is true is justi the sum of the shaded entries on the i-throw of the likelihood matrix L z We now convert the likelihood matrix intothe joint probability matrix
X^ given that Hi is true (i.e. occurred) z If we multiply the i-th row by P(H
), we geti ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 38 of 48 p y^
y^ (^ )^ gi the probabilities that
X^ has the various values and that H
is truei z^ Carrying out this operation on all the rowsof L gives a matrix called the jointprobability matrix J
Slide 39 of 48 z^ K = diag[P(H^0
z^ J is a giant Venn diagram whose (i,j)-thentry is the joint probability P[{
X^ = u}∩H]ji z^ The sum of all the entries in J is 1
Slide 40 of 48 z^ Since the row sums in L were 1, the rowsums in J are just the P(H
)i z^ The column sums in J give us theunconditional pmf of
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 41 of 48 H0.16^ 0.1^2
z^ Suppose that P(H
) = 0.4 = P(H) and 0 3 P(H) = 0.1 = P(H^1
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 42 of 48 H0.016^ 0.01^2
z^ P(H) = 0.4 = P(H^0
z^ P(H) = 0.1 = P(H^1
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 43 of 48
z^ P(C) = (0.2+0.3)
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 44 of 48 H0.016^ 0.01^2
z^ P(C) = sum of shaded entries= 0.08 + 0.064 + 0.064 + 0.12= 0.
fied by shading entries in L, the (average)probability of a correct decision is the sumof the corresponding shaded entries in JTh^ (^ )^
b bilit^ f^
i^ th ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 45 of 48 z^ The (average) probability of error is thesum of all the unshaded entries in J z^ L and J provide a simple procedure forcomputing various error probabilities z^ L gives conditional error probabilities;J gives average error probabilities
Slide 46 of 48 z^ Which^ entries
are to be shaded is up to us! z^ We can maximize P(C) (and thus minimizeP(E)) by shading the largest entry in eachcolumn of J z^ The corresponding decision rule is called aminimum-error-probability decision rule
ECE 313 - Lecture 16^ © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved
Slide 47 of 48 H0.016^2 z P(C) = sum of shaded entries= 0.08 + 0.12 + 0.12 + 0.16= 0.48 > 0.