|
1. | It is assumed that the two variances are equal, that is .
The test used is the two sample -test. The test statistic is defined by;
Under the null hypothesis this test statistic has a -distribution with degrees of freedom.
The test of is carried out against one of three possible alternatives;
Upper and lower confidence limits for are calculated as:
|
||||||
2. | It is not assumed that the two variances are equal.
If the population variances are not equal the usual two sample -statistic no longer has a -distribution and an approximate test is used.
This problem is often referred to as the Behrens–Fisher problem, see Kendall and Stuart (1969). The test used here is based on Satterthwaites procedure. To test the null hypothesis the test statistic is used where
A -distribution with degrees of freedom is used to approximate the distribution of where
Upper and lower confidence limits for are calculated as:
|
On entry, | , or , |
or | or , |
or | , |
or | , |
or | , |
or | , |
or | , |
or | . |