For a fixed observed colour , Bayes' theorem gives
Completing the square shows that this is a truncated normal distribution with variance , lower endpoint zero, and untruncated location
Hence
Conditioning first on and using the law of total expectation yields the dusty colour-magnitude relation
As , the inverse Mills ratio implies with vanishing derivative, so the asymptotic slope is . As , , so the asymptotic slope is .
Set
The Markov factorization and the conditional normal laws from part b give the fully univariate product
where denotes the density. This is a weighted least squares problem in . Differentiating its log-likelihood gives
Every innovation in the numerator has expectation equal to its coefficient in the denominator times . Therefore , so this maximum likelihood estimator is unbiased.
For , the condition from part a becomes
It holds for arbitrary positive time gaps exactly when . The resulting exponential covariance function is the covariance of a stationary Ornstein-Uhlenbeck process, hence has the Markov property.
Writing , the predictive law is
As , , so the predictive mean tends to the stationary mean and the predictive variance tends to the stationary variance .
The vector is Jointly Gaussian. Assuming , Gaussian conditional independence gives
Thus the required condition is . Under it, conditioning on supplies no further information after , and the Gaussian process regression posterior is
Both the conditional expectation and conditional variance depend only on ; neither contains or .
The invariance property of maximum likelihood estimation gives
Since , the ratio has a log-normal distribution. Its exact variance is
and the lowest-order delta method approximation is
For fixed , case (i) has , whereas case (ii) has . Because and is the same in both cases, independent supernova-level variation in case (ii) gives the smaller fractional variance: averaging reduces it, while a shared galaxy fluctuation does not average away.
Let
and set
The within-galaxy contrasts contain no , so the parameter-dependent log-likelihood reduces to
The score equations give the maximum-likelihood estimators
The calibrator and Hubble-flow samples are independent, so both estimators are unbiased and
The Fisher information matrix for is
Hence : attains the multiparameter Cramér-Rao bound.
Write the Cepheid measurement as , where , and define the calibrated absolute magnitude data
Thus has a multivariate normal distribution with mean and covariance matrix
The Hubble law and the definition of distance modulus give
Consequently, with
the Hubble-flow observations are independent random variables satisfying . Apart from a factor independent of the parameters, the joint likelihood function is
The expression extends by continuity to a singular limiting covariance such as .
For distinct sibling supernovae and in the same galaxy, the shared fluctuation is the only common random term. Independence and linearity of covariance therefore give
Their correlation coefficient is
This is the intraclass correlation coefficient of the galaxy-level random intercept model.
The reported 95% credible interval for is
Conditional on the model, prior, and observed data, its posterior probability is 0.95. A frequentist 95% confidence interval instead has 95% coverage under repeated sampling before the data are observed; it does not assign a sampling probability to the fixed parameter after observing this dataset.
The nearly identical predictor columns create severe multicollinearity. Their sum is well identified, as shown by the excellent fitted response, but their difference is weakly identified, allowing ordinary least squares to choose huge opposite coefficients with huge standard errors. The independent priors impose the ridge penalty from part c, shrinking that unstable difference toward zero and producing the stable estimates near .
For a Laplace prior , maximizing the posterior is equivalent to minimizing
so the posterior mode is the Lasso. For a Gaussian prior , the mode minimizes
and is the ridge regression estimator . Gaussian conjugacy makes the posterior normal, so its mode and posterior mean coincide at this ridge estimate.
With unit error variance, the Gaussian likelihood has log-likelihood
Full column rank gives and the least-squares identity
Multiplying the likelihood by and absorbing all terms independent of into gives
The prior is
The software samples from the Bayesian posterior; the displayed "Estimate" values are posterior means computed from the Markov-chain Monte Carlo draws.
There are three regression coefficients and residual degrees of freedom, so . The reported residual standard error uses the unbiased divisor:
Hence the maximum-likelihood variance estimate is . Substituting this, , and the four fitted parameters—three coefficients plus —into the formula in part c(ii) gives the AIC.
Adding variables can reduce training bias and increase the maximized likelihood, but it also increases estimation variance and optimism. The penalty estimates this optimism, so minimizing AIC implements a bias-variance tradeoff aimed at expected out-of-sample Kullback–Leibler performance.
For a model with fitted parameters and maximized likelihood , the Akaike information criterion is
Backward selection starts with the full model, deletes the single variable giving the smallest AIC when that AIC is lower than the current value, and repeats until no deletion improves it. The first deletion is "indus", which gives AIC .
Model "lme2" replaces by a random intercept and random PTHK slope:
with a fitted bivariate normal covariance matrix for . This adds a random-slope variance and an intercept-slope covariance.
The likelihood-ratio statistic is
An ordinary chi-squared reference is unreliable because the null random-slope variance is on the boundary and its correlation is unidentified there; the reported correlation of one also signals a nearly singular fit. A valid practical test is a parametric bootstrap: simulate many datasets from fitted "lme1", refit both models by maximum likelihood to each, recompute the likelihood-ratio statistic, and estimate the p-value by the fraction at least . The AIC favors "lme2" slightly, whereas its BIC is larger, so the descriptive criteria do not agree.

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