Math & Statistics MTH-04 Probability: Bayes' Theorem for an Inspection Flag

Is a flagged main segment really leaking?

In a water utility's distribution network, 4% of main segments have an active leak. An acoustic leak-noise logger flags 92% of leaking segments and also flags 6% of segments with no leak. Given that a segment is flagged, the probability that it actually leaks is most nearly:

  1. 0.390
  2. 0.0368
  3. 0.610
  4. 0.920

Solve it with hints and the tutor Free, no account. Commit to an answer before you look.

Show the answer and worked solution

Answer: A (0.390).

Step-by-step solution

  1. Find the probability of a flag. Why: a flag can come from a leaking segment (true positive) or a sound one (false positive), and the total-probability rule adds both. P(F) = 0.04 × 0.92 + 0.96 × 0.06 = 0.0368 + 0.0576 = 0.0944.
  2. Apply Bayes' theorem. Why: the question asks for P(D | F), the reverse of the logger's 92% detection rate. P(D | F) = 0.0368/0.0944 = 0.390.
  3. False flags (0.0576) outnumber true flags (0.0368) because leaks are rare, so P(D | F) < 0.5. ✓

Why the other choices are wrong

  • B. It stops at the joint probability P(F and D) and does not divide by P(F).
  • C. It reports P(no leak | flag), the complement.
  • D. It confuses P(F | D) with P(D | F).

Key idea: Bayes: P(D | F) = P(F | D)P(D)/P(F); rare events give many false positives.

Keep going

← Limit of a growth factor · Bend radius of a draped tendon profile →

All FE Civil Mathematics and Statistics problems, study guide and flashcards · All 14 knowledge areas

Not affiliated with or endorsed by NCEES. Exam facts are summarized from ncees.org and the FE Civil CBT exam specifications; check NCEES for the current rules before you register.