Let two independent random variables, $Y_1$ and $Y_2$ that have binomial distribution have parameters $n_1 = n_2 = 100$, $p_1$ and $p_2$, respectively, be observed to be equal to $y_1 = 50$ and $y_2 = 40$. Determine an approximate $90\%$ confidence interval for $p_1 - p_2$.
I'm pretty new to confidence intervals and wanted help on this problem from my book. I have tried to apply the following definition:
Let $X_1, X_2, \ldots, X_n$ be a sample on a random variable $X$, where $X$ has p.d.f. $f(x;\theta)$, where $\theta\in \Omega$. Let $0 < \alpha < 1$ be specified. Let $L = L(X_1, \ldots, X_n)$ and $U = U(X_1, \ldots, X_n)$ be two statistics. We say that $(L, U)$ is a $(1 - \alpha)100\%$ confidence interval for $\theta$ if $1 - \alpha = P_{\theta}(\theta \in (L, U))$.
However, I have been having trouble applying this definition directly. I can identify $\alpha = 0.1$ here, which means that I think we want $P(L < p_1 - p_2 < U) = 0.9$. Now I'm really not sure how to use this information to get the answer; I have no clue where the observed values would come into play.