ApiaryActiveLive
Try: pause · settings · learn · wipe
← Community / Reading Room
WA
applied-measurement · 25 min read

Why a Good Alert Can Still Mostly Be False

!Small weather alarm housing and unobtrusive rain sensor at dusk on an irrigation shed. (generated illustration)

Small weather alarm housing and unobtrusive rain sensor at dusk on an irrigation shed. (generated illustration)
Small weather alarm housing and unobtrusive rain sensor at dusk on an irrigation shed. (generated illustration)
True and false alerts in a constructed 10,000-check example (illustrative; data table below)
True and false alerts in a constructed 10,000-check example (illustrative; data table below)
CategoryValue (alerts)
True alerts90
False alerts198

Illustrative only, not taken from a source dataset. Assumes 100 events, 90 percent sensitivity and 2 percent false positive rate among 9,900 non-events.

The alert on the irrigation shed is supposed to answer a modest question: did water collect where it usually does not? The sensor logs a signal, a rule checks that signal against a cutoff, and the phone displays a message. A test report says the rule detects ninety percent of the events it is looking for. On uneventful checks it mistakenly fires just two percent of the time. The garden crew therefore expects most messages to point to real water. Yet in a realistic-looking hypothetical month, there are more than twice as many false messages as true ones. Nothing about those three claims is contradictory.

The arithmetic turns on which group is being counted. Sensitivity starts with the actual events and asks how many the rule caught. The false positive rate starts with actual non-events and asks how many the rule wrongly flagged. The crew's question starts somewhere else: with the messages that were issued. To answer it, put the caught events and the wrongly flagged non-events into the same pile. The much larger supply of non-events can make its smaller individual error rate produce the larger pile.

This is the base-rate problem, but it is not a lesson in distrusting every alert. It is a way to decide what an alert should be allowed to do. A possibly false message can be a sensible reason to take a quick look. The same message may be a poor basis for sending someone out after dark or interrupting a scheduled irrigation run. By separating the equipment decision from the evidence decision, a field team can keep a useful sensor, change its workflow, and measure whether the change actually helps.

Put the event into one sentence you can test

Specify the condition in the field before thinking about its signal. “Water where it usually does not belong” is a good reason to start a project but a poor reference label. In a teaching setup, define an in-scope check as a scheduled reading at a named station within the operation window, and define an event as a specified visible standing-water condition at that station during a specified interval. Decide how the confirmation will distinguish a new event from yesterday's wet surface. Avoid borrowing the same electrical threshold from the alert to decide what the event really was. Otherwise, agreement partly measures whether the rule agrees with itself.

Scope matters in both directions. A genuine overflow outside the monitored area is important to the garden, but it may fall outside the intended target of this particular sensor. A little condensation on the sensing surface can be sufficient to trip the rule without meeting the standing-water criterion. The alert can therefore be an operationally understandable mistake and still be a false positive. Conversely, a true positive for standing water does not establish that a particular valve failed. Causal diagnosis is a second job. Define whether the system is an event detector, a source detector, or a general invitation to inspect.

Next define the check rather than assuming that everyone means the same thing by it. A check might be one sensor reading, an evaluation of five minutes of readings, a visit to one plot, or one scheduled station interval. Changing the window changes which opportunities enter the denominator. A station that looks once an hour and another that looks once a minute will create quite different sets of non-event checks, even at the same physical site. In the example in this article, the check is an abstract but consistent evaluation opportunity. It is not assumed to be one day, one message, or one independent storm.

Classify periods when the equipment is unavailable separately. A device that disconnected during rain did not emit a negative result in any ordinary sense. If it supplied no check, record “unavailable”; if it logged a check but the independent reference could not establish status, record “unknown.” Do not hide either category by assuming no message equals no water. A report about how the detector behaves during functioning periods is not the same as a report about whether the deployed system protects the entire period people want covered. Each is useful, but only if the distinction is visible.

A clean event definition also keeps the team from adjusting the reference to protect the metric. If volunteers initially call a thin shiny patch a non-event and later count it as an event after seeing high alert volumes, the before-and-after numbers no longer measure the same thing. There may be a good reason to revise the criterion. Record the date, rescore the old examples where evidence permits, and use a version label where it does not. An audit can then separate a change in the field from a change in what the team regards as important.

Three percentages with three different denominators

Start with true positives, false positives, false negatives, and true negatives. These names refer to an alert choice and the independently assessed condition. True positives are the alerts that coincide with the target condition under the matching rule. False positives are alerts that do not. False negatives are target conditions that do not produce an alert. True negatives are non-events that do not produce an alert. The order in which these four entries appear in a confusion matrix is a layout choice. The definitions should travel with any exported spreadsheet so a reader does not have to infer orientation from a diagram.

Sensitivity, also called recall in many classification contexts, is true positives divided by the number of actual positives. Its complement is the fraction of events missed, not the fraction of alerts that are false. The false positive rate is false positives divided by the number of actual negatives. Its complement is specificity, the share of non-events correctly left alone. Precision, also called positive predictive value here, is true positives divided by the number of issued alerts. Google's first-party classification guide presents these distinctions as proportions formed from a confusion matrix.

When a metric is reported without counts, imagine someone asking which row of the log they should reach into to get its denominator. For sensitivity, they need all confirmed events, including the quiet ones. For the false positive rate, they need confirmed non-events, including those when no message appeared. For precision, they need the messages and what was found at each. An organization that only follows up on messages may be able to estimate precision for the types of messages it verifies. It cannot recover either of the other two measures from the same narrow log without additional evidence.

Terms such as “false alarm rate” are particularly easy to misuse. Some reports mean false alerts per actual non-event, some mean false alerts per unit of operating time, and a person holding a phone may mean false alerts per all alerts received. Those are three different calculations with different uses. Rates per hour estimate workload and exposure to interruptions. Rates per check describe an aspect of classification. Shares per message describe what a message is worth as evidence. Include the formula or actual counts when using a name that might invite more than one interpretation.

Accuracy is another denominator entirely: the proportion of all checks classified correctly. It can be useful when costs and frequencies make that average a fair summary, but a rare target can make it look reassuring for an obviously bad rule. In a set with one event per hundred checks, always announcing “no event” is correct about ninety-nine percent of the time. It never catches an event. Comparing that rule to a useful alert by overall accuracy alone quietly awards more credit for leaving one more routine check alone than for finding an event. That may not be the decision the garden wants to make.

Chart: True and false alerts in a constructed 10,000-check example

This bar chart and matching table are illustrative only. No measurements, test results, or public dataset are represented. Imagine 10,000 checks, of which 100 contain an event and 9,900 do not. Assign sensitivity of 90 percent and a false positive rate of 2 percent among the non-events. These rates are chosen for transparent arithmetic; they do not describe any sensor or recommended configuration.

Alert categoryCount (alerts)
True alerts90
False alerts198

There are ninety true alerts because ninety percent of one hundred is ninety. Ten actual events were missed. Two percent of 9,900 is 198 false alerts. That leaves 9,702 non-events correctly left quiet. Ninety plus 198 yields 288 issued alerts; ninety divided by 288 gives precision of 31.25 percent. Conversely, 68.75 percent of alerts are false. That last figure does not say the false positive rate is 68.75 percent. It reports the fraction among the messages, while the false positive rate remains 198 divided by 9,900, or 2 percent.

Walking through the other pile can reveal a second surprise. There are 9,712 quiet checks, made from 9,702 correctly quiet checks and ten misses. An ordinary quiet check is therefore very likely to be a non-event in this example. That is not a contradiction with the possibility that some real events went unseen. Most checks were non-events before the detector said anything. A person asking whether a particular missing alarm should be investigated needs to consider exposure, context, and the validity of the sensor, not just point to the large number of correctly quiet checks.

The chart intentionally omits the two quiet outcomes because it answers the question of what is in the notification pile. Hiding quiet checks here is not the same as ignoring them in the evidence. The counts used to derive sensitivity and the false positive rate are all described alongside the figure. If instead the chart were used to show the complete confusion matrix, the quiet outcomes must be included. Match the figure to its question, and supply the surrounding counts that prevent readers from treating it as evidence of something else.

The NIST/SEMATECH handbook's graphical techniques index provides general tools for exploring data visually. It is a methodological reference, not the source of these invented values. This matters when charts are reused in slides or newsletters. “Data: NIST” would incorrectly imply that someone at NIST counted these events. Instead credit the graph as a constructed example and keep the assumption note attached. Even a tiny two-bar graph can be technically reproducible only if its reader knows the input values and which derived quantities it shows.

Derive the result before changing the rate

Suppose the share of actual events in checks is p, sensitivity is s, and the false positive rate is f. Over N checks, N times p times s is the expected true alert count, and N times the product of one minus p and f is the expected false alert count. Dividing expected true alerts by expected total alerts cancels N. In probability terms, the precision implied by those assumptions is ps divided by ps plus (1 minus p)f, provided that the denominator is nonzero. The name often attached to this inversion is Bayes' rule, but a count of the two piles works without first learning the notation.

These products are expectations when the inputs are probabilities. They are not a promise that a finite trial yields exactly those counts, and the cancellation of N does not make sample size irrelevant to uncertainty. In the toy chart the counts were defined by the construction and happen to be whole numbers. In a real deployment the number of events and the rate estimates vary, and the mix of checks may vary with season, hour, or site. A forecast of 0.7 alerts is not the instruction to send a partial message. It means an average across a model of repeated comparable periods.

At one percent prevalence, the original system has a useful property despite low precision: an alert moves the estimated probability from one percent before seeing the output to just over thirty-one percent afterward. Imagine a volunteer deciding whether to spend twenty seconds glancing at a nearby patch. That change in evidence can matter. It may not be enough to order repairs in advance. Avoid treating “less than half are true” as equivalent to “no information.” An informed response can be graded to the evidence, just as the strength of the evidence can differ from whether the actual rare condition is present.

The half-true crossover illustrates the roles of the parameters. True alerts outnumber false alerts when p times s exceeds (1 minus p) times f. With the original 90 and 2 percent conditional rates, that requires a prevalence greater than about 2.17 percent. Alternatively, at one percent prevalence while holding sensitivity at 90 percent, a false positive rate under roughly 0.91 percent would be necessary for a majority of messages to be true. Neither is a recommendation or assertion that the sprinkler system will meet a cutoff. These are boundaries implied by chosen numbers, and making a rule stricter may change sensitivity at the same time.

If sensitivity and the false positive rate really stayed fixed while prevalence rose to ten percent, a new set of 10,000 checks would contain 1,000 events and 9,000 non-events. There would be 900 true alerts and 180 false alerts, so about 83.3 percent of messages would be true. At 0.1 percent prevalence under the same rates, the expected counts are nine true alerts and about 200 false alerts, around 4.3 percent true. Same nominal detector, different operational experience. The conditional rates may not stay fixed when conditions change, which is precisely why this calculation is a scenario rather than field validation.

Sometimes the base rate is not an external nuisance to adjust away. It changes when the operating policy changes the target population. An alert sent only when irrigation is scheduled samples different checks than one active around the clock. A near-shed station may be intentionally placed in an area known to be prone to standing water. Filtering to a defined risk window can increase the base rate of eligible checks, but report the excluded conditions separately. A higher precision claim is incomplete if the system stops watching in the very intervals when a type of event still matters. The new denominator represents a new commitment.

Sample non-events as carefully as events

In a live trial, begin with a record of eligible checks rather than an inbox export. Build the frame from station and time combinations you intended to monitor, then connect alert status, equipment availability, and reference assessment when available. A field team can adopt the discipline of defining a target, assessing gaps in the frame, and keeping the details of selection without claiming to be a federal survey. The U.S. Census Bureau's Statistical Quality Standard A3, also in its published quality standards PDF, is a source for those sample-design principles, not a specification for irrigation alerts.

A convenience log is often rich in confirmed dramatic events and almost empty of quiet checks. This is understandable. Nobody remembers a Tuesday reading that did nothing. But a log collected for diagnosis is different from a sample collected to estimate performance on all operating opportunities. Use the diagnosis log to find examples worth studying, not to estimate the frequencies at which they occur. A trial that overrepresents events can be excellent for checking which types of events are detectable if you are clear about how the cases were obtained and which types are missing.

Imagine deliberate sampling to get more true events into a bench study. The set contains the same number of event and non-event checks. Under the toy conditional rates, a balanced mixture would produce forty-five true alerts and one false alert per hundred checks in expectation. Its implied precision is about 98 percent. That does not imply that putting the equipment back in a field with one percent prevalence yields 98 percent precision. If the bench cases adequately represent the difficulty of their classes, the conditional rates can inform a deployment prediction using a separate base-rate estimate. That representativeness is an assumption to assess, not a reward for balancing the sample.

There are two distinct dangers in transferring rates from a balanced set. First, its mix of events and non-events is not the production mix, so its measured precision is not a production number. Second, the cases within classes may not be typical either. An event set composed of clearly visible overflow will be easier than one that includes small localized events; a non-event set tested on clear days might have less dew and spray that imitate the signal. Replacing a prevalence number does not repair conditional rates that were measured on unusually easy examples. Include marginal cases on purpose and document the source mix.

Reference confirmation after an alert can depend on whether anyone is available to respond. A message in the afternoon may be checked quickly; an overnight message may be checked after evidence is gone. Missing confirmation is not proof of a false alert. Keep confirmed events, confirmed non-events, and outcomes not determined in separate fields. If forty alerts are confirmed true, sixty confirmed false, and another fifty unverified, precision among the verified alerts is forty percent. Across all 150 alerts the fraction could lie between about 26.7 and 60 percent if those fifty could all fall either way. A plausible estimate inside those bounds would require additional assumptions or verification.

Quiet checks need some verification too if you care about misses. A practical approach is to select a predetermined random sample of quieter intervals for independent review, supported by dated measurements or periodic reference observations that can see the event when it occurs. Oversample conditions of special interest if you preserve the inclusion probabilities and you or an analyst can account for them in the estimates. An unweighted average of a mixed convenience sample may look smooth in a chart while being systematically off. Report the coverage limits rather than treating statistical adjustment as a cure for intervals when there was no reference at all.

The clock can make 10,000 checks less informative than it looks

A false alert from condensation at dawn can persist for twenty successive checks. A leak that takes an hour to address can produce dozens of true checks. Neither pattern offers twenty independent instances of condensation or dozens of independent leaks. When observations share a cause, the amount of evidence about new situations is less than a raw row total suggests. A check-level report can be completely appropriate if the question is how many classification opportunities pass or fail, but it does not automatically measure the chance of catching a distinct incident.

Keep parallel counts for incidents or notifications if those are the operator's units. The check-level log might say twenty high scores in sequence at one station, while the operator's log records one message and nineteen suppressed repeats. Under a defined incident rule, there might be one event start, no additional starts, and one successful notification. If the algorithm changes only its suppression timer, notification volume can improve while the thresholds, per-check rates, and physical detection are unchanged. A report needs to say which layer changed. Comparing this month's notification precision to last month's per-check precision can create progress in a spreadsheet that no one experienced.

Specify a matching window for event-level analysis. A message might precede a reference measurement by several minutes if the alert appears near the beginning of a pooling episode. A message hours later might be related to the same episode without being timely enough to count as useful detection. Fix the window and what qualifies as one event before consolidating the log. Where two messages plausibly match one event, define whether the first eligible message receives credit and how repeats are counted. A matching rule that assigns every nearby alert to every nearby event can produce nonsensical tallies even while individual rows look reasonable.

Coverage changes when multiple stations are monitored. A single event could trigger a row from each of three nearby devices. Whether those rows are independent evidence is not decided by the fact that their identifiers differ. A common rainfall pattern and a single pool can drive multiple sensors. Opposite signs of errors in nearby devices are also meaningful: a hardware issue may affect one location at once, while water may move across the site over time. Preserve individual station results and a system-wide incident summary instead of collapsing both into one percentage. If a callout has to name a location, that precision must be verified separately from whether anything happened anywhere.

Dependence also matters when reporting uncertainty. A conventional interval for an independent sample of checks can look unreasonably narrow when nearly all errors happened in two prolonged wet episodes. Consider a design that revisits distinct days, conditions, and sites and summarizes variation at the appropriate grouping level. If the available number of independent episodes is small, report it plainly rather than trying increasingly elaborate methods to make the interval narrower. The difference between nine events from nine days and nine events from one stuck valve matters to anyone estimating how the equipment will behave next month.

A similar point applies to apparent perfection. If a pilot records no false positives, it has measured zero in that sample; it did not prove the future false positive rate is zero. The claim is especially weak if the pilot included few non-events or few of the nuisance conditions that will actually occur. Zero detected misses is equally inconclusive if there were only a handful of true events. Keep counts and context in the result even when the reported percentages happen to be exactly zero or one hundred. The absence of an observed error and proof of impossibility are very different things.

Thresholds change the crew's work, not just the curve

An alert often starts from a score or a continuous sensor reading. The threshold decides which scores are turned into the next action. For a fixed list of scores and a rule that alerts above the threshold, raising it cannot add flagged checks. Both true and false alert counts can stay the same or decrease. Precision can rise if the removed checks are mainly false, stay flat if the removed checks have a similar mix, or even fall in a small sample if the removed checks happen to include mostly true events. A threshold movement alone does not guarantee a better ratio.

Compare thresholds by building a small decision table for a comparable set of checks. In a second fictional example, the existing rule has ninety true alerts and 198 false ones from 100 events. A stricter candidate has seventy true alerts and fifty false ones on the same checks. Precision increases to roughly 58 percent, but an additional twenty true events are missed. That is not a reason to celebrate or reject the change in isolation. If viewing a message takes twenty seconds and missing an event almost always creates expensive cleanup, the old threshold could be preferable. If every message triggers a long trip, the trade could reverse.

A toy decision calculation makes this explicit. Suppose a false alert costs one review unit, and a missed event costs ten such units; ignore true-alert and true-negative costs just for this comparison. The original rule costs 198 plus ten times ten, or 298 units. The stricter one costs fifty plus thirty times ten, or 350. If the loss for a missed event is instead five units, the comparison becomes 248 versus 200. The better rule reverses. These costs are hypothetical; the useful move is to write them down and investigate whether real priorities or safety constraints lie outside such a simple model.

Consider a staged workflow when neither extreme works well. A low threshold can start a quiet verification task, while stronger evidence can escalate to a page. Maybe the rule uses signal persistence, a second observation, or an actual person when easy inspection is possible. Different channels can serve different time constraints. Measure the resulting pipeline from the outset, because every confirmation layer can save false pages while also adding delay or suppressing true ones. Do not advertise final precision from a report on first-stage flags alone. A dashboard may receive many low-confidence flags even though the crew sees relatively few.

A second sensor is particularly tempting. If two detectors had independent errors conditional on the field state, a simplified model could multiply their non-event trigger probabilities to estimate how often both fire falsely. But conditional independence is a factual assumption. Both detectors might be affected by the same mist, shifted mount, power interruption, or temperature change. Two measurements from a shared source are often closer to a repeated clue than independent evidence. Compare the joint output with actual references under realistic conditions before making a strong claim about the confirmation layer. The important number is how the pair behaves, not how reassuring it sounds to require two signals.

A separate issue is how fast the evidence arrives. A rule that waits for several checks can suppress brief false spikes, but a real event that occurs and recedes quickly can be missed by that same filter. If detecting quickly is central, summarize the fraction caught within a stated time window, and report the time distribution among those caught. A short median delay among successful detections does not excuse many events with no detection at all. A delayed notification may still be useful for maintenance but irrelevant for immediate intervention. Put timing next to classification rather than burying it in a footnote.

Use field plots to find reasons, not to claim reasons

Begin a diagnostic review with time-ordered data. Plot the raw or processed signal, the cutoff used that day, the alerts, and reference observations on a shared timeline. Mark outages or stretches with unknown truth so the graph has real gaps rather than attractive interpolated lines. Then ask concrete questions. Do false notifications cluster at start-up? Does one station behave differently after cleaning? Are threshold crossings near one time of day? This is where the general techniques from the NIST reference can help. A temporal pattern suggests what to test next; it does not establish why it happened.

Pair a timeline with a view of scores by confirmed status. A distribution plot can show whether the highest false alerts are occasional spikes or a broad overlap between ordinary and event readings. A small set of plots split by station or operating condition can expose a local failure hidden in an aggregate view. Show the observation count with each distribution and avoid drawing smooth curves that make a few points look like a stable shape. If very few real events are verified, individual plotted points or intervals may be more honest than a dense-looking summary.

A shift in overall precision can have several explanations. More true events per check will usually make alerts more precise if conditional rates stay stable. A new algorithm may reduce false alarms or catch more events. A change in verification staffing may lift the reported precision without changing the alerts at all. A healthy review keeps these possibilities separate by comparing prevalence, conditional metrics, and the fraction verified across the same kinds of checks. Looking only at the final ratio cannot determine which explanation is responsible. In fact, a higher precision during a week with more standing water is not unambiguously good news for the garden.

Aggregation can hide a shift in composition even when headline ratios seem steady. A station can get worse at night while the deployment records fewer night checks than before. An aggregate report can improve while the difficult periods get worse. Conversely, a station deployed to harder locations can see an increase in false alerts even if it improved within comparable classes of operating conditions. When stakes justify the effort, present overall results and compact breakdowns by relevant strata. Keep row counts attached, and distinguish a controlled comparison using a fixed mix from an honest description of each period as actually experienced.

If a new threshold or score is chosen after inspecting those plots, hold back a comparable evaluation period. Trying many settings against the same log can select a rule that happened to fit its specific nuisance patterns. For time-dependent environments, a split that puts adjacent minutes of the same episode in both the selection and evaluation sets is not much protection. Use a split aligned with the units that can recur independently, such as events, days, or locations where suitable. Report up front if the new setting has only been checked against the log used to invent it. That can be a valuable development result without being confirmation.

What a trustworthy handoff looks like

A one-paragraph operations handoff can carry the essentials. State the event, the eligible checks, the measured period, the four counts or the best available subset, which checks were not verified, and how alerts were de-duplicated. Then give the number the operator actually needs, such as estimated messages per shift or the fraction of checked messages representing a true condition. Include the expected response and why that response fits. A field volunteer should be able to tell whether a pink blinking icon means inspect nearby, acknowledge a nuisance, or start an investigation. The chart can explain the logic, but the crew should not have to read a statistical appendix during a callout.

Give the next reviewer access to the essential context without depending on institutional memory. Preserve which sensor version produced the scores, which thresholds produced the alerts, how reference labels were assigned, and what times were eligible. If a range of values was used to compute an estimate, say which ones were observed and which were assumed. On a later maintenance day, this lets someone replay a candidate rule against old readings, while also knowing that already-suppressed alerts or missing raw data may prevent an exact reconstruction of what people saw. Record those limitations instead of treating reprocessing as a complete replay.

When reporting an improvement, pair the benefit with the practical cost. “Reduced pages from thirty to ten per week” helps, but watch whether the missing twenty include any events the team wanted to catch. “Caught nine out of ten events” helps, but it matters whether getting those nine required hundreds of interruptions. “Two percent false positive rate” helps, but it matters how many uneventful checks the system handles. Give the operator one example of an expected real alert and one common non-event that looks similar. Then they know both the reach and the limitations of the signal before a decision depends on it.

It can be useful to select an explicit review trigger rather than set up endless manual rechecking. A burst of unverified notifications, a long equipment outage, a sharp change in confirmed events, or a growing delay between a message and its independent assessment can each indicate that the latest ratio should not be trusted at face value. Decide what to inspect when that happens. For example, a cluster of verified nuisance alerts at one site calls for looking at the local signal and maintenance record, whereas a cross-site drop in verification calls for checking whether people can still see and assess those alerts. A monitoring plan should be a way to distinguish these possibilities rather than another undifferentiated alarm.

The durable lesson does not require accepting that most alerts must always be false. If the underlying event is rare, even a small false positive rate deserves a count against all the uneventful checks. If the resulting pile is too large, improve the evidence, adjust the decision, or choose a more appropriate operating window and then measure again. A good alert is not a promise that it will be right every time. It is an observation that changes what it is reasonable to do next. Whether the correct next move is a glance, a second measurement, or an intervention is a decision that belongs beside the performance figures, not inside them.

Frequently asked
What is Why a Good Alert Can Still Mostly Be False about?
!Small weather alarm housing and unobtrusive rain sensor at dusk on an irrigation shed. (generated illustration)
What should you know about put the event into one sentence you can test?
Specify the condition in the field before thinking about its signal. “Water where it usually does not belong” is a good reason to start a project but a poor reference label. In a teaching setup, define an in-scope check as a scheduled reading at a named station within the operation window, and define an event as a…
What should you know about three percentages with three different denominators?
Start with true positives, false positives, false negatives, and true negatives. These names refer to an alert choice and the independently assessed condition. True positives are the alerts that coincide with the target condition under the matching rule. False positives are alerts that do not. False negatives are…
What should you know about chart: True and false alerts in a constructed 10,000-check example?
This bar chart and matching table are illustrative only . No measurements, test results, or public dataset are represented. Imagine 10,000 checks, of which 100 contain an event and 9,900 do not. Assign sensitivity of 90 percent and a false positive rate of 2 percent among the non-events. These rates are chosen for…
What should you know about derive the result before changing the rate?
Suppose the share of actual events in checks is p, sensitivity is s, and the false positive rate is f. Over N checks, N times p times s is the expected true alert count, and N times the product of one minus p and f is the expected false alert count. Dividing expected true alerts by expected total alerts cancels N. In…
References & sources
  1. Apiary Reading Room — Open, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room