Let $X_1,...,X_n$ be drawn from $Pois(\lambda)$ and $Y_1,...,Y_n$ from $Pois(\theta)$. I would like to find the asymptotic distribution of $$\frac{\overline X}{\overline X + \overline Y }$$ using delta method.
My difficulty with the problem is the following: while I understand that $\frac{\sqrt{n} (\overline X - \lambda)}{\sqrt{\lambda}} \sim N(0, 1)$ asymptotically, there seems to be no proper transformation function $g$ so that satisfies $\frac{\overline X}{\overline X + \overline Y } = g(\overline X)$, since the statistics is a function of both $\overline Y$ and $\overline X$. I would appreciate thoughts on how delta method can be applied in this scenario.