The graph has no cause of , so is independent of its potential outcomes. By consistency of potential outcomes, the G-formula therefore gives
Condition on and use the structural zero from part ii:
Consequently the causal risk ratio is
Applying Bayes' theorem to the second factor gives
which proves the stated formula. The unmeasured common cause of and does not obstruct this total-effect argument because no mediator effect is being identified.
Let be the potential violence outcome if race were set to and stop status to . The substantive assumption is the structural zero
Equivalently, with the natural stop status , implies .
The administrative data include only encounters with . Conditioning on the stop indicator selects on the collider
which opens the noncausal path and creates collider bias. The equal entries estimate only the selected risks . They ignore racial differences in the probability of being stopped and therefore do not identify the total causal effect of race on violence. This is also selection bias, because encounters with never enter the dataset.
Differentiating the residualized objective gives
This is the population Frisch–Waugh–Lovell theorem.
For a semiparametric estimator, estimate and flexibly. With cross-fitting, obtain held-out predictions and regress the residualized outcome on the residualized treatment through the origin:
Cross-fitting limits overfitting bias and permits flexible nuisance estimators under the usual convergence and overlap conditions.
For fixed , conditional least squares is minimized by
Therefore the remaining objective is
whose normal equation gives
Let
be the conditional average treatment effect. Since is binary, conditional exchangeability implies
and . Hence
Thus is the overlap-weighted average treatment effect. It weights covariate strata by the overlap weight and generally differs from the ordinary ATE when treatment effects are heterogeneous and overlap varies with .
Under the partially linear model,
Inserting this constant conditional contrast into the identification formula from part i gives
The no unmeasured confounding assumption, or conditional exchangeability, is
Also assume consistency of potential outcomes, no interference in causal inference, positivity in causal inference, and finite expectations. For , the law of total expectation, exchangeability, and consistency give
Positivity ensures that the observed conditional means exist on the covariate support being averaged. Subtracting the two cases identifies the average treatment effect as
Suppose assortative mating raises the dizygotic genetic correlation from to . Then
so the formula returns
Thus using the nominal one-half genetic correlation produces downward bias in estimated heritability, assuming the other ACE assumptions remain valid.
The common marginal trait variance is
For monozygotic pairs, shared genes and shared environment give
For dizygotic pairs, the genetic covariance is halved while the common environment is unchanged:
Subtracting cancels the common-environment variance and proves Falconer's formula
the heritability under the ACE model.
Take all components to be centered and let their marginal variances be . A linear structural equation model is
where are mutually independent and the are identically distributed. The causal directed acyclic graph has arrows
For monozygotic twins, set with ; the genetic cause is completely shared. For dizygotic twins, one explicit construction is
where are independent with variance . Then both additive genetic terms have variance , while their covariance is and their correlation coefficient is . In a fuller graph, the shared points to both genetic components and the unique points only to its own component.
For one unit write and . Since the graph makes independent of , the known distributions determine the conditional assignment law
Under the sharp causal null hypothesis that has no effect on , delete . The D-separation criterion then gives
blocks the route through , blocks the route through , and block the collider-opened detours through and , and remains a collider on routes through .
For independent units , choose a test statistic that measures residual association between and . Hold fixed and independently draw
Recompute after each draw. A valid Monte Carlo conditional randomization test uses
with a two-sided statistic or absolute value when appropriate.
Under the null, conditional on , the observed and its resamples are exchangeable because they have the same product law . The rank of among the values is therefore uniform after randomized tie breaking and conservative without it. Consequently
Taking expectations proves unconditional type I error control.
Among observed pretreatment variables, every sufficient set must contain to block
and to block
Conditioning on opens the collider on
so must also be included. The resulting minimal sufficient adjustment set is
It blocks every path from to that remains after removing , while the open path
preserves instrument relevance. Adding blocks no required relevance path, so
is also sufficient.
There are no others. In particular, adding blocks the displayed relevance path. Without , conditioning on also opens
which violates independence; adding closes that path but leaves no open path from to . Hence the complete list is and .
In potential outcome notation, a valid instrumental variable must satisfy:
In the graph, has open noncausal paths to that do not pass through , including
Equivalently, these paths remain after deleting the causal edge . Thus is associated with potential outcomes through the latent variables and , violating instrumental-variable independence; it is not a valid marginal instrument.
Under , Bayes' theorem at the nested value gives
Separability of the prior and equality of the priors imply
Rearranging proves the Savage-Dickey density ratio
which is the Bayes factor in favor of the nested model.
A Gibbs sampler draws each variable from its full conditional distribution, so every proposed update is accepted. At the start of a sweep define , , and
First update the reddenings independently as
Recompute and , then make the Gaussian updates
and
With
the remaining full conditionals, in the parameterization given in the question, are the scaled inverse chi-squared laws
Repeating these updates in the displayed order gives a complete Gibbs sweep. The formulas assume and nondegenerate sampled predictors; posterior propriety must be checked because the hyperpriors are improper.
Let and . With the stated improper hyperpriors, the unnormalized posterior density is
Its directed acyclic graph has, for each star, the arrows
followed by the deterministic observation arrows
The latent variables are repeated inside a plate indexed by ; all hyperparameters lie outside that plate.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact