Where Model Misspecification Enters
The parametric g-formula estimates a regime-specific mean by combining models for the evolving covariates with a model for the outcome. Under a specified treatment regime, it simulates covariate histories and averages predicted outcomes over those histories. This makes two distinct sources of error consequential: an incorrect transition model can generate the wrong histories, while an incorrect outcome model can assign the wrong mean outcome to a history. When both are wrong, their effects can interact.
Let \(L_t\) denote covariates measured at time \(t\), \(A_t\) treatment, and \(Y\) a terminal outcome. Write \(\bar L_t=(L_0,\ldots,L_t)\) and \(\bar A_t=(A_0,\ldots,A_t)\). For a fixed regime \(\bar a\), let \(\mu(\bar a)=E[Y^{\bar a}]\) denote the mean counterfactual outcome. Under consistency, sequential exchangeability, and positivity for the regime of interest, the g-formula expresses this mean using the baseline covariate distribution, the conditional distributions of subsequent covariates, and the conditional mean outcome. These conditions identify the target from the observed-data law; they do not guarantee that a chosen parametric model correctly represents that law.
For clarity, consider a finite number of time points, a correctly represented baseline distribution, and a bounded outcome \(Y\in[0,1]\). Suppose fitted models converge to limiting conditional distributions \(Q_t\) and a limiting outcome mean \(\tilde m\), which need not be the truth. The limiting plug-in estimate is then the mean of \(\tilde m\) over histories generated recursively from the \(Q_t\)'s under \(\bar a\). Increasing the sample size or the number of simulated histories can make the estimate approach this limit precisely; neither operation makes the limit equal \(\mu(\bar a)\) when the limiting models are wrong.
How Errors Change the Regime Mean
A useful way to separate the two errors is to imagine evaluating the fitted outcome mean first over the fitted history distribution, then compare that quantity with the true mean. Let \(P\) denote the true regime-specific distribution of covariate histories and \(Q\) the distribution generated by the fitted transition models. With \(m(h)=E[Y\mid h,\bar a]\) and fitted mean \(\tilde m(h)\), the discrepancy decomposes exactly:
The first term is outcome-model error averaged over histories the fitted procedure generates. The second is history-distribution error, evaluated using the true outcome regression. This identity does not imply that the two errors can be separately estimated from the data without additional information. It does show why checking only the outcome regression at observed histories is insufficient: the g-formula may average predictions over a different distribution of histories.
Worked Example: A Misspecified One-Step Transition
Suppose a regime fixes treatment at \(A_0=1\), and a binary covariate \(L_1\) precedes a binary outcome \(Y\). The true transition probability is \(P(L_1=1\mid A_0=1)=0.20\). The true outcome risks are \(P(Y=1\mid L_1=0,A_0=1)=0.10\) and \(P(Y=1\mid L_1=1,A_0=1)=0.70\). The outcome model is correct, but the fitted transition model instead uses probability \(0.50\).
Under the true law, the regime-specific risk is \(0.80(0.10)+0.20(0.70)=0.08+0.14=0.22\). Under the fitted transition model, the g-formula risk is \(0.50(0.10)+0.50(0.70)=0.05+0.35=0.40\). The estimated limiting risk is therefore \(0.40\), with bias \(0.40-0.22=0.18\). The outcome predictions are correct at both covariate values; the bias comes entirely from giving too much weight to \(L_1=1\).
This example also shows that the direction of bias depends on the relation between the covariate and outcome. Since \(L_1=1\) has greater risk here, over-generating that state increases the estimated risk. If its risk were lower, the same transition error could move the estimate downward.
Worked Example: An Outcome Model Misses Covariate Risk Differences
Let baseline \(X\) be binary, with target-population probabilities \(P(X=1)=P(X=0)=0.50\). Under the regime of interest, suppose the true risks are \(0.10\) for \(X=0\) and \(0.90\) for \(X=1\). The transition model is irrelevant here because \(X\) is baseline and correctly represented. A fitted outcome model omits \(X\) and converges to a constant risk of \(0.40\), for example because the distribution of \(X\) in the data contributing to that fit has \(P(X=1)=0.375\).
The true target mean is \(0.50(0.10)+0.50(0.90)=0.05+0.45=0.50\). The fitted model predicts \(0.40\) for every baseline value, so averaging its predictions over the correct target distribution gives \(0.50(0.40)+0.50(0.40)=0.40\). The resulting bias is \(-0.10\).
The constant prediction can represent an average in the data used to fit the model and still be wrong for the target population. Averaging a misspecified outcome regression over the right baseline distribution does not restore the omitted risk contrast.
Worked Example: A Transition Error Propagates Across Two Times
Consider binary covariates \(L_1,L_2\) under a fixed treatment regime. The true probability of \(L_1=1\) is \(0.50\). The true second transition is \(P(L_2=1\mid L_1=1)=0.90\) and \(P(L_2=1\mid L_1=0)=0.10\). The terminal outcome risk is \(0.10\) when \(L_2=0\) and \(0.90\) when \(L_2=1\). Assume the second transition and outcome models are correct, but the first transition model uses \(P(L_1=1)=0.25\).
With the true first transition, the probability of \(L_2=1\) is \(0.50(0.90)+0.50(0.10)=0.45+0.05=0.50\). Thus the true regime risk is \(0.50(0.90)+0.50(0.10)=0.50\).
With the fitted first transition, the simulated probability of \(L_2=1\) becomes \(0.25(0.90)+0.75(0.10)=0.225+0.075=0.30\). The fitted g-formula risk is therefore \(0.30(0.90)+0.70(0.10)=0.27+0.07=0.34\), giving bias \(0.34-0.50=-0.16\).
The first transition error changes the distribution of \(L_1\), which changes the simulated distribution of \(L_2\), which changes the weights on the terminal outcome risks. Even though the later models are correct, they operate on histories that occur with the wrong frequencies.
A Bound on Propagated Error
The following finite-state bound makes the accumulation mechanism precise. For probability distributions \(R\) and \(S\) on the same finite state space, define total variation distance by \(\|R-S\|_{\mathrm{TV}}=\sup_B|R(B)-S(B)|\). For each time \(t\), compare the true and fitted transition kernels under the regime, uniformly over histories that can be supplied to the model. Assume the baseline distribution is correct.
Proof. Generate a history under the true kernels and one under the fitted kernels, starting from the same baseline value. At each transition, couple the two conditional draws so that, when their histories agree, the probability of different next covariate values is their conditional total variation distance, at most \(\epsilon_t\). (For finite distributions such a coupling is obtained by matching the common probability mass at each state.) Once histories disagree, the two paths may be generated in any way consistent with their respective conditional distributions. The probability that the paths have disagreed by the end is at most \(\sum_{t=1}^T\epsilon_t\), by the union bound on the first transition at which they separate.
For any function \(g\) taking values in \([0,1]\), the absolute difference between its expectations under two coupled histories is at most the probability that the histories differ: when they agree the function values agree, and otherwise their difference is at most one. Apply this to the true outcome mean \(m\). The discrepancy between its expectations over the true and fitted history laws is therefore at most \(\sum_t\epsilon_t\). Finally, under the fitted history law, the pointwise bound \(|m-\tilde m|\leq\epsilon_Y\) implies \(|E_Q[m(H)-\tilde m(H)]|\leq\epsilon_Y\). The triangle inequality gives the stated result. \(\square\)
The bound is deliberately conservative: errors at different times can cancel, and a transition difference in a covariate unrelated to later risks may have little effect. But without such additional structure, small errors at several transitions can accumulate. The bound also makes explicit that a small outcome-model error alone says nothing about history-distribution error.
Assumptions, Comparisons, and Failure Clues
Interpretation depends on the distinction between identification assumptions and modeling assumptions. Consistency, sequential exchangeability, and positivity support identification of the regime mean from the observed-data distribution. Correct specification of all conditional models is an additional condition for the parametric plug-in procedure to consistently estimate that identified mean, assuming appropriate estimation and regularity conditions. If a conditional law is misspecified, a fitted parametric model may converge to a best-fitting or pseudo-true parameter under its estimation criterion, but the resulting g-formula generally targets the mean under that fitted law—not necessarily the causal estimand.
This differs from Monte Carlo error. With a fixed set of fitted models, increasing the number of simulated histories reduces numerical integration noise, not the gap between the fitted-law mean and the true regime mean. It also differs from positivity failure: extrapolation into poorly supported histories can make model misspecification especially consequential, but the source of bias here is a wrong conditional model, not simply a lack of treatment support. A correctly specified model cannot be learned reliably where the data provide no relevant support.
Useful warning signs include simulated covariate distributions that conflict with observed distributions in comparable histories, implausible transitions, outcome predictions that fail to track observed risk patterns, and marked changes in the regime mean when reasonable functional forms are changed. These clues do not prove misspecification, and good agreement on observed histories does not guarantee good predictions in histories generated under an intervention. Model diagnostics require examining both conditional predictions and the histories that those predictions generate.
The main practical alternatives are to improve the conditional models using defensible nonlinearities and interactions, use more flexible or less parametric models where supported by data, or compare the g-formula estimate with another causal estimator based on different modeling assumptions. None is automatically protected against all misspecification. A saturated model can represent observed conditional means in a finite table but becomes unstable with sparse histories; a flexible model can reduce functional-form restrictions while still extrapolating poorly. The relevant limitation is not that simulation itself is defective, but that the simulation inherits the conditional laws supplied to it.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- A binary covariate has true regime probability \(0.30\) of being one, but the fitted transition model uses \(0.60\). The correct risks are \(0.20\) at covariate value zero and \(0.50\) at value one. Calculate the true and fitted regime risks.
- Why can a correct outcome regression fail to give a correct g-formula mean?
- For two transitions with uniform total variation errors at most \(0.02\) and \(0.04\), and outcome-mean error at most \(0.03\), what bound follows from the theorem?
- Does increasing the number of simulated histories eliminate bias caused by an incorrect transition model? Explain.
Solutions. (1) The true risk is \(0.70(0.20)+0.30(0.50)=0.14+0.15=0.29\). The fitted risk is \(0.40(0.20)+0.60(0.50)=0.08+0.30=0.38\), so the bias is \(0.09\). (2) The g-formula averages the outcome regression over covariate histories generated by transition models; incorrect transition distributions give incorrect weights to outcome predictions. (3) The bound is \(0.02+0.04+0.03=0.09\) on the absolute mean error. (4) No. More draws reduce Monte Carlo error around the fitted-model mean, but do not change the fitted transition law or its limiting bias.