For the survivor functions, and . The product rule gives
Integrating from 0 to , using , yields
The three terms partition the possible histories: A occurs first by time , B occurs first by time , or neither has occurred by . The first two are the cumulative incidence functions for the two competing risks, while the third is the survival probability of their minimum. The initial value assumes nonnegative event times with no atom at zero.
Condition on the event time . Independence makes the chance that is still later equal to its survivor function . Hence
The continuous distributions give zero probability of a tie. The complementary probability is .
Define the event counting process and at-risk process by
Under a common hazard function and independent censoring, the conditional event rate is . Equivalently, the counting-process compensator satisfies . Estimate a cumulative hazard increment by the observed event increment divided by the current risk set:
With no ties, has mass at , and . Thus the Nelson–Aalen estimator is
Only event times contribute, so no empty risk set is divided into an event count. Right-censored observations contribute time to the risk sets, but no event increment.
Choose the potential right-censoring times to include every observed right censoring time up to , and also the endpoints 0 and . Then no individual is censored strictly inside . Use an explicit endpoint convention: let count individuals still event-free after any events at , but before censoring at . If events occur in , the number at the beginning of that interval, after censoring at its left endpoint, is .
The no-censoring interval estimate from the preceding parts is therefore . The possible event mass at zero contributes . Multiplying yields
For a continuous event-time distribution, normally . Within interval , put and let its successive event counts be . Its Kaplan–Meier estimator factors telescope:
The same calculation at zero proves
The paper's phrase “at risk at ” does not specify its side of an event at that endpoint. If it denotes the conventional pre-event risk set size instead, and events occur exactly at , substitute . The interval factor is then ; at zero it is . This keeps the events-before-censoring convention consistent. After an empty risk set, stop the product; if the fitted survival has reached zero, retain zero rather than creating a factor.
The survivor function of a nonnegative event time is
Here the paper uses for the survival function, rather than for the cumulative distribution function; the latter is for a continuous distribution. The survivor function is nonincreasing, starts at 1 when there is no atom at zero, and tends to zero for an almost surely finite event time.
Two useful ways to strengthen the causal inference are:
These are complementary: the first changes the proposed exposure experimentally, and the second probes the validity and reproducibility of its genetic evidence.

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