A natural cubic spline with the given knots is a function that is polynomial of degree at most three on each interval between consecutive knots and has . With the usual whole-line convention, it extends affinely outside the extreme knots. The word natural refers to these endpoint second-derivative conditions; the interpolation values must be specified separately.
For , direct differentiation on either side of the knot gives
Both one-sided limits of the function and its first two derivatives at are zero, so these formulas are continuous there and
Its third derivative jumps from zero to six, which is permitted for a cubic spline.
Subtract the two finite sums. In the shifted sum replace the summation index by . For every interior index the new coefficient is
by Pascal's identity; the two endpoint coefficients agree as well. Therefore
For a degree- polynomial with leading coefficient , the backward difference has leading term
Since , this coefficient is nonzero for . Starting with , iteration gives degree and leading coefficient for . The next difference of the resulting constant is zero:
Write for the actual successive rotations , , and , each selected using the currently transformed matrix. The first eliminates position ; the second eliminates while leaving row two unchanged. After these, the first column is . The final rotation of rows two and three preserves both zeros in that column and eliminates . Hence
A lower-triangular starting matrix does not force any further zeros above the diagonal. For example, the lower-triangular matrix with all entries on and below its diagonal equal to one gives, with the nonnegative pivot convention,
which has all upper-triangular entries nonzero.
Inverting the product of rotations yields the QR factorization
The order reverses when taking the transpose. If is orthogonal, then is both orthogonal and upper triangular. Its first column forces and orthogonality with the other columns forces . Applying the same argument to the remaining block makes diagonal with entries of modulus one.
Our elimination rule makes and positive when nonzero, so they are both one. Every rotation has determinant one; thus and
Without a fixed pivot-sign convention one could only specify a diagonal sign matrix. The convention chosen in part (c) determines the precise signs above.
The columns outside indices are unchanged coordinate vectors. The remaining two columns have nonzero entries only in rows , with the block . They have squared norm and mutual inner product zero; they are also orthogonal to all the unchanged columns. Hence .
Let . If , choose with and . Then
Every other coordinate is unchanged. If , choose ; the same conclusions hold. Therefore the procedure can be fixed with the nonnegative pivot convention
This is a Givens rotation.
Using orthogonality,
Both norms are nonnegative, so taking square roots proves
Thus an orthogonal matrix is a Euclidean isometry fixing the origin.
A real square matrix is orthogonal when , equivalently . For and ,
Thus is orthogonal for every allowed angle, and indeed for every real angle.
The standard normal distribution function is strictly increasing. Thus implies
Rearranging gives
This is the confidence-interval/test duality for the matching one-sided procedures. The strict inequalities agree with the printed open interval.
For the observed mean, the one-sided -value is the null probability of a sample mean at least as large:
Standardization under the null gives
For every particular alternative mean , the likelihood ratio is increasing in the same statistic . Its size- threshold is fixed solely by the null distribution, so it is always the same found in part (c), independent of .
The single rejection region is therefore most powerful against every member of the composite alternative. Hence the test is uniformly most powerful for .
The likelihood ratio between the two normal means is
Since , it is strictly increasing in . The Neyman–Pearson test therefore rejects for large sample means. Under the null, , so choosing a right-tail probability gives
This has size exactly because the sampling distribution is continuous.
The Neyman-Pearson lemma concerns testing two simple hypotheses with densities and relative to a common measure. A test that rejects when , accepts when , and randomizes on equality if necessary to achieve size , is most powerful among all tests with size at most :
Here is the described likelihood-ratio test and test functions take values in . In the continuous normal setting below the boundary has probability zero, so randomization is unnecessary.
Independence and normality give . Consequently is standard normal, and
Rearranging the event gives . Thus the random interval covers the fixed parameter with probability . After observing the sample, its realized confidence interval is
The coverage refers to repeated samples, not to a posterior probability for the fixed parameter.
The sample mean has expectation and variance . For , . The first-order delta-method expansion is
Taking its mean and variance gives
These are large-sample approximations. Retaining the quadratic Taylor term would add the leading mean correction , but it does not change the requested first-order expression.
After the third arrival, the future interarrival times are independent of the first three interarrival times and again generate a rate- Poisson process. Conditional on , exactly three arrivals have occurred by time , and the number of further arrivals before two is Poisson with mean . Consequently, in the regular conditional-distribution sense at ,
Explicitly its conditional mass is zero for and is
This conditions on the third arrival time itself, rather than merely on the event that the third arrival has happened by time one.
Write . Independent increments make independent of the second term. Hence
The overlapping time interval contributes the covariance; the extra unit of time contributes none.
Successive interarrival times and are independent exponential variables of rate . Their joint density is for . The transformation , has Jacobian determinant one, giving
Integrating over gives one, as a joint density should.

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