1. Home
  2. Explore
  3. Mathematics
  4. Chi-Squared Distribution

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Chi-Squared Distribution

  • 18Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Chi-Squared Distribution

Define the chi-squared distribution and state how it arises from standard Gaussian random variables.

18 questions

  1. 1

    Define the chi-squared distribution and state how it arises from standard Gaussian random variables.

    Model answer

    The chi-squared distribution with ddd degrees of freedom is the distribution of the sum of squares of ddd independent standard Gaussian (normal) random variables.

    Explanation

    If Z1,…,ZdZ_1, \dots, Z_dZ1​,…,Zd​ are i.i.d. N(0,1)N(0,1)N(0,1), then ∑i=1dZi2∼χd2\sum_{i=1}^d Z_i^2 \sim \chi^2_d∑i=1d​Zi2​∼χd2​.

  2. 2

    What is the relationship between the sample variance of a normal sample and the chi-squared distribution?

    Model answer

    For an i.i.d. sample X1,…,XnX_1, \dots, X_nX1​,…,Xn​ from N(μ,σ2)N(\mu, \sigma^2)N(μ,σ2), the sample variance Sn2=1n∑i=1n(Xi−Xˉ)2S_n^2 = \frac{1}{n}\sum_{i=1}^n (X_i - \bar{X})^2Sn2​=n1​∑i=1n​(Xi​−Xˉ)2 satisfies nSn2/σ2∼χn−12n S_n^2 / \sigma^2 \sim \chi^2_{n-1}nSn2​/σ2∼χn−12​.

    Explanation

    The sum of squared deviations from the sample mean follows a chi-squared distribution with n−1n-1n−1 degrees of freedom when scaled by the true variance.

  3. 3

    How does the shape of the chi-squared distribution change as the degrees of freedom increase?

    Model answer

    As the degrees of freedom increase, the chi-squared distribution becomes flatter and shifts to the right; its expectation equals the degrees of freedom, so the mass moves to infinity.

    Explanation

    For large ddd, the mean ddd grows, and the distribution becomes more symmetric and bell-shaped, approaching a normal distribution.

  4. 4

    Why is there no such thing as a 'standard' chi-squared distribution?

    Model answer

    Unlike the normal distribution, there is no standardization that transforms a chi-squared with ddd degrees of freedom into a chi-squared with one degree of freedom; the distribution depends on ddd and cannot be normalized to a unique form.

    Explanation

    Subtracting the mean and dividing by the standard deviation does not yield a chi-squared distribution with a fixed number of degrees of freedom.

  5. 5

    Who introduced the t-distribution and under what pseudonym?

    Model answer

    The t-distribution was introduced by William Gosset, who published under the pseudonym 'Student' because his employer, Guinness Brewery, did not allow him to publish under his real name.

    Explanation

    Gosset worked at the Guinness Brewery in Dublin and used the name 'Student' for his 1908 paper.

  6. 6

    Define the t-distribution in terms of a standard normal and a chi-squared random variable.

    Model answer

    If Z∼N(0,1)Z \sim N(0,1)Z∼N(0,1) and V∼χd2V \sim \chi^2_dV∼χd2​ are independent, then T=Z/V/dT = Z / \sqrt{V/d}T=Z/V/d​ follows a t-distribution with ddd degrees of freedom.

    Explanation

    This ratio arises naturally when estimating the mean of a normal distribution with unknown variance.

  7. 7

    Explain why the t-distribution has heavier tails than the standard normal distribution.

    Model answer

    The extra uncertainty in the denominator (the square root of a chi-squared divided by its degrees of freedom) causes the t-statistic to be more variable, leading to heavier (fatter) tails compared to the normal.

    Explanation

    For small degrees of freedom, the denominator can be much smaller than 1, producing extreme values more often.

  8. 8

    For what sample sizes is the t-distribution noticeably different from the normal distribution?

    Model answer

    The t-distribution differs noticeably from the normal only for small sample sizes, typically less than about 50 observations. For larger samples, the two are virtually identical.

    Explanation

    As the degrees of freedom increase, the t-distribution converges to the standard normal; the difference is negligible for n>50n > 50n>50.

  9. 9

    State the asymptotic distribution of the Wald test statistic for testing H0:θ=θ0H_0: \theta = \theta_0H0​:θ=θ0​.

    Model answer

    Under H0H_0H0​, the Wald test statistic Tn=n(θ^MLE−θ0)TI(θ0)(θ^MLE−θ0)T_n = n (\hat{\theta}_{MLE} - \theta_0)^T I(\theta_0) (\hat{\theta}_{MLE} - \theta_0)Tn​=n(θ^MLE​−θ0​)TI(θ0​)(θ^MLE​−θ0​) converges in distribution to a chi-squared with ddd degrees of freedom, where ddd is the dimension of θ\thetaθ.

    Explanation

    This follows from the asymptotic normality of the MLE: n(θ^MLE−θ0)→N(0,I(θ0)−1)\sqrt{n}(\hat{\theta}_{MLE} - \theta_0) \to N(0, I(\theta_0)^{-1})n​(θ^MLE​−θ0​)→N(0,I(θ0​)−1), so the quadratic form converges to a chi-squared.

  10. 10

    In the Wald test, what can be used in place of the Fisher information matrix I(θ0)I(\theta_0)I(θ0​)?

    Model answer

    By Slutsky's theorem, I(θ^MLE)I(\hat{\theta}_{MLE})I(θ^MLE​) (the estimated Fisher information) can be used in place of I(θ0)I(\theta_0)I(θ0​) without affecting the asymptotic distribution.

    Explanation

    Since θ^MLE\hat{\theta}_{MLE}θ^MLE​ is consistent, I(θ^MLE)I(\hat{\theta}_{MLE})I(θ^MLE​) converges in probability to I(θ0)I(\theta_0)I(θ0​), so the test statistic remains asymptotically chi-squared.

  11. 11

    How is the critical value for the Wald test determined?

    Model answer

    The critical value is the 1−α1-\alpha1−α quantile of a chi-squared distribution with ddd degrees of freedom, denoted qαq_\alphaqα​, such that P(χd2>qα)=αP(\chi^2_d > q_\alpha) = \alphaP(χd2​>qα​)=α. The test rejects H0H_0H0​ when Tn>qαT_n > q_\alphaTn​>qα​.

    Explanation

    The number of degrees of freedom equals the dimension of θ\thetaθ under H0H_0H0​.

  12. 12

    What is the likelihood ratio test statistic for testing H0:θ=θ0H_0: \theta = \theta_0H0​:θ=θ0​ against H1:θ≠θ0H_1: \theta \neq \theta_0H1​:θ=θ0​?

    Model answer

    The test statistic is Λ=2[ℓn(θ^MLE)−ℓn(θ0)]\Lambda = 2 \left[ \ell_n(\hat{\theta}_{MLE}) - \ell_n(\theta_0) \right]Λ=2[ℓn​(θ^MLE​)−ℓn​(θ0​)], where ℓn\ell_nℓn​ is the log-likelihood.

    Explanation

    This is twice the difference in log-likelihoods; large values indicate that the unrestricted MLE is much more plausible than θ0\theta_0θ0​, leading to rejection.

  13. 13

    For a composite null hypothesis H0:θ∈Θ0H_0: \theta \in \Theta_0H0​:θ∈Θ0​ where Θ0\Theta_0Θ0​ has dimension rrr less than the full dimension ddd, what is the asymptotic distribution of the likelihood ratio test statistic?

    Model answer

    Under H0H_0H0​, the test statistic 2[ℓn(θ^MLE)−ℓn(θ^constrained)]2[\ell_n(\hat{\theta}_{MLE}) - \ell_n(\hat{\theta}_{constrained})]2[ℓn​(θ^MLE​)−ℓn​(θ^constrained​)] converges in distribution to a chi-squared with d−rd - rd−r degrees of freedom.

    Explanation

    The degrees of freedom equal the difference in the number of free parameters between the unrestricted and restricted models.

  14. 14

    Explain the principle behind the likelihood ratio test.

    Model answer

    The likelihood ratio test compares the maximum likelihood under the null hypothesis (constrained) to the maximum likelihood under the alternative (unconstrained). If the null is true, the two maxima should be close; if the alternative is true, the unrestricted likelihood should be substantially larger.

    Explanation

    The test statistic measures the evidence against H0H_0H0​ by how much the likelihood improves when moving away from the null.

  15. 15

    How does the delta method allow construction of a Wald-type test for a nonlinear hypothesis H0:g(θ)=0H_0: g(\theta) = 0H0​:g(θ)=0?

    Model answer

    Using the delta method, n(g(θ^)−g(θ))→N(0,∇g(θ)TΣ∇g(θ))\sqrt{n}(g(\hat{\theta}) - g(\theta)) \to N(0, \nabla g(\theta)^T \Sigma \nabla g(\theta))n​(g(θ^)−g(θ))→N(0,∇g(θ)TΣ∇g(θ)). Under H0H_0H0​, g(θ)=0g(\theta)=0g(θ)=0, so the Wald statistic ng(θ^)TΓ^−1g(θ^)∼χk2n g(\hat{\theta})^T \hat{\Gamma}^{-1} g(\hat{\theta}) \sim \chi^2_kng(θ^)TΓ^−1g(θ^)∼χk2​, where kkk is the dimension of ggg and Γ^\hat{\Gamma}Γ^ estimates the asymptotic covariance.

    Explanation

    The test statistic is a quadratic form in g(θ^)g(\hat{\theta})g(θ^), which is asymptotically chi-squared under H0H_0H0​.

  16. 16

    In one dimension, why is the Wald test for H0:θ=θ0H_0: \theta = \theta_0H0​:θ=θ0​ equivalent to a two-sided zzz-test?

    Model answer

    When k=1k=1k=1, the Wald statistic is the square of a standard normal, and rejecting when Tn>χ1,1−α2T_n > \chi^2_{1,1-\alpha}Tn​>χ1,1−α2​ is equivalent to rejecting when ∣z∣>zα/2|z| > z_{\alpha/2}∣z∣>zα/2​, because χ1,1−α2=(zα/2)2\chi^2_{1,1-\alpha} = (z_{\alpha/2})^2χ1,1−α2​=(zα/2​)2.

    Explanation

    The chi-squared distribution with 1 degree of freedom is the distribution of the square of a standard normal. Thus, the two tests are exactly the same.

  17. 17

    What condition is required for the asymptotic covariance matrix in the Wald and likelihood ratio tests to be invertible?

    Model answer

    The Fisher information matrix must be invertible, which requires that the model is identifiable and the Fisher information is positive definite. For nonlinear hypotheses, the gradient matrix ∇g(θ)\nabla g(\theta)∇g(θ) must have full rank kkk.

    Explanation

    Invertibility ensures that the test statistic has a well-defined quadratic form and the limiting chi-squared distribution has the correct degrees of freedom.

  18. 18

    Give an example where the Fisher information matrix is not invertible, as mentioned in the lecture.

    Model answer

    The multinomial distribution is an example where the Fisher information matrix is singular and not invertible.

    Explanation

    In the multinomial model, the parameters are linearly constrained (probabilities sum to one), causing the information matrix to be rank-deficient.

1 of 18
Question 1 of 18

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent