How many good units, transactions or days between events?
Quality Engineering / Statistical Process Control • Intermediate • 70 min
Rare Event Control Charts (G & T)
Rare event control charts ask a different question: how long did we go without an adverse event? Learn to turn raw event logs into actionable evidence, distinguish improvement from deterioration, and reproduce two real Minitab analyses.
How many hours, minutes or days between events?
1. When zero is not enough
Suppose a mill inspects 1,000 pipes per day for critical weld failures. Two failures in ten days give eight zero-count days. A P chart is legitimate, but most points sit at zero and moderate increases in event frequency can be difficult to detect.
| Chart | What it plots | Use |
|---|---|---|
| Shewhart \(\bar{X}\)-R / I-MR | Individual or subgroup measurements | Sudden changes in thickness, temperature or fill weight |
| P / NP / C / U | Fractions, defective counts or defects | Routine attribute monitoring with known exposure |
| CUSUM | Cumulative deviations | Small sustained shifts |
| EWMA | Exponentially weighted history | Small shifts and drift |
| MSPC | Joint correlated variables (Hotelling T², etc.) | Multivariate process behaviour |
| G | Discrete gaps | Rare adverse events |
| T | Elapsed time | Rare breakdowns or incidents |
Here the CUSUM uses the standardized deviation \(Z_i\) and reference value \(k\); the EWMA \(E_i\) weights the current observation \(X_i\) by \(\lambda\); and Hotelling's statistic uses a vector of measurements \(\mathbf{x}\), baseline means \(\boldsymbol{\mu}\) and covariance \(\Sigma\). Rare-event T is not Hotelling's \(T^2\).
2. G chart: count the gaps
Use the G chart for independent opportunities with a stable event probability. Examples: critical weld defects, incorrect payments, lost deliveries, surgical infections and serious complaints. If product mix or daily exposure changes materially, stratify or use an exposure-adjusted model.
| Failed pipe | Good pipes between |
|---|---|
| 100 | Starting point |
| 251 | 150 |
| 332 | 80 |
| 633 | 300 |
| 634 | 0 |
| 835 | 200 |
Here \(N_i\) is the sequential unit number of event \(i\). If the input is event dates, Minitab uses the actual integer difference in days, without subtracting one. Same-day distinct events generate zero.
The geometric model
\(p\) is the event probability per opportunity; \(n\) is the number of completed intervals; \(x_i\) is the number-between count and \(\bar{x}\) its mean. The date-based model is a practical approximation when same-day multiple events exist. Its \(p\) is not the transaction-level defect probability.
Minitab interpolates between the two adjacent geometric CDF values rather than using integer quantiles directly, then clips the lower limit at zero. For adjacent integer counts \(a\) and \(b = a + 1\) with \(F(a) \le q \le F(b)\), the interpolated value is:
At \(p = 0.005\), the mean is 199 good pipes; the interpolated median is about 137.28 and the UCL about 1,317.22. The LCL is zero. A gap of 1,550 may indicate improvement; two successive zero gaps indicate a cluster.
Benneyan test: catch repeated zeros
When the LCL is zero, a nonnegative count cannot fall below it. The Benneyan test counts consecutive points equal to the LCL; for the zero-LCL case the threshold is:
\(K\) is the Test 1 normal-equivalent threshold (default 3), \(\Phi\) is the standard normal CDF, so \(\Phi(-3) \approx 0.00135\), and \(r\) is the number of consecutive zero gaps that signals. At \(p = 0.005\), \(r = 2\); at \(p = 0.08\), \(r = 3\). Three zero gaps mean four distinct events on the same date, or four consecutive defective units in a unit-based chart.
3. T chart: measure the time
Use the T chart when exact timestamps or actual operating durations are available. Examples include equipment trips, server outages, compressor failures and incidents per operating hour.
| Event | Timestamp | Elapsed hours |
|---|---|---|
| 1 | Nov 1, 08:00 | Starting point |
| 2 | Nov 3, 08:00 | 48 |
| 3 | Nov 4, 20:00 | 36 |
| 4 | Nov 8, 08:00 | 84 |
| 5 | Nov 8, 10:00 | 2 |
| 6 | Nov 10, 08:00 | 46 |
\(t_i\) is the timestamp of event \(i\) and \(T_i\) the elapsed time since the previous event. Use a consistent time unit and actual exposure when equipment is idle.
Exponential
Constant hazard. Scale equals mean time between events.
Weibull
Flexible hazard. Shape determines whether hazard rises or falls.
\(\theta\) is the exponential scale, \(\lambda\) the rate, \(\beta\) the Weibull shape, \(\eta\) the Weibull scale, \(\Gamma\) the gamma function and \(h(t)\) the hazard (instantaneous event rate). The exponential estimator is the mean of complete positive intervals; Minitab uses a different fitting procedure if zero durations are present.
4. Interactive distribution laboratory
Change the parameters and observe the probability distributions, control limits and signal thresholds. Try \(p = 0.005\) and \(p = 0.08\), then set the Weibull shape to one and the scale to seven to reproduce the T practice benchmark.
G chart calculator
T chart calculator
Choose your exposure
The same ten-hour gap tells different stories when unit exposure differs. Choose the denominator that represents the event mechanism.
5. Minitab practice from raw records
The training data are synthetic but structured like real operational extracts. Each log has 38 event records and 37 completed intervals. Observation numbers in Minitab match the event record: record 1 has no preceding interval; interval 1 is observation 2. Do not sort by interval size.
Practice files
The two CSV files are date/time and record-ID extracts from the original workbook. Import either directly into Minitab.
Download G payment dates (CSV, 2 KB)Download T pump timestamps (CSV, 2 KB)Original files
The workbook adds the Daily Exposure sheet and an answer key; the project holds all worksheets and both charts.
Download raw-records workbook (XLSX, 23 KB)Download interval extension workbook (XLSX, 9 KB)Download Minitab project (MPX, 107 KB)Data dictionary
| Column | File | Meaning |
|---|---|---|
| Observation | Both | Event record number, 1–38, in time order. It matches Minitab’s observation number. |
| Exception_ID | G | Payment exception reference (PEX-…). |
| Event_Date | G | Date of the critical payment exception (YYYY-MM-DD). Several exceptions can share a date. |
| Work_Order | T | Maintenance work order for the pump trip (WO-…). |
| Trip_Date_Time | T | Date and time of the protective trip (YYYY-MM-DD hh:mm:ss). |
| Period | Both | “Reference” for records 1–26 (the Phase I baseline) or “Monitoring” for later records. |
All records are simulated for teaching.
Exercise A · Payment processing exceptions (G)
A bank processes approximately 10,000 transactions daily. Critical exceptions include duplicates, incorrect currency, routing and settlement amount. The daily model's historical event probability is 0.08, not the per-transaction probability.
| Exception ID | Event_Date |
|---|---|
| PEX-2025-01041 | 2025-01-04 |
| PEX-2025-01042 | 2025-01-12 |
| PEX-2025-01043 | 2025-02-02 |
| PEX-2025-01044 | 2025-02-05 |
| PEX-2025-01045 | 2025-02-21 |
- Choose File → Open, select the original workbook's G Payment Exceptions sheet or the G CSV. Confirm Event_Date is a date column.
Stat → Control Charts → Rare Event Charts → G.- Form of data: Dates of events. Variables: Event_Date.
- G Chart Options → Parameters: historical proportion 0.08.
- Tests: select Test 1 (default 3), Test 2 (9 consecutive points) and Benneyan. Click OK twice.
- Identify signals, trace them to the event record, and examine transaction exposure.
Read the actual Minitab G chart

What does the footnote mean? “An estimated historical parameter is used in the calculations” appears because you typed the historical value (0.08) in Options. Minitab did not estimate it from these 38 records. Leave Parameters blank and the footnote and limits change.
The horizontal axis is the event record number, and the vertical axis is days between payment exceptions. Record 1 has no preceding gap. The green centre line is the historical median of 7.32 days; the red lines are probability limits, not specifications.
27 · Test 1 · Long interval
87 daysThe red square above 78.25 indicates an unusually long gap. Check for improved payment controls, missing reports or reduced exposure.
31 · Benneyan test (B)
3 zerosFour exceptions on February 3 produce three successive zero-day gaps. The third zero triggers B; none can fall below the zero LCL.
36–38 · Test 2 · Sustained change
11 gapsObservations 28–38 are all below the 7.32-day median. The ninth point triggers Test 2 at 36; two further points repeat the signal.
Conclusion: The payment process is statistically unstable. The final sequence indicates more frequent exceptions; investigate the transaction-level exposure and the same-day cluster before estimating the true per-transaction defect rate.
Reveal the expected results and investigation
| Minitab observation | Signal | Interpretation |
|---|---|---|
| 27 | 1 | 87 days; Nov 3 2025 to Jan 29 2026. Investigate potential improvement or missing reporting. |
| 31 | B | Four events on Feb 3 2026 produce three consecutive zero intervals. |
| 36–38 | 2 | Nine or more successive points below the centre line; sustained increase in frequency. |
First 25 completed intervals average 12.12 days. Last 11 average 2.91 days, about 76.0% shorter (4.17 times the reciprocal interval rate). Daily transaction exposure in the original workbook’s transaction log averages 10,000.47, with sample CV 2.37% and range 9,600–10,398. That supports similar daily exposure, but same-day multiple exceptions still make the daily geometric model approximate.
Exercise B · Cooling-water pump P-204A (T)
The maintenance log records protective trips, work orders and alarm descriptions. Treat the pump as continuously exposed for this exercise. In real work exclude planned downtime or use operating hours.
| Work order | Trip_Date_Time |
|---|---|
| WO-2025-03801 | 2025-02-03 06:42:00 |
| WO-2025-03802 | 2025-02-06 07:46:00 |
| WO-2025-03803 | 2025-02-17 03:53:00 |
| WO-2025-03804 | 2025-02-18 01:42:00 |
| WO-2025-03805 | 2025-02-25 06:08:00 |
- Open the workbook T Pump Trip Log sheet or T CSV. Check that Trip_Date_Time is a date/time column.
Stat → Control Charts → Rare Event Charts → T.- Select Dates/Times of events or Time between events, then Trip_Date_Time.
- T Chart Options → Parameters: Exponential; historical scale 7 (days).
- Enable Test 1 and Test 2 (default 3 and 9). Click OK twice.
- Trace signals to work orders and propose engineering investigations.
Read the actual Minitab T chart

Footnote check: “At least one estimated historical parameter is used in the calculations” confirms the historical scale of 7 days came from Options, not from these records.
The chart measures elapsed days between protective pump trips. The exponential scale is seven days, but its median is 4.85 days. The plotted LCL rounds to 0.01 days; use the unrounded 0.009456 days (13.62 minutes) for interpretation.
27 · Test 1 · Long interval
52.10 daysThe interval exceeds the 46.25-day UCL. Investigate possible improvements, idle time and completeness of the trip log.
28 · Test 1 · Short interval
8 minutesThe pump tripped again at 09:16 after a 09:08 low-suction-pressure trip. Eight minutes is below the 13.62-minute LCL. Check suction pressure, restrictions and restart procedure.
36–38 · Test 2 · Sustained change
11 gapsObservations 28–38 are all below 4.85 days. Most are inside the limits individually, yet nine consecutive points trigger Test 2 at 36.
Conclusion: Pump reliability is statistically unstable. The final intervals average about 1.02 days compared with a seven-day historical mean. Verify operating exposure and investigate the recurring trip mechanism; the chart does not prove a root cause.
Reveal the expected results and investigation
| Minitab observation | Signal | Interpretation |
|---|---|---|
| 27 | 1 | 52.095 days between trips; potential improvement. |
| 28 | 1 | 8 minutes between low-suction-pressure alarms; below 13.62 minutes. |
| 36–38 | 2 | Nine or more successive gaps below the centre line. |
Work orders WO-2025-03827 and 03828 record trips at 09:08 and 09:16 on Aug 18 2025. Check suction valve position, inlet restriction, strainer, cavitation, instrumentation and restart procedure. The repeat alarm is a lead, not proof of root cause.
The final mean gap is 85.4% shorter than the seven-day benchmark, equivalent to about 6.86 times the reciprocal interval rate. These are observed comparisons, not a causal estimate.
Compare the Minitab outputs
| Feature | G | T |
|---|---|---|
| Distribution | Geometric | Exponential |
| Historical input | 0.08 | 7 days |
| Upper signal | 27 | 27 |
| Lower signal | No point below zero | 28 |
| Benneyan | 31 | Not applicable |
| Persistent shift | 36–38 | 36–38 |
6. Phase I vs. Phase II
Use a reference period, inspect signals and investigate special causes before freezing limits.
Apply the frozen parameters to the subsequent observations. Do not let a deteriorating process redefine its own benchmark.
- Subset the first 26 event records (25 completed intervals), e.g. Data → Subset Worksheet.
- Recreate each chart, leaving historical parameters blank. Evaluate baseline stability and model suitability.
- Record the parameters, then apply them to the complete data. Do not automatically use Period as a stage variable; default stage limits can be recalculated independently.
- Compare an exponential and Weibull T chart using a distribution identification plot for complete positive intervals. Evaluate fit and engineering plausibility.
Expected reference estimates: geometric number-between model \(\hat{p} = 1/(1+12.12) \approx 0.07622\); exponential scale \(\hat{\theta} \approx 5.76025\) days. Your signal patterns may change with the limits.
7. Why tests matter, and common mistakes
Test 1
One extreme interval beyond a probability limit. The lower tail is often close to zero.Test 2
Nine successive points on one side of the median detect sustained change.Benneyan
Repeated intervals equal to the G chart lower limit; useful when zero gaps cluster.Specialized CUSUM / EWMA
Distribution-aware rare-event versions can detect smaller shifts. Ordinary normal CUSUM/EWMA limits should not be applied blindly to skewed gaps.| Check | Why |
|---|---|
| Chronological, complete reporting | Missed events inflate gaps |
| Independent intervals and consistent definition | Clustering changes signal probabilities |
| Comparable exposure and event risk | Calendar gaps may mislead during shutdown or volume changes |
| Suitable distribution | Misfit gives misleading limits |
| Enough stable reference data | Few events produce uncertain parameters |
| Ongoing interval | Right-censored until another event occurs |
| Control vs capability | Stable does not necessarily mean acceptable |
A high point may signal improvement, but investigate both directions. A lower control limit is not a target or a specification.
Do it in softwareStatistics Implementation
Psst. Turn raw records into limits without guessing.You unlocked the calculations.
Unlock the rare-event toolkit ⌄Hide the toolkit ⌃
Excel Functions
| Function | Syntax | Purpose | When to use |
|---|---|---|---|
| DAYS | =DAYS(B3,B2) | Integer day difference | Date-only log |
| Subtraction | =B3-B2 | Elapsed days including fractions | Timestamp log |
| AVERAGE | =AVERAGE(C3:C27) | Mean completed interval | Reference estimation |
| LN | =LN(0.5) | Log quantile | Geometric or exponential limits |
| EXPON.DIST | =EXPON.DIST(x,lambda,TRUE) | Cumulative probability | Exponential fit |
| WEIBULL.DIST | =WEIBULL.DIST(x,shape,scale,TRUE) | Cumulative probability | Weibull model |
| ROUNDUP | =ROUNDUP(LN(0.00135)/LN(p),0) | Zero-run threshold | Benneyan test at default 3 sigma |
| NEGBINOM.DIST | =NEGBINOM.DIST(x,1,p,TRUE) | Geometric CDF \(F(x)=1-(1-p)^{x+1}\) | Checking a G gap or limit (one “success” = one event) |
| GAMMA | =E4*GAMMA(1+1/E3) | Weibull mean \(\eta\,\Gamma(1+1/\beta)\) | Comparing a Weibull T chart’s mean with its median |
| NORM.S.DIST | =NORM.S.DIST(-3,TRUE) | Tail area 0.00135 behind the limits | Changing the Test 1 sigma level |
Excel Use Cases
Put chronologically sorted dates in B2:B39, leave C2 blank, and fill =DAYS(B3,B2) down for the G log. For timestamps use =B3-B2 and format C as Number, then multiply by 1,440 for minutes. Estimate the baseline using C3:C27 (25 intervals). For G use =1/(1+AVERAGE(C3:C27)); for T use =AVERAGE(C3:C27).
For historical exponential scale in E2, use =-E2*LN(0.99865), =E2*LN(2), =-E2*LN(0.00135). For Weibull shape in E3 raise each negative logarithm to 1/E3. In EXPON.DIST use the rate, not the scale; in WEIBULL.DIST use shape and scale.
Excel checkpoints for the practice data
| Formula | Result |
|---|---|
=AVERAGE(C3:C27) on the G log | 12.12 days |
=1/(1+AVERAGE(C3:C27)) | 0.07622 |
=AVERAGE(C3:C27) on the T log | 5.76025 days |
=-7*LN(0.99865)*1440 | 13.62 minutes |
=7*LN(2) and =-7*LN(0.00135) | 4.85 and 46.25 days |
=NEGBINOM.DIST(78,1,0.08,TRUE) and =NEGBINOM.DIST(79,1,0.08,TRUE) | 0.99862 and 0.99873: they bracket 0.99865, so the UCL lies between 78 and 79 (78.25) |
Minitab Navigation
Stat → Control Charts → Rare Event Charts → G for dates/counts; Stat → Control Charts → Rare Event Charts → T for timestamps/durations. See the practice above. For direct count data, select Number of opportunities between events or Number of opportunities until an event as appropriate; Minitab converts until counts to between counts.
Which option should you choose? Use G when you count opportunities (units, transactions, days) between events; use T when you have exact times or operating hours. Fill Options → Parameters only with a trusted Phase I value; otherwise leave it blank and let Minitab estimate it.
Exam Tips
Focus on chart selection, distribution assumptions, common versus special causes, false alarms, and interpreting data against a stable baseline. G/T charts are useful applied SPC methods; do not assume they are named explicitly in the ASQ CQE or CSSBB exam outlines. Consult the applicable current body of knowledge.
- The CQE body of knowledge asks you to apply reliability models such as the exponential and Weibull, and indices such as MTBF and failure rate. The T chart is that idea in action: the exponential scale is the MTBF.
- Know that the exponential is the Weibull with shape 1, so its hazard is constant.
- Remember the skew: the centre line of a G or T chart is the median, not the mean, and the lower limit is often zero or close to it.
- Control limits are not targets or specifications; a long gap can be good news, so check reporting before celebrating.
Knowledge check
Check your understanding
Comprehension quiz
Pick the strongest answer, then submit. Explanations appear after you submit.
References
- Minitab G chart: Methods and formulas
- Minitab G chart: Data entry
- Minitab G chart: Data considerations
- Minitab T chart: Methods and formulas
- Minitab T chart: Data entry
- Minitab T chart: Data considerations
- Benneyan, J. C. (2001). Performance of number-between g-type statistical control charts for monitoring adverse events. Health Care Management Science, 4, 319–336.
Training records are simulated; the source screenshots are the learner's Minitab outputs. Calculated SVG charts are clearly distinguished from software outputs.