Suppose I observe $X_1, ..., X_n$ independent and identically distributed random variables and I calculate a confidence interval $(L, U)$ from this data. Now I take a second sample $Y_1, ..., Y_n$ from the same distribution. What is $P(L < \bar Y < U)$? How does it vary with $n$?
My initial thought was to use the delta method on $(\bar X, S^2)$, with
\begin{align} g \begin{pmatrix} \bar X \\ S^2 \end{pmatrix} = \begin{pmatrix} \displaystyle \bar X - t_{1 - \alpha /2, n - 1} {S \over \sqrt n} \\ \bar X \\ \displaystyle \bar X + t_{1 - \alpha /2, n - 1} {S \over \sqrt n} \end{pmatrix} \end{align}
But $\bar X$ and ${S \over \sqrt n}$ converge at different rates and I'm unsure how to handle this.
Finally, here's a quick simulation showing that for 10 samples from a standard normal, $P(L < \bar Y < U)$ is about 0.85:
n <- 10
coverage <- function() {
x <- rnorm(n)
ci <- t.test(x)$conf.int
once <- function() dplyr::between(mean(rnorm(n)), ci[1], ci[2])
mean(purrr::map_dbl(1:500, ~once()))
}
mean(purrr::map_dbl(1:500, ~coverage()))
#> [1] 0.846428
Created on 2019-03-16 by the reprex package (v0.2.1)