$$ \newcommand{X}{} \newcommand{Y}{}
$$
\[ y_1 \ldots y_m \]
\[ \text{estimand} = \frac{1}{m}\sum_{j=1}^m y_j \]
\[ Y_1 \ldots Y_n \]
\[ \text{estimator} = \frac{1}{n}\sum_{i=1}^n Y_i \]
There are many ways to get a sample. How you do it matters.
We can use fake data simulation to help us answer these questions.
Because it’s fake, we get to poll the whole population so …
If we’re not satisfied with that distribution, that’s evidence it’s a study we shouldn’t be running.
Which won? Was it luck?
\[ \text{estimator} = \frac{\sum_{j:W_j=1} y_j}{\#\{j:W_j=1\}} - \frac{\sum_{j:W_j=0} y_j}{\#\{j:W_j=0\}} \]