Skip to main content
v2026.11,610 entries · CC-BY 4.0

Choosing the Right Control Chart in Healthcare: A Decision Guide by Data Type

A decision guide to picking the right SPC control chart for a hospital quality measure: p-chart for a compliance rate, u-chart for an infection rate per device-days, I-MR/XmR for a continuous measure, and g-/t-charts for rare events, plus how this differs from a run chart.

Ask about Choosing the Right Control Chart in Healthcare: A Decision Guide by Data Type

Answers are drawn from this guide and the rest of the CASRAI corpus, with a link to every source.

Answers are AI-generated from CASRAI’s own published pages and can be wrong, so check the linked sources before relying on one; your question is logged without personal data — never sold, never used to train a third-party model — to show us what CASRAI is missing, so please do not type personal or confidential details. How we use this

Written and maintained by CASRAI Editorial Board

Last updated

A control chart adds calculated statistical control limits to a time-ordered measure, which is what lets a hospital quality team distinguish routine common-cause variation from a genuine special-cause signal using a formal, numeric test rather than a pattern rule. The catch is that healthcare data comes in several different statistical shapes — a compliance rate with a changing denominator, an infection rate per device-days, a continuous measure like length of stay — and each shape needs a different chart type built on different underlying statistics. Picking the wrong one doesn’t just look wrong; it can flag noise as a signal or bury a real one under limits that don’t fit the data. This guide is a decision path for infection preventionists, patient-safety officers, quality directors, and risk managers: what data type you have, which chart type that maps to, and where the default p-chart or u-chart choice actually breaks down.

What a Control Chart Adds Beyond a Run Chart

A run chart tests a measure against its median using four pattern rules — shift, trend, runs, and the astronomical point — and needs no chart-type decision to start. A control chart replaces that median line with a calculated centerline and calculated upper and lower control limits, conventionally set at three standard deviations from the centerline, and tests every point against those limits instead of a pattern rule. That calculation is what formally separates common-cause variation (the routine noise every stable process produces) from special-cause variation (a signal worth investigating) — the same Deming/Shewhart distinction discussed in common cause analysis. The tradeoff: a control chart needs more baseline data than a run chart, and it needs you to correctly identify which chart type your data actually is before the limits mean anything. Get the type wrong and the control limits are calculated on the wrong assumptions — they will still draw a line on the chart, they just won’t mean what you think they mean.

The First Decision: Attribute (Count) Data or Continuous (Measured) Data?

Every hospital quality measure falls into one of two broad statistical shapes, and the shape — not the topic — determines which chart family applies.

  • Attribute data counts occurrences against an opportunity: how many eligible patients received a medication on time, how many infections occurred per number of device-days at risk. The underlying statistics are binomial (a pass/fail proportion) or Poisson (a count of events over exposure). p-charts, u-charts, c-charts, and np-charts all belong to this family.
  • Continuous data is a measured quantity that could in principle take any value on a scale: length of stay in hours, door-to-antibiotic time in minutes, an ED boarding interval. The I-MR (also called XmR) chart, and less commonly an Xbar-R or Xbar-S chart, belong to this family.

Classify the data correctly first — the rest of the decision follows from it.

Attribute Data: p-Chart, u-Chart, c-Chart, and np-Chart

p-Chart — a Proportion, With a Varying Denominator

Use a p-chart when the measure is a proportion or percentage — pass/fail, met/not-met — and the denominator (the number of opportunities) changes from period to period. A monthly hand-hygiene compliance rate, the percentage of eligible surgical patients who received prophylactic antibiotics within the correct window, or the percentage of central-line dressing changes performed correctly are all p-chart candidates: each month has a different number of observed opportunities, and the p-chart’s control limits widen or narrow automatically as that denominator changes — a month with fewer observations gets wider limits, reflecting the extra sampling uncertainty in a smaller sample.

u-Chart — a Rate, With a Varying Area of Opportunity

Use a u-chart when you are counting occurrences of something against an area of opportunity that varies — the standard shape for a healthcare-associated infection rate. A monthly CLABSI or CAUTI rate, reported per 1,000 device-days, is the textbook u-chart: the numerator is a count of infections, the denominator (line-days or catheter-days) changes every month with census and device utilization, and the u-chart’s control limits — like the p-chart’s — adjust to that changing denominator. The difference from a p-chart is what is being counted: a p-chart caps at 100% because it is a proportion of a fixed set of opportunities; a u-chart has no such ceiling, because a single device-day could in principle carry more than one countable event. For how CLABSI and CAUTI are actually defined and counted before they ever reach a chart, see Healthcare-Associated Infection Definitions.

c-Chart and np-Chart — the Same Idea, With a Constant Denominator

A c-chart is a u-chart’s counterpart for a constant, unchanging area of opportunity — a count of events per identical, fixed-size unit every period. An np-chart is a p-chart’s counterpart under the same constraint: a count of defectives, not a percentage, when the sample size is fixed every period. Both are less common in hospital quality work than their p-chart/u-chart siblings, because census, staffing, and case volume rarely hold still — most healthcare denominators genuinely vary month to month, which is exactly the condition a p-chart or u-chart is built to handle and a c-chart or np-chart is not. The practical test: does your denominator change period to period? If yes, use the p-chart or u-chart; if it is genuinely fixed, the np-chart or c-chart is the correct, slightly simpler choice.

Continuous Data: the I-MR (XmR) Chart

I-MR and XmR are two names for the same chart, not two different charts. “I-MR” names its two component plots — the Individuals chart and the Moving Range chart, shown as a pair, one above the other — while “XmR” uses the alternate convention of calling the individual value “X” and the moving range “mR.” If a source recommends one over the other for the same continuous data, it is not recommending a different statistical method, only a different label for the identical chart.

Use an I-MR/XmR chart for continuous, individually-measured data where each point is a single measurement rather than a summary of several — length of stay in hours, door-to-antibiotic time in minutes, an ED boarding interval, a single lab turnaround time. Healthcare QI measures are individually-measured far more often than they are naturally grouped into meaningful subgroups: an Xbar-R or Xbar-S chart, which plots a subgroup average alongside a subgroup range or standard deviation, needs several logically-related measurements per time period — repeated samples from the same batch, for instance — which is the normal shape of manufacturing data and an unusual one in hospital operations. That is the practical reason the I-MR/XmR chart, not an Xbar chart, is the default for continuous healthcare QI data: most hospital measures arrive one value per period, not several.

When Standard Attribute Charts Break: Rare-Event Data

The p-chart and u-chart both rely on the tracked event being common enough that the binomial or Poisson approximation behind the control-limit formula actually holds. When the event is genuinely rare — a specific serious reportable event, a low-volume unit’s SSI count, any measure where most periods report zero — that assumption weakens: a p-chart or u-chart run on sparse count data tends to produce unstable control limits, sometimes with a calculated lower limit below zero (meaningless for a count), or a chart that looks perpetually flat because zero is the most common value and no realistic number of events would trip a signal.

The standard alternative for genuinely rare events is to chart the space between occurrences instead of a period-by-period rate: a g-chart plots the number of cases or days between successive rare events, and a t-chart plots the time between them directly. Both reframe the same underlying data — rare countable events — as a continuous-style measure, which sidesteps the sparse-count problem entirely. This is a genuinely specialized decision: if your event is rare enough that a p-chart or u-chart is producing a chart that is mostly zeros with an unstable or nonsensical lower limit, that is the signal to bring in someone with SPC training to set up a g- or t-chart rather than forcing the standard chart to work on data it was not built for.

Chart Selection at a Glance

  • Proportion, denominator varies (e.g., hand-hygiene compliance rate, antibiotic-timing compliance) → p-chart
  • Count per varying area of opportunity (e.g., CLABSI or CAUTI rate per 1,000 device-days) → u-chart
  • Count or proportion, denominator fixed every periodc-chart (count) or np-chart (proportion)
  • Continuous, one measurement per period (e.g., length of stay, door-to-antibiotic time, ED boarding interval) → I-MR / XmR chart
  • Continuous, several related measurements per period (uncommon in hospital QI) → Xbar-R or Xbar-S chart
  • Rare events where a p-/u-chart is mostly zerosg-chart (cases between events) or t-chart (time between events)

How Much Baseline Data a Control Chart Needs

A run chart’s shift and trend rules become meaningful with roughly 10–12 baseline points. A control chart needs more: the commonly used floor for calculating stable control limits is around 20–25 baseline data points — subgroups for an attribute chart, individual measurements for an I-MR chart — enough that the calculated centerline and control limits reflect the process’s actual variation rather than the small-sample noise of a handful of points. Limits calculated on fewer than that should be treated as provisional and recalculated once more baseline data accumulates. That extra baseline requirement, together with the chart-type decision itself, is the real cost of moving from a run chart to a control chart — in exchange, once you clear it, you get a statistically calculated answer rather than a pattern-based one. As with a run chart, a confirmed shift in the underlying process is a reason to recalculate the centerline and limits going forward rather than leaving a stale baseline in place.

Common Selection Mistakes

  • Defaulting to a p-chart for every percentage-looking measure. A rate expressed per device-days (an infection rate) is a u-chart problem even when it gets reported alongside percentage-based measures — the test is whether the denominator is a fixed set of discrete opportunities (p-chart) or a varying area of exposure such as device-days (u-chart), not how the number is formatted for a report.
  • Using an Xbar chart on individually-measured data. If each period contributes exactly one measurement, there is no subgroup to average or spread — that is an I-MR/XmR problem, not an Xbar-R/Xbar-S one.
  • Treating I-MR and XmR as if choosing between them changes the analysis. They are the same chart under two labels; picking one over the other is a naming preference, not a statistical decision.
  • Running a p-chart or u-chart on a rare event and accepting a mostly-zero chart with a nonsensical lower limit. That result is itself the signal to move to a g- or t-chart, not a reason to conclude the process is flawless.
  • Finalizing control limits on a short baseline. Limits calculated on fewer than roughly 20–25 points are provisional; treat an early signal on a short baseline with real caution and recalculate as more data comes in.

Frequently Asked Questions

What is the difference between an I-MR chart and an XmR chart?

None — they are the same chart. “I-MR” refers to its two component plots, the Individuals chart and the Moving Range chart; “XmR” is an alternate naming convention for the same pair. Choosing between the names is not a statistical decision.

Do I need a control chart, or is a run chart enough?

A run chart needs less baseline data and no chart-type decision, and is enough for most day-to-day tracking of a new or established measure. Move to a control chart when you need a formal, calculated answer to whether a process is in statistical control — particularly before presenting a measure to a board, a regulator, or a payer as evidence of a real change. See Run Charts for Quality Improvement for the run-chart rules themselves.

What is the difference between a p-chart and a u-chart?

Both handle attribute (count) data with a varying denominator. A p-chart tracks a proportion capped at 100% of a fixed set of opportunities (e.g., a compliance rate); a u-chart tracks a rate with no fixed ceiling against a varying area of opportunity such as device-days (e.g., an infection rate).

How many data points do I need before I can calculate control limits?

A commonly used floor is around 20–25 baseline data points. Fewer than that, the calculated centerline and limits are more likely to be distorted by small-sample noise; treat any signal found on a shorter baseline as provisional.

What chart should I use for a rare adverse event?

If a standard p-chart or u-chart produces a chart that is mostly zeros with an unstable or negative lower limit, the event is too rare for that chart type. The standard alternative is a g-chart (cases between events) or a t-chart (time between events), which chart the space between rare occurrences instead of a period-by-period rate.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →

Regulatory Radar

Stop finding out after the fact

$29/month, cancel anytime. Daily digest updates from our analysis, a dashboard holding the same items, and a cited assistant for everything they raise.

  • Federal Register, Federal Register+, Grants.gov, Regulations.gov, NSF News, UKRI, plus CASRAI’s own published content.
  • 44,322 indexed passages, and every answer cites the ones it drew on.