|
7. Product and Process Comparisons 7.3. Comparisons based on data from two processes 7.3.1. Do two processes have the same mean? |
|
| Testing hypotheses related to the means of two processes |
Given two random samples of measurements,
from two independent processes (the Y's are sampled from process 1 and the Z's are sampled from process 2), there are three types of questions regarding the true means of the processes that are often asked. They are:
|
| Typical null hypotheses |
The corresponding null hypotheses that test the true
mean of the first process,
, against the true mean of
the second process, are:
Note that as previously discussed, our choice of which null hypothesis to use is typically made based on one of the following considerations:
|
| Basic statistics from the two processes |
The basic statistics for the test are the sample means
;
and the sample standard deviations
with degrees of freedom
|
| Form of the test statistic where the two processes have equivalent standard deviations |
If the standard deviations from the two processes are equivalent, and this
should be tested before this assumption is made, the test statistic is
where the pooled standard deviation is estimated as
with degrees of freedom
|
| Form of the test statistic where the two processes do NOT have equivalent standard deviations |
If it cannot be assumed that the standard deviations from the two processes
are equivalent, the test statistic is
The degrees of freedom are not known exactly but can be estimated using the Welch-Satterthwaite approximation
|
| Test strategies |
The strategy for testing the hypotheses
under (1), (2) or (3) above is to calculate the appropriate t
statistic from one of the formulas above, and then perform a test at
significance level α, where α is chosen to be small, typically .01, .05 or .10. The hypothesis associated with each case enumerated above
is rejected if:
|
| Explanation of critical values | The critical values from the t table depend on the significance level and the degrees of freedom in the standard deviation. For hypothesis (1) t1-α/2, ν is the 1-α/2 critical value from the t table with ν degrees of freedom and similarly for hypotheses (2) and (3). |
| Example of unequal number of data points |
A new procedure (process 2) to assemble a device is introduced and
tested for possible improvement in time of assembly. The question being
addressed is whether the mean,
, of the new assembly
process is smaller than the mean,
, for the old assembly
process (process 1). We choose to test hypothesis (2) in the hope that we will reject this null hypothesis and thereby feel we have a strong degree of confidence that the new process is an improvement worth implementing. Data
(in minutes required to assemble a device) for both the new and old
processes are listed below along with their relevant statistics.
Device Process 1 (Old) Process 2 (New)
1 32 36
2 37 31
3 35 30
4 28 31
5 41 34
6 44 36
7 35 29
8 31 32
9 34 31
10 38
11 42
Mean 36.0909 32.2222
Standard deviation 4.9082 2.5386
No. measurements 11 9
Degrees freedom 10 8
|
| Computation of the test statistic |
From this table we generate the test statistic
with the degrees of freedom approximated by
|
| Decision process | For a one-sided test at the 5% significance level, go to the t table for 0.95 signficance level, and look up the critical value for degrees of freedom ν = 16. The critical value is 1.746. Thus, hypothesis (2) is rejected because the test statistic (t = 2.269) is greater than 1.746 and, therefore, we conclude that process 2 has improved assembly time (smaller mean) over process 1. |