Consider independent random variables X1,…,Xn with the N(μX,σX2) distribution and Y1,…,Yn with the N(μY,σY2) distribution, where the means μX,μY and variances σX2,σY2 are unknown. Derive the generalised likelihood ratio test of size α of the null hypothesis H0:σX2=σY2 against the alternative H1:σX2=σY2. Express the critical region in terms of the statistic T=SXX+SYYSXX and the quantiles of a beta distribution, where
SXX=i=1∑nXi2−n1(i=1∑nXi)2 and SYY=i=1∑nYi2−n1(i=1∑nYi)2
[You may use the following fact: if U∼Γ(a,λ) and V∼Γ(b,λ) are independent, then U+VU∼Beta(a,b).]