7.
Product and Process Comparisons
7.2. Comparisons based on data from one process


The testing of \(H_0\) for a single population mean 
Given a random sample of measurements,
\(Y_1, \, \ldots, \, Y_N\),
there are three types of questions regarding the true mean of the
population that can be addressed with the sample data. They are:


Typical null hypotheses 
The corresponding null hypotheses that test the true mean, \(\mu\),
against the standard or assumed mean, \(\mu_0\),
are:


Test statistic where the standard deviation is not known  The basic statistics for the test are the sample mean and the standard deviation. The form of the test statistic depends on whether the poulation standard deviation, \(\sigma\), is known or is estimated from the data at hand. The more typical case is where the standard deviation must be estimated from the data, and the test statistic is $$ t = \frac{\bar{Y}  \mu_0}{s/\sqrt{N}} \, , $$ where the sample mean is $$ \bar{Y} = \frac{1}{N} \sum_{i=1}^N Y_i \, , $$ and the sample standard deviation is $$ s = \sqrt{\frac{1}{N1} \sum_{i=1}^N \left( Y_i  \bar{Y}\right)^2} \, , $$ with \(N1\) degrees of freedom.  
Comparison with critical values 
For a test at significance level \(\alpha\),
where \(\alpha\)
is chosen to be small,
typically 0.01, 0.05 or 0.10, the hypothesis associated with each
case enumerated above is rejected if:


Test statistic where the standard deviation is known  If the standard deviation is known, the form of the test statistic is $$ z = \frac{\bar{Y}  \mu_0}{\sigma/\sqrt{N}} \, . $$ For case (1), the test statistic is compared with \(z_{1\alpha/2}\), which is the \(1\alpha/2\) critical value from the standard normal distribution, and similarly for cases (2) and (3).  
Caution  If the standard deviation is assumed known for the purpose of this test, this assumption should be checked by a test of hypothesis for the standard deviation.  
An illustrative example of the ttest 
The following numbers are particle (contamination) counts for a sample
of 10 semiconductor silicon wafers:
50 48 44 56 61 52 53 55 67 51 The mean = 53.7 counts and the standard deviation = 6.567 counts. 

The test is twosided  Over a long run the process average for wafer particle counts has been 50 counts per wafer, and on the basis of the sample, we want to test whether a change has occurred. The null hypothesis that the process mean is 50 counts is tested against the alternative hypothesis that the process mean is not equal to 50 counts. The purpose of the twosided alternative is to rule out a possible process change in either direction.  
Critical values 
For a significance level of \(\alpha\)
= 0.05, the chances of erroneously rejecting the null hypothesis when it is
true are 5 % or less. (For a review of hypothesis testing basics,
see Chapter 1).
Even though there is a history on this process, it has not been stable enough to justify the assumption that the standard deviation is known. Therefore, the appropriate test statistic is the \(t\)statistic. Substituting the sample mean, sample standard deviation, and sample size into the formula for the test statistic gives a value of $$ t = 1.782 \, , $$ with degrees of freedom \(N\)  1 = 9. This value is tested against the critical value $$ t_{10.025, \, 9} = 2.262 \, , $$ from the ttable where the critical value is found under the column labeled 0.975 for the probability of exceeding the critical value and in the row for 9 degrees of freedom. The critical value is based on \(\alpha/2\) instead of \(\alpha\) because of the twosided alternative (twotailed test) which requires equal probabilities in each tail of the distribution that add to \(\alpha\). 

Conclusion  Because the value of the test statistic falls in the interval (2.262, 2.262), we cannot reject the null hypothesis and, therefore, we may continue to assume the process mean is 50 counts. 