Delta method for Poisson ratio 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.

This is just a visual comment on Thomas Lumley's answer (+1), illustrating it by simulation (blue) against his approximating normal distribution (red) using R
set.seed(2021)
lambda <- 2
theta  <- 5
n      <- 1000
cases  <- 10^5
Xbar   <- rpois(cases, n * lambda) / n
Ybar   <- rpois(cases, n * theta ) / n
ratio  <- Xbar / (Xbar + Ybar)
plot(density(ratio), col="blue")
curve(dnorm(x, lambda/(lambda+theta), sqrt(lambda*theta/(lambda+theta)^3/n)),
   from=min(ratio), to=max(ratio), col="red", add=TRUE) 


As a couple of extra comments:

*

*There is a slight issue that there is always a positive probability that you get $\frac00$. So the actual ratio distribution is not well defined, though if $n\lambda$ and $n\mu$ are both large the probability of this is extremely small

*You do not have to take means, as the ratio of the sums $\frac{\sum X_i}{\sum X_i +\sum Y_i}$ has the same distribution

*Since the sums are themselves Poisson distributed, you might then, in a handwaving way, say that for large $\lambda$ and $\theta$ the distribution of the ratio $\frac{X}{X+Y}$ is approximately $N\left(\frac{\lambda}{\lambda+\theta}, \frac{\lambda\theta}{(\lambda+\theta)^3}\right)$ and that the probability of seeing $\frac00$ is only $e^{-(\lambda+\theta)}$
