Manufacturing SPC (Cpk / Xbar-R)

5 processes, 450 subgroups, 2,250 measurements, where process capability and out-of-control detection come from a real Xbar-R control chart -- including one process with an engineered tool-wear drift that actually trips Western Electric rules where it happens.

A measurement column of independently random floats can't sit at a declared Cp/Cpk, can't split into the right within/between variance an Xbar-R chart actually estimates from, and can't trigger a Western Electric Rule violation at a believable rate. Here, sigma is estimated from Rbar/d2 (the real Xbar-R estimator, not pooled standard deviation), control limits are grand_mean +/- A2 x Rbar set during a Phase I baseline, and one process is built off-center on purpose so Cp measurably exceeds Cpk. A fifth process carries a genuine engineered tool-wear drift over its last third of subgroups, tripping Rule 1 and Rule 4 on 100% of its final subgroups and 0% before the drift starts -- the actual signature these rules exist to catch.

  • manufacturing
  • SPC
  • Cpk
  • Six Sigma
  • control charts
  • quality control

Explore

Every table, profiled

Each column's type, spread, empties and most common values, measured from the CSVs in the download. Switch to the first rows to see the data exactly as it sits in the file.

measurements.csv

2,250 rows · 5 columns · 2 foreign keys

measurement_idprimary key
unique on every row
2,250 distinctno empties
subgroup_idforeign key
points to subgroups.subgroup_id
450 distinctno empties
process_idforeign key
points to processes.process_id
5 distinctno empties
sample_indexnumber
15
mean 3median 31 to 5no empties
valuenumber
1.9448.1
mean 25.08median 251.91 to 48.7no empties

Keys

Every join resolves

3 foreign keys, 4,950 references checked against the table each one points at. None points at a row that does not exist.

measurements

  • subgroup_idsubgroups.subgroup_id0 orphans
  • process_idprocesses.process_id0 orphans

subgroups

  • process_idprocesses.process_id0 orphans

Checks

What we checked

  • measured Cpk reconciles to the declared target within sampling tolerance, on all 5 processes
  • Cp >= Cpk on every process; 'Housing Bolt Torque' shows Cp 1.94 vs Cpk 1.41 (built off-center)
  • 'Valve Seal Thickness' measures Cpk 0.83, below the 1.33 capability minimum -- a real failing example
  • stable processes trip a Western Electric rule on 3.3% of subgroups or fewer (a low false-alarm rate)
  • 'Bearing Race Width' (tool-wear drift): 100% of its final subgroups trip a rule vs 0% before the drift started
  • every subgroup's xbar and r reconcile exactly to its own 5 raw measurements

The same checks ship in the zip as INTEGRITY.txt, so you can rerun them in any SQL engine. How we verify

Questions

Worth asking it

  1. 1Does the measured Cpk (from Rbar/d2) actually reconcile with the declared target?
  2. 2How much does an off-center mean cost a process in Cpk vs its potential Cp?
  3. 3Can a control-chart rule catch a gradual tool-wear drift before it becomes a defect?
  4. 4What does a genuinely failing process (below the 1.33 capability minimum) look like in real subgroup data?

Full version · $15

This sample, or the full SPC for Precision Machining

Six months of control charts with the ground truth underneath. Try its free preview before you decide.

This sampleSPC for Precision Machining
Rows2,710515,442
Tables415
Columns32166
FormatsCSVCSV
AuditKeys and the checks listed above101 checks, all listed
LicenceCC0, freeCommercial use, $15 once
Built formanufacturing, SPC, Cpk, Six SigmaControl charts and capability, Run-rule and anomaly detection with labels, Root cause analysis, Tool wear and predictive maintenance, Measurement system analysis, Teaching and dashboards

Use it

Take it, or make one shaped like yours

Rebuild it byte for byte

pip install misata
curl -O https://raw.githubusercontent.com/rasinmuhammed/misata/main/examples/manufacturing_spc.py
python -c "from manufacturing_spc import build, verify; t = build(seed=19); verify(t)"

This dataset solves each process's underlying sigma from a declared target Cpk, estimates it back out via a Phase I Xbar-R baseline, and engineers a tool-wear drift into one process's final subgroups -- none of which a per-column declared schema can express, so it ships as a runnable script rather than a schema.yaml a bare misata generate could regenerate honestly.

Your own tables, your own numbers

Describe the data you need in Studio and get connected tables with the totals you state, profiled like this and checked before you download.

The full version, and what goes with it

All premium
  • An X-bar chart with the truth underneath: flatness, characteristic 139

    3 plants, 36 CNC machines, six months

    Six months of control charts with the ground truth underneath

    Answer key

    • active_cause_id
    • true_cause_shift_sigma
    • true_tool_wear_sigma
    • +6 more
    Rows
    515,442
    Tables
    15
    Checks
    101 of 101
    Free previewProfile and preview
  • Vibration through a life that ends in failure

    240 machines at 4 plants, two years

    Two years of sensor readings, failures, repairs and costs for 240 machines

    Answer key

    • failure_mode
    • true_life_days
    • true_failure_at
    • +6 more
    Rows
    179,038
    Tables
    6
    Checks
    67 of 67
    Free previewProfile and preview
  • QA review of manufacturing batch records, by month

    One oral-solids plant, five systems, two years

    Two years of a pharmaceutical plant's records, from process order to QP release

    Answer key

    • root_cause
    • batch_disposition_outcome
    • conclusion
    • +6 more
    Rows
    661,497
    Tables
    65
    Checks
    133 of 133
    Free previewProfile and preview

Related free datasets

All 12

Fully synthetic. No real person, company or transaction is represented, and no production data was read to make it. CC0: use it anywhere, no attribution needed.