For independent unit-variance Gaussian samples with means , testing against unrestricted means gives . The unrestricted maximum-likelihood estimators are the two sample means, while the null estimators are and zero. Under the null, write , , and , with independent standard Gaussian variables. Then decreases pointwise with , so the largest rejection probability occurs at the boundary . There its law is the chi-bar-squared distribution . The exact size- threshold is therefore determined by .
The unrestricted maximum-likelihood estimators remain . Subject to the null constraint, minimizing on gives , while . Consequently
We must calibrate this likelihood-ratio test over the entire composite null. Under that null let and . Then with , while independently, and . Couple all null distributions by , with a fixed standard Gaussian . Increasing decreases pointwise, so the largest rejection probability occurs at , namely .
At this boundary the sign of is independent of , with each sign having probability one half. On , ; on , . Thus the least favourable null hypothesis law is the exact chi-bar-squared distribution . Choose by
The tail is a continuous function and strictly decreasing from one to zero, so this threshold is unique for . The null rejection probability is at most and equals at . This proves the required size, rather than using an interior chi-squared approximation.
To compare, put , the threshold in (i). Since is stochastically larger than (add an independent squared standard Gaussian), the mixture threshold obeys . When , test (ii) therefore requires stronger evidence from than test (i). When , test (ii) also responds to violation of the mean constraint and can reject even with . Neither critical region contains the other. In the coordinates , the acceptance region in (i) is the strip ; in (ii) it is the right half-strip , together with the left half-disk , . The extra constraint changes both the statistic and its correct null calibration.