Sub topic 4
Variables Data and Attribute Data
Assume you know how to calculate a mean, range, and standard deviation, and you understand that process data are collected in time order. Basic probability for proportions and counts is helpful. The type of data you collect determines which control chart can model its variation.
Variables data: measured values
Variables data are measurements on a continuous scale. They can take many values between two points, depending on the resolution of the measuring device.
Examples include:
- Shaft diameter in millimeters
- Cycle time in seconds
- Temperature in degrees Celsius
- Weight in grams
- Voltage in volts
A measurement contains more information than a category. For example, a diameter of 10.04 mm tells you how far the value is from the target. A simple pass or fail result does not.
Variables data usually support the I-MR chart or the X-bar and R chart:
- Use an I-MR chart when measurements arrive one at a time or when rational subgroups are not available.
- Use an X-bar and R chart when you collect small subgroups of similar measurements and want to monitor subgroup means and within-subgroup ranges.
The measurement process must also be stable enough to produce useful data. A poorly calibrated instrument can create apparent variation or hide real variation. Before interpreting a chart, check the unit, resolution, calibration, and measurement method.
Attribute data: counted results
Attribute data are results classified into categories or counted as events. They are often discrete, meaning that the possible values are countable rather than measured on a continuous scale.
Examples include:
- An item is defective or acceptable.
- A transaction is complete or incomplete.
- A shipment contains three damaged packages.
- A document contains two errors.
Two distinctions are important.
A defective unit fails one or more requirements. A unit is counted once, even if it has several problems. The proportion of defective units is modeled with a p chart.
A defect is one individual nonconformity. One unit can contain several defects. The number of defects per unit is modeled with a u chart.
The denominator matters:
- A p chart uses the number of units inspected.
- A u chart uses the amount of opportunity for defects, often the number of units inspected.
- A u chart can account for changing sample sizes or exposure amounts by using a different denominator for each period.
| Data question | Data form | Typical chart |
|---|---|---|
| What measured value did the process produce? | Continuous measurement | I-MR or X-bar and R |
| What fraction of units were defective? | Defective units / units inspected | p chart |
| How many defects occurred per unit? | Defects / units or opportunities | u chart |
Choosing the data representation
The same process can produce different data types depending on how you record it. Suppose a call center records each call's duration in seconds. Those are variables data. If it records only whether the call exceeded a service target, the result becomes attribute data.
The choice affects the information available for diagnosis. Converting measurements into pass or fail results may simplify reporting, but it discards distance-from-target information. Use attribute data when the classification is the actual business or quality outcome, not only because it is easier to collect.
Practical data checks
Before selecting a chart, ask:
- Is each observation a measurement, a defective unit, or a defect?
- Is the unit of opportunity consistent across periods?
- Can one unit contribute more than one defect?
- Does the sample size or inspection amount change?
- Are observations recorded in their actual time order?
- Did the measurement or classification rule change?
If the denominator changes, fixed-width limits may be inappropriate. For p and u charts, the limits generally change with the sample size or number of units inspected.
Exercise
A team inspects 200 invoices each week and records the number of invoices containing at least one error. Should it use a p chart or a u chart?
Show answer
Use a p chart. Each invoice is classified as defective or not defective, and the result is the proportion of defective invoices. A u chart would be appropriate if the team counted every error, including multiple errors on one invoice.