Your quarterly dwell figure is the median over cases closed that quarter — what does that number miss?
answer
- the population, not the statistic
- long cases close in later quarters
- cohort by detection, not closure
- small n, publish the distribution
- reopened cases revise dwell upward
basics
~20 sAggregating over cases closed in a quarter is censored: long investigations close in later quarters, so short cases dominate and the median is biased low. It also describes only intrusions you detected, and it changes retroactively when a case is reopened.
solid answer
~50 sThree things break it. First, censoring by closure date — a 200-day intrusion takes months to investigate and closes two quarters later, so the population you are aggregating over is systematically the *fast* cases, and the bias points one way. Second, the denominator is only intrusions you detected at all; the metric describes your detected set, not your estate, and it says nothing about intrusions still running. Third, dwell is reconstructed rather than read, so it is revisable: reopen a case, find an older anchor, and last quarter's published median is now wrong. The fixes are unglamorous — cohort cases by *detection* date rather than closure date, publish the distribution and the sample size rather than a lone central value, split commodity cases from targeted ones instead of taking one median over both, and give every published figure an as-of date so revisions are restatements rather than embarrassments.
go deeper
Know that dwell is worked out afterwards from evidence rather than measured live, and that a quarterly figure only covers intrusions that were both detected and finished being investigated.
Explain the closure-date bias concretely: long intrusions take long investigations, so they close in later quarters and the current quarter's population is skewed toward short, simple cases.
Show the operating fixes — cohort by detection date, publish n and the distribution, segment by intrusion class, and hold per-case records good enough to recompute when a case reopens.
Own the restatement policy before you need it. A metric that can move upward when new evidence appears needs an as-of date and a stated correction process, or the first honest revision will be read as an error.
## The population, not the statistic The defect in 'median dwell over cases closed this quarter' is not the median. It is which cases are in the bag. ### Censoring by closure date Investigation length correlates with dwell. A phished-mailbox case with two days of activity closes in a week; an intrusion that ran for seven months across a server fleet takes a quarter to reconstruct and closes long after the quarter in which it was detected. So a population defined by *closure* date systematically over-represents short, simple cases. The bias is not noise — it points in one direction, and it flatters you every time. Worse, it is self-correcting in the wrong way: the long case eventually lands in some later quarter and makes *that* quarter look bad for reasons that have nothing to do with that quarter's performance. The fix is to cohort by **detection date** and accept that a cohort matures — the quarter's figure is provisional while cases in it remain open, and is republished as they close. That is uncomfortable for a slide deck and correct for a metric. ### Cases still open have no dwell yet A case detected on the last day of the quarter and still under investigation contributes nothing. If you have three such cases and they are your three worst, the published number is a description of the cases you finished, not of the quarter. ### The denominator is intrusions you detected Dwell can only be computed where detection happened. Whatever fraction of intrusions you never detected is absent from the population entirely, and it is precisely the fraction with unbounded dwell. This does not make the metric useless — it makes it a metric *about your detected set*, and it must be labelled that way, because a board hearing 'our median dwell is nine days' will hear 'intruders survive nine days here', which is not what the number says. ### Sample size Most SOCs close single or low double digits of genuine intrusions per quarter. A median over eleven cases moves visibly when one case changes, so quarter-over-quarter movement is mostly noise. Publish **n** next to the figure. If n is small, publish the cases as a distribution — a list of spans — rather than a central value pretending to be a trend. ### Mix One median over commodity credential-theft cases and a multi-month intrusion in the same bag describes neither. Segment by intrusion class, and the segments will move for different reasons and be actionable in different ways. ## Revision: the aggregate can get worse by getting honest Dwell is reconstructed from evidence, not read off a counter, which makes it revisable in a way most operational metrics are not. A closed case is reopened — a colder log tier is searched, an archived build manifest turns up, a second host is found to have had the same malicious package weeks earlier — and the anchor for the start date moves backward. The case's dwell goes from 42 days to 96. The median you published last quarter is now wrong, and it is wrong in the direction that makes you look worse. The correct handling is the boring one: restate. Publish metrics with an **as-of** date, keep the per-case records that let you recompute, and issue the corrected figure with a one-line note saying which case moved and why. Do not push the extra days into the current quarter — that assigns the past's dwell to the present and corrupts both. Do not quietly drop the case either. A SOC that restates a number upward and explains why is demonstrating exactly the property the metric is supposed to evidence; one that freezes published numbers is telling you its metrics are presentation rather than measurement. ## What a defensible quarterly figure looks like - cohorted by detection date, marked provisional while cases remain open - n stated, and the distribution shown when n is small - segmented by intrusion class rather than one median over everything - each case's start date carrying a source and an evidenced-or-estimated flag - an as-of date, and a restatement policy that has actually been used at least once The interviewer is checking whether you treat a SOC metric as a statistic with a defined population, or as a number that appears on a dashboard.
- One 300-day case lands in the quarter and the mean triples. Do you report the mean or the median?Neither on its own. With a dozen cases, publish the distribution — the individual spans — plus n, and call out the outlier as its own narrative. A mean is dominated by one case, a median hides it entirely, and both invite a quarter-over-quarter comparison the sample size cannot support. The outlier is usually the most informative thing in the quarter and deserves a paragraph, not a data point.
- Reopening a closed case moves its dwell from 42 to 96 days. What happens to last quarter's published figure?You restate it with an as-of date and a one-line note naming the case and the evidence that moved the anchor. You do not push the extra 54 days into the current quarter — that charges the past to the present — and you do not drop the case. Being able to restate upward is the practical test of whether the metric is a measurement or a presentation.
- Why does cohorting by detection date make the current quarter's figure provisional?Because cases detected in the quarter may still be open, and their dwell is not yet computed. The cohort matures as they close, and the figure is republished. That is the price of removing closure-date bias: you trade a crisp final number for a number that is honest but moves, and stakeholders have to be told that up front rather than after the first revision.
Measuring average hospital stay using only patients discharged this month flatters the ward: the seriously ill are still in bed and are counted later, if at all.
saying these in an interview costs you the question
- Treats the closed-case set as a sample of all intrusions
- Quotes a quarterly median with no sample size
- Reads quarter-over-quarter movement over ten cases as a trend
- Refuses to restate a published figure after a case is reopened
- Pools commodity and targeted intrusions into one median
- Assumes dwell is read off a counter rather than reconstructed