Let $X_1, ..., X_n$ be a random sample from $\mathrm{Exp}(\lambda_1)$ and $Y_1, ..., Y_m$ be a random sample from $\mathrm{Exp}(\lambda_2)$. I have found the generalized likelihood ratio test (GLRT) statistic $\Lambda$ for testing $H_0:\lambda_1 =\lambda_2$ vs $H_1:\lambda_1 \neq \lambda_2$ is $\Lambda=\frac{n^n m^m}{(m+n)^{m+n}} T^{-n}(1-T)^{-m}$ where $T = \frac{\sum_i X_i}{\sum_i X_i + \sum_j Y_j}$.
Now I need to find the critical region of the test by the asymptotic distribution of the test $\Lambda$. I know the relation $W = 2 \log(\Lambda) \sim \chi_d^2$ where d is the number of parameters to be tested.
How can I use this relation to find the critical region in the above problem?
qchisq
inR
). $\endgroup$