The transformation is . Because has a unit-rate exponential distribution,
Thus has a Weibull distribution, with
Consequently is constant, proving proportional hazards.
Writing the two functions in the question as survivor functions, . Since ,
Differentiating at times where the hazard functions exist gives . Their hazard ratio is therefore the constant , so they form a proportional hazards family.
The variance of an estimated hazard increment is large when its group has few individuals in the risk set. The log-rank weights are near zero when either or is small and are largest when both groups retain substantial information. They therefore suppress noisy late-event comparisons and weight each observed-minus-expected event by its available information. Unit weights would instead give equal influence to unstable increments from depleted risk sets.
Put . The difference between the two Nelson–Aalen estimator increments is
Therefore the log-rank weights
make each summand of equal the corresponding summand of , and hence .
The group-specific estimated cumulative hazard jumps only when that group experiences the event, so
Let and . Applying the Nelson–Aalen estimator separately to group gives
with a zero contribution when the event at occurs in the other group.
Summing the observed-minus-expected contributions gives the unstandardized log-rank statistic
Under the null it is centered at zero. A two-sided log-rank test compares its magnitude with the square root of its null variance.
The quantity
is the observed-minus-expected group-1 event count at time . A positive value is local evidence that group 1 has the greater hazard function; a negative value points toward group 0.
Under the null hypothesis of equal event-time distributions, every member of the combined risk set has the same instantaneous chance of being the next event. Conditional on one event at and on the two risk-set sizes,
so
The risk set at event time contains individuals still under observation and event-free immediately before . For group its size is
The use of keeps the individual who experiences the event at in the risk set just before that event.
A Dirichlet process mixture model avoids fixing the number of occupied functions. Let be the finite-dimensional Gaussian process law on the common input grid and specify
A draw from a Dirichlet process is almost surely discrete, so several coincide and thereby form clusters. The number of occupied clusters is random and can grow with the data.
Bayes' theorem turns the categorical distribution prior probabilities and the component multivariate normal densities into
These probabilities define the label update in the Gibbs sampler.
For component , stack its assigned observations as . The prior is and each assigned vector is conditionally . Normal-normal conjugacy gives
where
If , this reduces to the prior .
Let . The label likelihood for the mixture weights is proportional to . Multiplication by the density and Dirichlet-multinomial conjugacy gives
Conditional on the labels, the observations and component means provide no further information about .
Assume a negative test identifies the recovered state. Person 1 remains infected through day 7 and recovers during , so their interval-censored contribution is
Person 2 remains infected through day 7 and makes an exact transition at day 10. A transition at an exact time contributes a transition probability density, giving
Assuming independent individuals, their joint likelihood contribution is
The minimum of the recovery and death clocks has an exponential distribution with rate . Its expected value is therefore
Use the shape-rate convention . The factors involving in the posterior density are
By Poisson-gamma conjugacy,
so its posterior mean is .
Treat the diagnosis counts as the observed incidence series and define their total infectiousness by
A conditionally independent Poisson observation model for the renewal process is
Initial infections before the observation window can be included in the definition of .

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