Introductory Mathematics
Update the two possible causes of an alarm
The alarm rate stays fixed; faults become common
An alarm is common enough among working components that Botie must consider the starting shares of both causes.
BOTIE
The inputs we are comparing
Faulty and working priors
Rare faults
- 00.01
- 10.99
More common faults
- 00.2
- 10.8
Alarm rates given each cause
Same in both cases
- 00.9
- 10.1
Result for rare faults
- 00.0833
- 10.9167
A rarer false alarm
This check uses the pieces from “Change the reference group to alarms”.
BOTIE
- Faulty and working priors
- 00.05
- 10.95
- Alarm rates given each cause
- 00.8
- 10.02
Use a number, text, or an array matching the requested result. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.
Build a construction in the workspace above first. This case will test those pieces.
Which part of your construction distinguishes the probability of an alarm given a fault from the probability of a fault given an alarm?
Multiply each possible cause's prior by its evidence likelihood before normalising across causes.
These invented rates are known inputs. This calculation neither estimates their uncertainty nor decides whether an inspection is worth its cost.
Work through the Python challenges →