Cómo se calcula un Gauge R y R
Tabla de contenidos
Los datos del estudio
This is a crossed study: every operador measures every part, y each combination is repeated. Three operadores, ten piezas, three trials each gives 90 mediciones. "Crossed" is what makes it possible to separate operador effects from part effects - if each operador measured a different set of piezas, the two influences could never be untangled.
The characteristic is an outside diameter with a specification of 24.980 to 25.020 mm, so the tolerance is 0.040 mm. All values are in millimetres.
| Operador | Pieza | Ensayo 1 | Ensayo 2 | Ensayo 3 |
|---|---|---|---|---|
| Operador A | Pieza 1 | 25.0041 | 25.0031 | 25.0002 |
| Pieza 2 | 24.9927 | 24.9983 | 24.9952 | |
| Pieza 3 | 25.0104 | 25.0077 | 25.0083 | |
| Pieza 4 | 24.9961 | 24.9966 | 24.9998 | |
| Pieza 5 | 25.0103 | 25.0128 | 25.0149 | |
| Pieza 6 | 24.9881 | 24.9886 | 24.9876 | |
| Pieza 7 | 25.0022 | 25.0062 | 25.0086 | |
| Pieza 8 | 25.0007 | 25.0015 | 24.9992 | |
| Pieza 9 | 24.9968 | 24.9969 | 24.9951 | |
| Pieza 10 | 25.0080 | 25.0091 | 25.0112 | |
| Operador B | Pieza 1 | 25.0022 | 25.0030 | 25.0046 |
| Pieza 2 | 24.9946 | 24.9925 | 24.9996 | |
| Pieza 3 | 25.0126 | 25.0112 | 25.0091 | |
| Pieza 4 | 24.9991 | 25.0002 | 25.0036 | |
| Pieza 5 | 25.0123 | 25.0109 | 25.0158 | |
| Pieza 6 | 24.9912 | 24.9947 | 24.9926 | |
| Pieza 7 | 25.0067 | 25.0052 | 25.0076 | |
| Pieza 8 | 25.0015 | 25.0013 | 25.0055 | |
| Pieza 9 | 25.0025 | 24.9997 | 24.9986 | |
| Pieza 10 | 25.0116 | 25.0123 | 25.0092 | |
| Operador C | Pieza 1 | 25.0008 | 25.0009 | 25.0016 |
| Pieza 2 | 24.9948 | 24.9963 | 24.9934 | |
| Pieza 3 | 25.0089 | 25.0088 | 25.0113 | |
| Pieza 4 | 24.9949 | 24.9975 | 24.9954 | |
| Pieza 5 | 25.0107 | 25.0160 | 25.0131 | |
| Pieza 6 | 24.9916 | 24.9908 | 24.9902 | |
| Pieza 7 | 25.0062 | 25.0050 | 25.0050 | |
| Pieza 8 | 25.0006 | 25.0011 | 25.0033 | |
| Pieza 9 | 25.0007 | 24.9998 | 24.9965 | |
| Pieza 10 | 25.0054 | 25.0088 | 25.0115 |
Paso 1: sumas de cuadrados
ANOVA begins by asking how much of the total spread in those 90 readings can be attributed to each possible cause. It does this by measuring how far each group average sits from the overall average, squaring those distances, y weighting each by how many readings the group contains.
Four sources are separated: differences between operadores, differences between piezas, the interacción between them, y the leftover scatter within each operador-part cell.
The within-cell term is the important one conceptually: it is the only source that involves no averaging. It is the raw scatter you get when the same operador measures the same part repeatedly, which is exactly the definition of repeatability.
Paso 2: la tabla ANOVA
Each sum of squares is divided by its grados de libertad to give a cuadrado medio - an average squared deviation per independent piece of information. Degrees of freedom are a-1 for operadores, b-1 for piezas, their product for the interacción, y a*b*(n-1) for the within-cell term.
| Fuente | SS | df | MS | F | p |
|---|---|---|---|---|---|
| Operador | 0.00007131 | 2 | 0.000035656 | 10.257 | 0.0011 |
| Pieza | 0.00410148 | 9 | 0.000455721 | 131.093 | 0.0000 |
| Operador x Pieza | 0.00006257 | 18 | 0.000003476 | 0.897 | 0.5837 |
| Repetibilidad (within) | 0.00023242 | 60 | 0.000003874 | — | — |
| Total | 0.00446779 | 89 | — | — | — |
Read the p-values carefully. Piezas differ enormously, which is exactly what you want - it means the sample spans a real range of the process. Operadors also differ significativamente (p = 0.0011), which points to a reproducibility problem worth investigating.
The interacción is not significativo (p = 0.5837). That is good news: the operadores disagree by a roughly constant amount across all piezas rather than disagreeing unpredictably on particular piezas. A constant offset usually means technique or training; a significativo interacción usually means certain piezas are physically awkward to measure.
Paso 3: componentes de varianza
Mean squares are not themselves the variances you want. Each cuadrado medio contains a mixture of the effect you are after plus the noise beneath it, so the components must be unpicked by subtraction. These are the expected-mean-square relationships.
Reproducibilidad combines the operador component y the interacción component, because both describe variation introduced by the people rather than by the gauge. Taking square roots converts each variance into a desviación estándar in millimetres.
| Component | Std dev (mm) | Study variation (5.15 sigma, mm) |
|---|---|---|
| Repetibilidad | 0.0019682 | EV = 0.01014 |
| Reproducibilidad | 0.0010357 | AV = 0.00533 |
| Pieza-to-part | 0.0070887 | PV = 0.03651 |
| Combined gauge R y R | — | GRR = 0.01145 |
| Total variation | — | TV = 0.03826 |
GRR is the square root of EV squared plus AV squared, y TV is the square root of GRR squared plus PV squared. Confirm it yourself: 0.01014 plus 0.00533 is 0.01547, but GRR is 0.01145. The components combine as a right triangle, not by addition.
Step 4: the 5.15 multiplier
Styard deviations are converted into "study variation" by multiplying by 5.15, which spans 99 percent of a normal distribución. GaugeConnection uses 5.15, consistent with the AIAG MSA manual.
Some software uses 6 sigma instead, spanning 99.73 percent. The choice does not change which component dominates, y because the multiplier appears in both the numerator y the denominator it cancels out of %GRR when the basis is study variation. It does not cancel when the basis is tolerance.
Step 5: percentages y ndc
Each study variation figure is divided by a reference. GaugeConnection uses the tolerance when one is entered, y total variation otherwise. Both are shown here from the same study so you can see how much the choice matters.
| Metric | % of tolerance | % of study variation |
|---|---|---|
| %EV | 25.34% | 26.49% |
| %AV | 13.33% | 13.94% |
| %GRR | 28.63% | 29.94% |
| %PV | 91.27% | 95.41% |
At 28.63 percent of tolerance this sistema de medición falls in the conditionally acceptable by - usable, but only with justification, y not for a safety or regulatory characteristic. Note that the percentages down a column do not sum to 100: they are ratios of desviación estándars, y desviación estándars do not add.
Number of distinct categories
ndc asks how many separate groups the gauge can actually resolve across the part range. The usual requirement is at least 5. This study returns 4, so it fails the ndc criterion even though %GRR is only marginal.
That disagreement is the most useful thing on this page. A study can look survivable on %GRR y still be unable to distinguish piezas finely enough to support process control. Always read %GRR y ndc together; if they disagree, the more conservative one governs.
When a variance component comes out negative
The component formulas involve subtracting one cuadrado medio from another, y nothing prevents the result from being negative. A negative variance is impossible in reality, so it is truncated to zero. GaugeConnection does this, y so does every styard implementation.
A negative estimate is a signal, not an error. It normally means the true component is very close to zero y sampling noise pushed the estimate below it - most often seen for the interacción term when operadores genuinely behave consistently.
It becomes a concern when it appears on the part component, which implies the piezas in the study were too similar to distinguish. That is a study design problem, not a gauge problem, y the fix is to re-select piezas spanning the real process range rather than to reinterpret the output.
Opens the Gauge R y R tool pre-loaded with the dataset above, so you can confirm every figure on this page.