Preface: TLDRTLDR: I'm a statistician (bear with me!) trying to use the martingale CLT but I'm having trouble findingI only can estimate the right martingale for my situationconditional variance instead of the unconditional one. What is it and isCan I do anything to get a martingale approach even correctCLT with norming by the conditional variance?
Suppose I have two iid data streams: $X = (X_1, X_2, \ldots)$ and $Y = (Y_1, Y_2, \ldots)$ independent of each other with $E X_1^2 < \infty$ and $E Y_1^2 < \infty$. I'm trying to estimate $\theta = E X_1 - E Y_1$ by sampling $X$ and $Y$ into sample means but with a wrinkle:
The entire timeline is divided up into slices, so that at the time when there are $n$ total points there are $k(n)$ slices, where in slice $i$ we have a difference-in-sample-means estimate $\hat{\theta}_i = \bar{X}_i - \bar{Y}_i$ calculated only from data within that slice. Also suppose that at time $n$, the number of points within slice $i$ (denoted $n_i$), is non-zero, known and not random for each $1 \leq i \leq k(n)$.
Assume there is dependence between the within-slice estimates $\{\hat{\theta}_i: 1 \leq i \leq n\}$ in the following way:
- For each $i$, the probability $p_i$ that each of the $n_i$ total within-slice visitors will be sampled from stream $X$ (instead of $Y$) is a function of $\hat{\theta}_{i-1}$. Assume that $p_i \in (0,1)$ so that the $\hat{\theta}_i$'s are orthogonal.
To ease notation let $E_{n,i} := \frac{n_i}{n} (\bar{X}_i - \bar{Y}_i - \theta)$ so that we can write simply $T_{n,j} = \sum_{i=1}^j E_{n,i}$ with each $E_{n,i}$ having zero mean. BecauseFortunately because of orthogonality of the $E_{n,i}'s$ the variance of $T_{n,i}$ is just $$ \textrm{Var}(T_{n,j}) = \sum_{i=1}^j \textrm{Var}(E_{n,i}) $$ My goaland from here it is straightforward enough to show that the following is asymptotically normal as $n \to \infty$, assuming that $k(n) \to \infty$ with $n$, i.e.: $$ \frac{T_{n,k(n)}}{\textrm{Var}(T_{n,k(n)})^{1/2}} \to N(0,1) \textrm{ in distribution as } n \to \infty$$
I immediately reached for the martingale CLT, but I'm stuck on constructing$T_{n,k(n)} / \textrm{Var}(T_{n,k(n)})^{1/2}$ has a martingale array out of $T_{n,j}$ and $\textrm{Var}(T_{n,j})$limiting normal distribution.
Letting $\mathcal{F}_n$ be the sigma-algebra generated by all the data observed up to the $n$th point and $\mathcal{F}_{n,i}$ be the sigma-algebra generated by only the data up to and including all of slice $i$My question: Unfortunately, one issue is that $\textrm{Var}(T_{n,i})$ is only $\mathcal{F}_{n,i}$-measurable so I can't build a martingale array in the typicalpractice it's way like: $$ M_{n,i} = T_{n,i} \cdot \left( \textrm{Var}(T_{n,k(n)}) \right)^{-1/2} $$ Since this would not be adaptedeasier to compute the filtrationconditional variances $\{\mathcal{F}_{n,i}: 1 \leq i \leq k(n)\}$$E(E_{n,i}^2 | \mathcal{F}_{n,i-1})$ than the unconditional ones $\textrm{Var}(E_{n,i})$. Instead, I triedIs it still possible to shoehorn something like $$ \tilde{M}_{n,i} = T_{n,i} \cdot \left( \textrm{Var}(T_{n,i)}) \right)^{-1/2} $$ but this isn'tobtain a martingale as written because $$ E(\tilde{M}_{n,i} | \mathcal{F}_{n,i-1}) = T_{n,i-1} \cdot \left( \textrm{Var}(T_{n,i)}) \right)^{-1/2} = T_{n,i-1} \cdot \left( \sum_{j=1}^i \textrm{Var}(E_{n,j}) \right)^{-1/2} $$ Which is off by justCLT using a small yet annoying factor. Is there some easy way aroundnorming by this situation to get the martingale I needconditional variance instead? One idea I had was to define the martingale I needFor example:
$$ \frac{T_{n,k(n)}}{\sum_{i=1}^{k(n)} E(E_{n,i}^2 | \mathcal{F}_{n,i-1})^{1/2}} \to N(0,1) \textrm{ in distribution as } n \to \infty$$
Is this workable at all (i.e. without the variance factormaybe with mild assumptions), show the CLT for that, and then show that $\tilde{M}_{n,i}$ or is not far from the martingale init totally missing an important point about how the limit. Does that even make senseCLT works?
EDITUPDATE 1: I am making no assumptions on the manner of dependence of $p_i$ on $\hat{\theta}_{i-1}$ aside that $p_i$ is bounded away from 0 and 1. If it turns out that this is intractable then I'd love to investigate what conditions must be imposed to make this work!
UPDATE 2: I realized that my initial problem about constructing a martingale really boiled down to the question of the conditional variance vs. the unconditional one. Restructured the question to make it more concrete.