Ignoring the multinomial coefficient, the likelihood is . Maximize with . A Lagrange multiplier gives ; summing the resulting gives . Thus
Because every count is positive, the log-likelihood is strictly concave on the interior simplex and this solution is its unique maximum.
Under the product constraint the log-likelihood separates:
Maximizing the two simplex problems independently gives and . Hence
The fitted expected cell counts under independence are consequently .
The generalized likelihood ratio compares the constrained maximum from part (b) with the unrestricted maximum from part (a). Taking minus twice its logarithm gives
The unrestricted model has free parameters; the independence model has . Thus the asymptotic null distribution is , with four degrees of freedom. The supplied value gives
Therefore reject independence at the 5% level, but not at the 1% level. There is evidence of an association between the two classifications. The fitted expected counts are all about nine or larger, so the usual chi-squared approximation has no very small expected cells here.
The normal-error log-likelihood, for fixed variance, is a constant minus . Differentiating the squared residual gives the normal equations . Since has full column rank, is positive definite and the squared residual is strictly convex in . Hence the unique minimizer, and thus the maximum-likelihood estimator, is
Profiling over the unknown positive variance does not change the residual-minimizing value of .
Write . Since , the estimator is . Therefore
Its expectation proves unbiasedness. It is also jointly normal, being an affine transformation of the normal error vector.
Let . The usual unbiased error-variance estimator is
Indeed the residual is the orthogonal projection of onto the -dimensional complement of the design column space, giving and expected RSS equal to . The maximum-likelihood estimator instead divides RSS by ; the unbiased divisor above is the one used for the exact t-interval in part (d).
Put and . The normal law of the estimator gives . The fitted and residual Gaussian projections are orthogonal and hence independent, so this quantity is independent of . Their ratio therefore has Student's t-distribution:
If is its upper quantile, rearranging its central probability event gives
This interval has exact coverage under the given normal linear model, rather than merely large-sample coverage.

Articles by others on the same topic (0)

There are currently no matching articles.