{
  "slug": "length-biased-sampling",
  "term": "Length-biased sampling",
  "aliases": [
    "Length bias"
  ],
  "definition": "Length-biased sampling selects units with probability proportional to the duration being measured.",
  "note": "Operating devices can overrepresent long lifetimes because they remain available for selection longer. With stationary Poisson entry, a stable lifetime distribution and uniform selection among operating devices, full-lifetime density is t f(t) / E(T), for positive T with finite mean. This is one sampling model, not every fleet snapshot. [chan-2012]\n\nThe mean full lifetime in that sample is E(T^2) / E(T) when the second moment is finite. The difference from the entrant mean is Var(T) / E(T), zero for identical lifetimes. It includes time before and after selection: it is neither current age nor remaining life. [wrigley-field-2022]\n\nSurvival to entry creates left-truncation; length bias is a special case. Right-censoring after selection is separate. Fleet growth, changing model mix and early retirement require a justified model, not automatic duration weighting. [chan-2012]\n\nFor complete known request lifetimes d_i, pooling all active request-time observations weights each by d_i / sum(d). Mean full duration is sum(d_i^2) / sum(d_i); mean age and remaining time are each half that. [sigman-inspection] [vlasiou-rewards]\n\nSelecting one active request per uniform nonempty time weights its presence by 1/N(t), where N(t) is occupancy. Cropped windows weight overlaps. Repeated sightings are not independent completions. A constructed trace gives means of 4, 8.5 and 9.4 ms. [hesela-inflight]\n\nPeriodic polling can miss short requests. A common uniform phase gives distinct-request inclusion min(1, overlap/period). Removing duplicate sightings does not remove this selection bias, and inverse-probability totals do not guarantee an unbiased ratio. [hesela-inflight-method]",
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "related": [
    "selection-bias",
    "left-truncation",
    "right-censoring",
    "survival-function",
    "inspection-paradox",
    "palm-distribution"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "citations": [
    {
      "id": "chan-2012",
      "title": "Chan, Chen and Di (2012): Proportional mean residual life model for right-censored length-biased data, sections 1-2",
      "url": "https://pmc.ncbi.nlm.nih.gov/articles/PMC3635658/",
      "accessed": "2026-11-05"
    },
    {
      "id": "wrigley-field-2022",
      "title": "Wrigley-Field and Feehan (2022): In a stationary population, the average lifespan of the living is a length-biased life expectancy, equations 5-6",
      "url": "https://pmc.ncbi.nlm.nih.gov/articles/PMC8810607/",
      "accessed": "2026-11-05"
    },
    {
      "id": "hesela-age-audit",
      "title": "Hesela: Missing SMART ages and the limits of drive-age comparisons",
      "url": "https://hesela.com/analyses/backblaze-age-missing-data-audit/#length-biased-sampling",
      "accessed": "2026-11-05"
    },
    {
      "id": "hesela-inflight",
      "title": "Hesela: exact in-flight observation example, sampling designs and independently tested integration.",
      "url": "https://hesela.com/analyses/storage-latency-coordinated-omission/#inflight-sampling",
      "accessed": "2026-11-19"
    },
    {
      "id": "sigman-inspection",
      "title": "Karl Sigman: Introduction to Renewal Theory (2018), sections 1.6-1.8, length-biased spread versus age and excess.",
      "url": "https://www.columbia.edu/~ks20/4106-18-Fall/Notes-Renewal-Theory.pdf",
      "accessed": "2026-11-19"
    },
    {
      "id": "vlasiou-rewards",
      "title": "Maria Vlasiou: Renewal Processes with Costs and Rewards, author PDF dated 5 October 2018, examples 3-4, pp. 4-6.",
      "url": "https://ris.utwente.nl/ws/portalfiles/portal/249488824/10.1002_9780470400531.eorms0722.pdf",
      "accessed": "2026-11-19"
    },
    {
      "id": "hesela-inflight-method",
      "title": "Hesela: exact finite-trace polling, distinct-request inclusion and ratio-bias examples",
      "url": "https://hesela.dev/research/inflight-sampling/README.md",
      "accessed": "2026-11-28"
    }
  ],
  "provenance": [
    "Statistical sources establish a sampling mechanism, not an empirical estimate of bias in a storage fleet.",
    "The linked worked example uses fictional stationary arrivals and fixed lifetimes; it is not Backblaze data."
  ],
  "updated": "2026-11-28"
}
