# Function lookupStageStatistics

- lookupStageStatistics(
  model: LifecycleStatisticsModel,
  procedureType: string,
  stage: string,
  ): StageDwellStatistics | undefined

  Lookup statistics for a `(procedureType, stage)` pair.

  Performs an exact lookup by `lifecycleKey(procedureType, normalizedStage)`. Returns `undefined` when no matching cell exists or the cell has zero samples, so callers must handle the missing-data case explicitly.

  #### Parameters

  - model: LifecycleStatisticsModel

    The lifecycle statistics model

  - procedureType: string

    The procedure type (e.g. `COD`)

  - stage: string

    Normalized stage key

  #### Returns StageDwellStatistics | undefined

  Stage statistics, or `undefined` when no usable data exists

  - Defined in utils/lifecycleStatistics.ts:353