Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 4 3D Solution Created 2026-09-24 Updated 2026-10-14
Assume , so the slope in this linear regression through the origin is identifiable. Expanding the residual sum of squares givesDifferentiation gives the unique least-squares estimator and its normal distribution:For , estimate the unknown variance byThe fitted component and orthogonal residual of the Gaussian vector are independent, and has the chi-squared distribution with degrees of freedom. Under the null hypothesis,The Student t test for regression through the origin rejects at significance level when , where the subscript denotes the corresponding quantile of Student's t-distribution. If all , the data contain no information about ; if , no residual degree of freedom is available for this unknown-variance test.
Past exam of the mathematics course of the University of Cambridge 2004 ib Paper 4 9H Solution Created 2026-09-24 Updated 2026-10-14
Write . When , minimizing gives the strictly convex quadratic normal equation . The least-squares estimator is thereforeThis is linear regression through the origin, with no fitted intercept. For , let and . An orthonormal change of coordinates in the Gaussian vector separates the unit design direction from its orthogonal residual directions. The first coordinate is normal with mean and variance ; the remaining coordinates are independent centered normals with that variance. Consequentlyand these variables are independent. Thus under the null, the Student t test for regression through the origin statistic isFor a prescribed significance level , reject the two-sided null when . The two-sided p-value is . There is one fitted coefficient, so the variance degrees of freedom are , not .
The assumptions and matter. If all , the distribution contains no information about and no informative test is possible. With one nonzero design observation there is no residual variance degree of freedom, so the stated unknown-variance t test cannot be constructed.