Integrating by parts gives
because the and terms differ only by a total derivative. Hence
Relabeling an arbitrary alphabet in decreasing probability order makes part (ii) pointwise:
It immediately implies
and, after taking expectations,
This reverses the prefix-code lower bound from part (b). A general one-to-one code need not decode concatenated codewords instantaneously or uniquely, so it is not constrained by Kraft's inequality.
For decreasing probabilities, the first symbols each have probability at least , so . Hence
For any fixed threshold , minimizing the excess-length probability means assigning the available strings shorter than to the most probable symbols. Repeating this exchange argument simultaneously for every threshold orders symbols by decreasing probability and assigns binary strings from shortest to longest. There are words of length , so the th word in shortlex order has length
This is the optimal one-to-one binary code.
If both outcome models are correct, each residual term in the preceding conditional expectations has mean zero regardless of the working propensity model. Thus for , and their difference is again . This proves double robustness.
Write and . Conditional on ,
with the analogous control expression
If the propensity model is correct, both ratios are one and these equal and , so their difference is the conditional average treatment effect.
Conditional on ,
Multiplying by , taking expectations, dividing by , and using part (i) proves the inverse probability weighting formula.
By consistency of potential outcomes and conditional exchangeability,
Taking conditional expectations given and subtracting the cases and proves the outcome-regression identification formula.
The independence fails. Conditioning on , a descendant of , opens the collider path even after conditioning on .
The independence still holds. Every path from starts through ; paths on which is a noncollider are blocked by conditioning on , while paths opened at collider are blocked by the conditioned variables or . Conditioning on creates no route avoiding these blocks.
The independence already failed, and it still fails because conditioning on opens .
The independence fails after conditioning on . Since is a descendant of collider , selection opens .
Yes. Conditioning on blocks , while is blocked at the collider . Therefore .
Yes. Conditioning on blocks the directed paths from to . Although conditioning on opens and , conditioning additionally on and blocks those paths. Hence .
No. Conditioning on the collider opens , so and are not conditionally independent given .
Yes. Every path from to is blocked by a collider, such as or . Thus D-separation gives .
None of the three coefficients has a causal interpretation. The coefficient is unavoidably confounded by unmeasured . Conditioning on the collider opens paths through for both and , so adding all measured regressors does not repair the bias.
Neither coefficient has a causal interpretation. The coefficient is confounded by omitted , and conditioning on the collider also opens . The coefficient retains the open path through .
Neither coefficient has a causal interpretation. Conditioning on opens the collider bias path for the coefficient, while the coefficient remains confounded by and by omitted .
After adjusting for , the coefficient is the total causal effect of on , consisting of and . The coefficient is the causal effect of with held fixed: it retains paths not passing through , namely the direct path and .

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