For constant hazards and ,
Its limit is the probability that occurs before .
With cause-specific hazards and , survival free of either event through time is
The probability of remaining event-free to and then experiencing in is . Therefore
The cumulative incidence function for cause is
Unlike one minus a cause-specific survivor function, it is the absolute probability of observing cause by time in the presence of all competing causes.
The cause-specific hazard for cause is
It is the instantaneous rate of cause among individuals still free of every competing event.
The residual plot has two asymmetric clouds. Event residuals lie below the horizontal boundary , while censored residuals lie at or below . Because , fitted cumulative hazard contains the rapidly increasing multiplier ; individuals with large who remain event-free until censoring can therefore have very negative residuals. At small , events tend to lie near and censored observations near . The resulting scatter is wedge-shaped and increasingly spread toward negative values as grows, rather than homoscedastic or approximately normal.
For an observed event,
Its supremum is one, approached when the fitted cumulative hazard is near zero, while there is no finite theoretical lower bound.
For a censored observation,
Its supremum is zero and again there is no finite theoretical lower bound. In a finite fitted dataset the realized minima are of course finite.
A residual must correspond to an event and fitted cumulative event count . The event occurred much earlier than the model expected for that individual.
A residual means that the fitted expected event count by the observed follow-up time exceeded the observed count by four. It may be a censored individual with fitted cumulative hazard four, or an individual whose event occurred only after fitted cumulative hazard five. In either case the individual remained event-free substantially longer than predicted.
For the fitted Cox proportional-hazards model,
where is the fitted baseline cumulative hazard, usually obtained with the Breslow estimator.
Interchanging the order of the finite sums gives
Each hazard increment is counted once for every individual exposed to it, exactly reproducing its event count.
At time , the observed number of events is and the exposure to the common instantaneous hazard is the risk-set size . The likelihood score for a hazard increment therefore equates observed and expected events:
Thus the Nelson–Aalen estimator is
It estimates the cumulative hazard function by adding event count divided by current exposure at every observed event time.
The risk set at contains every individual still under observation and event-free immediately before . Since the observed times are strictly ordered increasingly, these are individuals , so its size is
Given numerical values of and , maximize the joint log-likelihood over the response rates :
This is a penalized binomial regression problem and can be solved by Newton method or another numerical optimizer. One may alternate this maximization with the closed-form updates for and from part i until convergence. The selected solution should have a negative-definite Hessian in the fitted log-odds parameters.
For each substudy define the log-odds treatment effect
The normal random-effects log-likelihood, up to an additive constant, is
Its score equations give
These are the maximum-likelihood estimators rather than the unbiased sample-variance estimator. At an interior solution with , the Hessian in is negative definite, which is the required second-order condition.
For
the stationary equations are
Dividing them gives
The fixed-power constraint then determines the total sample size. Strict convexity after eliminating one variable supplies the second-order minimum condition.
The expected number of failures is
Holding the alternative and test size fixed, constant power is equivalent to fixing . The ethical allocation problem is therefore
The Lagrange multiplier stationary equations determine the ratio; the second-order condition requires the constrained stationary point to be a local minimum.
Writing gives and , so apart from the positive factor the variance is
Hence
The unique minimum is
This is the Neyman allocation for the log relative risk of failure.
Put
At a fixed alternative , the approximate power of the Wald test increases as its variance
decreases. For fixed total sample size , the allocation problem is therefore
with integer rounding applied after solving the continuous problem. The second-order condition is positivity of the second derivative at the stationary point.

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