Out test statistic is

f=sx2sy2f=\frac{s_x^2}{s_y^2}

which follows Fnx1,ny1F_{n_x-1,n_y-1} distribution under H0H_0 (larger sample variance is the numerator and smaller is the denominator).

H0H_0 H1H_1 pp-value Decision Rule
σx2=/σy2\sigma_x^2=/\le\sigma_y^2 σx2>σy2\sigma^2_x\gt\sigma_y^2 P(F>f)\mathbb{P}(F\gt f) f>Fnx1,ny1,αf\gt F_{n_x-1,n_y-1,\alpha}
σx2=σy2\sigma_x^2=\sigma_y^2 σx2σy2\sigma_x^2\ne\sigma_y^2 2P(F>f)2\cdot\mathbb{P}(F\gt f) f>Fnx1,ny1,α/2f\gt F_{n_x-1,n_y-1,\alpha/2}

FF-distribution

If X1X_1 follows χd12\chi^2_{d_1} distribution and X2X_2 follows χd22\chi^2_{d_2} distribution, FF distribution is defined as

X1/d1X2/d2Fd1,d2\frac{X_1/d_1}{X_2/d_2}\sim F_{d_1,d_2}