Behrens-Fisher problem

# Overview
In statistics, the Behrens-Fisher problem is the problem of interval estimation and hypothesis testing concerning the difference between the means of two normally distributed populations when the variances of the two populations are not assumed to be equal, based on two independent samples.
Ronald Fisher in 1935 introduced fiducial inference in order to apply it to this problem. He referred to an earlier paper by W. V. Behrens from 1929. Behrens and Fisher proposed to find the probability distribution of
where  \bar x_1  and  \bar x_2  are the two sample means, and  s_1  and  s_2  are their standard deviations.
Fisher approximated the distribution of this by ignoring the random variation of the relative sizes of the standard deviations,  {s_1 / \sqrt{n_1} \over \sqrt{s_1^2/n_1 + s_2^2/n_2}} .
Fisher's solution provoked controversy because it did not have the property that the hypothesis of equal means would be rejected with probability  if the means were in fact equal. Many other methods of treating the problem have been proposed since.

# Welch's approximate t solution
The most widely used method (for example in  statistical packages and in Microsoft Excel) is that of B. L. Welch, who, like Fisher, was at University College London. The variance of the mean difference \bar d =\bar x_1 - \bar x_2 results in  s_{\bar d}^2 = s_1^2/n_1 + s_2^2/n_2. Welch (1938) approximated the distribution of s_{\bar d}^2 by that Typ III Pearson distribution (a scaled chi-squared distribution) whose first two moments agree with that of s_{\bar d}^2. This applies to the following number of degrees of freedom (d.f.), which is generally non-integer:
Under the null hypothesis of equal expectations, \mu_1=\mu_2, the distribution of the Behrens Fisher statistic T, which also depends on the variance ratio \sigma_1^2/\sigma_2^2, could now be approximated by Student's t distribution with these \nu degrees of freedom. But this \nu contains the population variances \sigma_i^2, and these are unknown. The following estimate only replaces the population variances by the sample variances:
This \hat\nu is a random variable. A t distribution with a random number of degrees of freedom does not exist. Nevertheless, the Behrens Fisher T can be compared with a corresponding quantile of Student's t distribution with these estimated number of degrees of freedom, \hat\nu, which is generally non-integer. In this way, the boundary between acceptance and rejection region of the test statistic T is described by a smooth function dependent on the empirical variances s_i^2.
This method also does not give exactly the nominal rate, but is generally not too far off. However, if the population variances are equal, or if the samples are rather small and the population variances can be assumed to be approximately equal, it is more accurate to use the standard method, which is the two-sample t-test.

# References and external links
- W. V. Behrens, "Ein beitrag zur Fehlerberechnung bei wenigen Beobachtungen", 'Landwirtschaftliche Jahrbuecher' 68, pp. 807-37.
- "On the Behrens-Fisher Problem: A Review", by Seock-Ho Kim and Allan Cohen, University of Wisconsin-Madison, 1995. Paper presented at the annual meeting of the Psychometric Society, Minneapolis.
- "Distributional Property of the Generalized p-value for the Behrens-Fisher Problem with Applications to Multiple Testing", by Kam-Wah Tsui and Shijie Tang, University of Wisconsin-Madison, October 31, 2005
- "A simple conservative and robust solution of the Behrens-Fisher problem", by Harold Ruben, 'The Indian Journal of Statistics' Series A Volume 64 Part 1 Pages 139--155 Year: 2002
- "The significance of the difference between two means when the population variances are unequal" by B. L. Welch, 1938, 'Biometrika' 29, pp. 350-62.
- A solution using empirical likelihood