4 Model Based Inference for CRE

Fisher, Neyman, Reg 三种方法都是非参方法:不需要模型假设。共性:填补,以应对核心挑战。

有了模型假设,τ\tau 就是模型参数的函数,我们应该估计参数并对参数估计量做推断。频率方法推导困难,贝叶斯方法更普适。贝叶斯框架中,参数天然就有分布。

搭建基础的分析框架很重要

Slides.

Motivation

Background:

  • A random sample from a super population
  • CRE

Goal

  • Finite sample ACE (Average Causal Effect).
  • Super population ACE.

Let's switch our point of view:

If we know the distribution of Y(1)Y(1) and Y(0)Y(0), then the ATE we concern is just a function of the parameters of the distribution. All we need to do is to estimate the parameters and conduct inference about them. So we introduce model-based methods here.

Bayesian Framework

Key opinion: treat unknowns (model parameters θ\theta) as random variables.

Maybe the parameter is fixed in fact. But we don't know it. We are uncertain about it. We describe our uncertainty by treat the parameter as a random variable.

Main elements:

  • Prior distribution p(θ)p(\theta).
  • Likelihood function p(data∣θ)p(data\mid \theta).
  • Joint distribution p(data,θ)p(data,\theta).
  • Posterior distribution p(θ∣data)p(\theta\mid data).

Bayesian Model-Based Imputation

Finite Sample

Theory

Suppose we know the distribution of

  1. W∣Y(1),Y(0)\boldsymbol{W}\mid \boldsymbol{Y}(1),\boldsymbol{Y}(0).
  2. (Y(1),Y(0))∣θ(\boldsymbol{Y}(1),\boldsymbol{Y}(0))\mid \theta.
  3. θ\theta.

Note that they are all joint distribution. If i.i.d., marginal distribution is enough.

With Yobs,W\boldsymbol{Y}^{obs},\boldsymbol{W} at hand, we can infer Ymiss\boldsymbol{Y}^{miss} by f(Ymiss∣Yobs,W)f(\boldsymbol{Y}^{miss}\mid \boldsymbol{Y}^{obs},\boldsymbol{W}). Then use them to estimate the finite sample ATE

τ=τ(Y(1),Y(0))=h(Ymis,Yobs,W).\tau=\tau(\boldsymbol{Y}(1),\boldsymbol{Y}(0))=h(\boldsymbol{Y}^{mis},\boldsymbol{Y}^{obs},\boldsymbol{W}).

That is, we want to know τ∣Yobs,W\tau\mid \boldsymbol{Y}^{obs},\boldsymbol{W}. The randomness comes from Ymis\boldsymbol{Y}^{mis}.

So we need to deduce

f(Ymiss∣Yobs,W)f(\boldsymbol{Y}^{miss}\mid \boldsymbol{Y}^{obs},\boldsymbol{W})

θ\theta is the bridge. See Yobs,W\boldsymbol{Y}^{obs},\boldsymbol{W} as pendants and we get

f(Ymiss∣Yobs,W)=∫θf(Ymiss∣Yobs,W,θ)p(θ∣Yobs,W)dθf(\boldsymbol{Y}^{miss}\mid \boldsymbol{Y}^{obs},\boldsymbol{W})=\int _{\theta}f(\boldsymbol{Y}^{miss}\mid \boldsymbol{Y}^{obs},\boldsymbol{W},\theta)p(\theta\mid \boldsymbol{Y}^{obs},\boldsymbol{W})d\theta

So we need f(Ymiss∣Yobs,W,θ)f(\boldsymbol{Y}^{miss}\mid \boldsymbol{Y}^{obs},\boldsymbol{W},\theta) and p(θ∣Yobs,W)p(\theta\mid \boldsymbol{Y}^{obs},\boldsymbol{W}).

Easy to deduce f(Ymis,Yobs∣W,θ)f(\boldsymbol{Y}^{mis},\boldsymbol{Y}^{obs}\mid \boldsymbol{W},\theta) because given W\boldsymbol{W}, (Ymis,Yobs)(\boldsymbol{Y}^{mis},\boldsymbol{Y}^{obs}) is a linear combination of (Y(1),Y(0))(\boldsymbol{Y}(1),\boldsymbol{Y}(0)).

And f(Ymis,Yobs,W∣θ)f(\boldsymbol{Y}^{mis},\boldsymbol{Y}^{obs},\boldsymbol{W}\mid \theta) can be known because it is the multiplication of P(W∣θ)P(\boldsymbol{W}\mid \theta) and f(Ymis,Yobs∣W,θ)f(\boldsymbol{Y}^{mis},\boldsymbol{Y}^{obs}\mid \boldsymbol{W},\theta). The former one is known because CRE.

Green ones are known.

Start reading from the second line.

An Example

Read the slides from page 38 to 47. The results are the same as imputation with the mean of the observed value 😂.

But the gain is that we know the distribution of τ∣Yobs,W\tau\mid \boldsymbol{Y}^{obs},\boldsymbol{W}, which allows us to easily conduct inference.

See Homework 3 where there are details.

Simulation

Challenges in Bayesian Inference:

  • computation of the posterior distribution p(θ∣data)p(\theta\mid data).
  • computation of the posterior predictive distribution p(y~∣y)p(\tilde{y}\mid y).

They are usually impossible to compute analytically in close form.

We can repeat:

  1. Impute θ\theta.
  2. Impute YmisY^{mis}.
  3. Calculate τ\tau.

Then we can get a distribution of τ\tau.

In View of Super Population

τsp=E[Yi(1)−Yi(0)]=τ(θ)\begin{align} \tau_{sp} & =\mathbb{E}[Y_{i}(1)-Y_{i}(0)] \\ & = \tau(\theta) \end{align}

Note that τsp\tau_{sp} is also a random variable because of θ\theta.

We want to know f(θ∣Yobs,W)f(\theta\mid \boldsymbol{Y}^{obs},\boldsymbol{W}), which equals to

p(θ)f(Yobs,W∣θ)f(Yobs,W)\dfrac{p(\theta)f(\boldsymbol{Y}^{obs},\boldsymbol{W}\mid \theta)}{f(\boldsymbol{Y}^{obs},\boldsymbol{W})}

We can know the numerator, and the denominator is an integration of the numerator.

An analytic example:

See Homework 3 for more detail.


4 Model Based Inference for CRE
https://wtx17.github.io/2026/10/14/4-Model-Based-Inference-for-CRE/
作者
wtx
发布于
2026年10月14日
更新于
2026年11月6日
许可协议