Statistics for Economics

Online MA · Sem 2

Lesson 5 of 5Economics

t Test, Chi-Square Test and F Test

Statistics for Economics

About the video

T test, Z test, F test, Chi-square test, ANOVA, Mann-Whitney U Test, H test By: Navneet Kaur 🙂

Navneet Kaur ✨

Study notes

The t test compares means when the sample is small and the population standard deviation is unknown. The F test compares variances and also underlies ANOVA. The chi-square test checks goodness of fit and the independence of two attributes, and it can also test a population variance.

t test

  • Developed by William Sealy Gosset, who published under the name 'Student'.
  • It is a parametric test used to test the significance of a difference between means.
  • Use it when the sample is small (n < 30) and the population standard deviation is unknown.
  • Assumptions: the population is normal, samples are random and independent, and the sample is small.
  • One-sample t test: t = (x̄ - μ)/(s/√n), with n - 1 degrees of freedom.
  • Two-sample t test: compares the means of two groups, t = (x̄1 - x̄2)/(s·√(1/n1 + 1/n2)).
  • Use a z test instead when the sample is large or the population variance is known.

Decision rule

  • Set a level of significance, such as 5% or 1%.
  • If the calculated value is greater than the table value, reject H0.
  • If the calculated value is less than the table value, do not reject H0.

F test and ANOVA

  • Named after R. A. Fisher; it is a parametric test.
  • F = s1²/s2² (put the larger variance in the numerator); it tests whether two variances are equal.
  • It is flexible: it can test the overall significance of a regression, compare models, and test equality of several means.
  • ANOVA extends the t test to more than two group means.
  • In ANOVA, F = (variance between sample means)/(variance within samples).
  • One-way ANOVA has one independent variable; two-way ANOVA has two.
  • Assumptions: populations are normal, samples are independent, and variances are equal.

Chi-square test

  • Formula: χ² = Σ (O - E)²/E, where O is the observed frequency and E is the expected frequency.
  • Goodness of fit: checks whether a theoretical distribution fits the observed data. A larger difference between O and E gives a larger χ²; a perfect fit gives χ² = 0.
  • Test of independence: checks for an association between two attributes, such as gender and music taste.
  • Conditions: random, independent observations, and each expected frequency should be at least 5.
  • As a parametric test, it tests a population variance: χ² = (n - 1)s²/σ².

Key terms

t test
Tests a difference in means for small samples when σ is unknown.
z test
Tests means when the sample is large or σ is known.
F test
Compares two variances using their ratio.
ANOVA
Compares more than two means using F = between-group variance / within-group variance.
Chi-square test
χ² = Σ(O - E)²/E, used for goodness of fit and independence.
Level of significance
The probability threshold, such as 5%, used to reject H0.

Takeaways

  • Use the t test for a small sample with unknown σ; use the z test for a large sample or known σ.
  • Reject H0 if the calculated value exceeds the table value.
  • The F test compares variances, and ANOVA uses it to compare more than two means.
  • Chi-square covers goodness of fit, independence of attributes, and tests of a population variance.
Contribute

Was this lesson helpful?

We read every rating and fix the weakest lessons first.