Graph. The original plot below places distance on the horizontal axis and recession speed on the vertical axis. Both axes include the origin, so the proportional model and departures from it can be judged directly. The displayed line is the fitted through-origin line, not a sequence joining adjacent observations.
Figure 1.
Distance–speed observations, fitted proportional relation and residuals
. Details.
Minimization. Write and . Differentiating the specified chi-squared objective gives
Thus the unique least-squares minimum is
Consequently
An unweighted average of would not minimize this chi-squared objective: equal speed errors give greater slope information to the more distant points. No intercept is fitted because the supplied model constrains it to zero.
Estimated error. For the residual estimate of slope uncertainty through the origin, independent equal-variance speed errors imply
Equivalently, completing the square gives . The common is not supplied. Estimate it from the residuals, using eight residual degrees of freedom after fitting one parameter:
The estimated standard error is km s kpc, giving
with the uncertainty interpreted as one estimated standard error. If the common errors are Gaussian, has a Student's t-distribution with eight degrees of freedom; an exact confidence interval uses the corresponding quantile rather than treating the estimated as known. The quoted error is conditional on exact distances, independent constant-variance speed scatter and the proportional model. A common distance-calibration bias or correlated velocities would not be captured by this residual calculation.