ML test: Smoke detector
Suppose that a smoke detector sensor is configured to produce
Design an ML test for the detector electronics to decide whether to activate the alarm.
What are the three error probabilities? (Type I, Type II, Total.)
Solution
First, establish the conditional distributions:
Density functions:
The ML condition becomes:
Therefore,
The decision rule is: activate alarm when
Type I error:
Type II error:
Total error:
MAP test: Smoke detector
Suppose that a smoke detector sensor is configured to produce
Suppose that the background chance of smoke is
What are the three error probabilities? (Type I, Type II, Total.)
Solution
First, establish priors:
The MAP condition becomes:
Therefore,
The decision rule is: activate alarm when
Type I error:
Type II error:
Total error:
MC Test: Smoke detector
Suppose that a smoke detector sensor is configured to produce
Suppose that the background chance of smoke is
Compute the expected cost.
Solution
We have priors:
And we have costs:
(The ratio of these numbers is all that matters in the inequalities of the condition.)
The MC condition becomes:
Therefore,
The decision rule is: activate alarm when
Type I error:
Type II error:
Total error:
PMF of total cost:
Therefore