gpco 453 quantitative methods i
play

GPCO 453: Quantitative Methods I Sec 10: Hypothesis Testing, III - PowerPoint PPT Presentation

GPCO 453: Quantitative Methods I Sec 10: Hypothesis Testing, III Shane Xinyang Xuan 1 ShaneXuan.com November 30, 2017 1 Department of Political Science, UC San Diego, 9500 Gilman Drive #0521. 1 / 11 ShaneXuan.com Contact Information Shane


  1. GPCO 453: Quantitative Methods I Sec 10: Hypothesis Testing, III Shane Xinyang Xuan 1 ShaneXuan.com November 30, 2017 1 Department of Political Science, UC San Diego, 9500 Gilman Drive #0521. 1 / 11 ShaneXuan.com

  2. Contact Information Shane Xinyang Xuan xxuan@ucsd.edu My office hours for the rest of the quarter 12/4 M 1100-1230 (SSB 332) 12/4 M 1330-1400 (SSB 332) 12/12 Tu 1100-1130 (SSB 332) 2 / 11 ShaneXuan.com

  3. Interval Estimate of a Population Variance ◮ χ 2 are based on n − 1 d.f. and (1 − α ) confidence level ( n − 1) s 2 ≤ σ 2 ≤ ( n − 1) s 2 (1) χ 2 χ 2 α/ 2 1 − α/ 2 3 / 11 ShaneXuan.com

  4. Test Statistic for Hyp. Tests about a Population Variance ◮ χ 2 follows a chi-square distribution with n − 1 d.f. χ 2 = ( n − 1) s 2 (2) σ 2 4 / 11 ShaneXuan.com

  5. Hypothesis Tests about a Population Variance, One-tailed ◮ A company produces metal pipes and claims that the standard deviation of the length is at most 1 . 2 cm. One of its clients decides to test this claim by taking a sample of 25 pipes. They found that the standard deviation of the sample is 1.5 cm. 5 / 11 ShaneXuan.com

  6. Hypothesis Tests about a Population Variance, One-tailed ◮ A company produces metal pipes and claims that the standard deviation of the length is at most 1 . 2 cm. One of its clients decides to test this claim by taking a sample of 25 pipes. They found that the standard deviation of the sample is 1.5 cm. ◮ H 0 : σ 2 ≤ 1 . 2 ; H A : σ 2 > 1 . 2 5 / 11 ShaneXuan.com

  7. Hypothesis Tests about a Population Variance, One-tailed ◮ A company produces metal pipes and claims that the standard deviation of the length is at most 1 . 2 cm. One of its clients decides to test this claim by taking a sample of 25 pipes. They found that the standard deviation of the sample is 1.5 cm. ◮ H 0 : σ 2 ≤ 1 . 2 ; H A : σ 2 > 1 . 2 ◮ Calculate the test statistics χ 2 = ( n − 1) s 2 σ 2 = (25 − 1)(1 . 5) 2 = 37 . 5 (1 . 2) 2 5 / 11 ShaneXuan.com

  8. Hypothesis Tests about a Population Variance, One-tailed ◮ A company produces metal pipes and claims that the standard deviation of the length is at most 1 . 2 cm. One of its clients decides to test this claim by taking a sample of 25 pipes. They found that the standard deviation of the sample is 1.5 cm. ◮ H 0 : σ 2 ≤ 1 . 2 ; H A : σ 2 > 1 . 2 ◮ Calculate the test statistics χ 2 = ( n − 1) s 2 σ 2 = (25 − 1)(1 . 5) 2 = 37 . 5 (1 . 2) 2 χ 2 -table → χ 2 ◮ Find the critical value α = 36 . 415 5 / 11 ShaneXuan.com

  9. Hypothesis Tests about a Population Variance, One-tailed ◮ A company produces metal pipes and claims that the standard deviation of the length is at most 1 . 2 cm. One of its clients decides to test this claim by taking a sample of 25 pipes. They found that the standard deviation of the sample is 1.5 cm. ◮ H 0 : σ 2 ≤ 1 . 2 ; H A : σ 2 > 1 . 2 ◮ Calculate the test statistics χ 2 = ( n − 1) s 2 σ 2 = (25 − 1)(1 . 5) 2 = 37 . 5 (1 . 2) 2 χ 2 -table → χ 2 ◮ Find the critical value α = 36 . 415 ◮ Note that χ 2 > χ 2 α → We reject the null 5 / 11 ShaneXuan.com

  10. Hypothesis Tests about a Population Variance, Two-tailed ◮ Given n = 25 , s = 17 . 7 , test against σ 2 � = 225 6 / 11 ShaneXuan.com

  11. Hypothesis Tests about a Population Variance, Two-tailed ◮ Given n = 25 , s = 17 . 7 , test against σ 2 � = 225 ◮ H 0 : σ 2 = 225 ; H A : σ 2 � = 225 6 / 11 ShaneXuan.com

  12. Hypothesis Tests about a Population Variance, Two-tailed ◮ Given n = 25 , s = 17 . 7 , test against σ 2 � = 225 ◮ H 0 : σ 2 = 225 ; H A : σ 2 � = 225 ◮ Calculate the test statistic χ 2 = ( n − 1) s 2 σ 2 = (25 − 1)(17 . 7) 2 = 33 . 42 225 6 / 11 ShaneXuan.com

  13. Hypothesis Tests about a Population Variance, Two-tailed ◮ Given n = 25 , s = 17 . 7 , test against σ 2 � = 225 ◮ H 0 : σ 2 = 225 ; H A : σ 2 � = 225 ◮ Calculate the test statistic χ 2 = ( n − 1) s 2 σ 2 = (25 − 1)(17 . 7) 2 = 33 . 42 225 ◮ Find the critical values at 95% CI χ 2 -table χ 2 0 . 025 = 39 . 364 χ 2 0 . 975 = 12 . 401 6 / 11 ShaneXuan.com

  14. Hypothesis Tests about a Population Variance, Two-tailed ◮ Given n = 25 , s = 17 . 7 , test against σ 2 � = 225 ◮ H 0 : σ 2 = 225 ; H A : σ 2 � = 225 ◮ Calculate the test statistic χ 2 = ( n − 1) s 2 σ 2 = (25 − 1)(17 . 7) 2 = 33 . 42 225 ◮ Find the critical values at 95% CI χ 2 -table χ 2 0 . 025 = 39 . 364 χ 2 0 . 975 = 12 . 401 0 . 975 < χ 2 < χ 2 ◮ Note that χ 2 0 . 025 → We fail to reject the null 6 / 11 ShaneXuan.com

  15. Hypothesis Tests about Two Population Variances ◮ Denoting the population with the larger sample variance as population 1, the test statistic has an F -distribution with n 1 − 1 degrees of freedom for the numerator and n 2 − 1 degrees of freedom for the denominator. 7 / 11 ShaneXuan.com

  16. Hypothesis Tests about Two Population Variances ◮ Denoting the population with the larger sample variance as population 1, the test statistic has an F -distribution with n 1 − 1 degrees of freedom for the numerator and n 2 − 1 degrees of freedom for the denominator. ◮ The test statistic (when σ 2 1 = σ 2 2 ) is F = s 2 1 (3) s 2 2 7 / 11 ShaneXuan.com

  17. Example: Two Population Variances ◮ Suppose n 1 = 31 , and n 2 = 26 , and F = s 2 = 120 1 80 = 1 . 5 (4) s 2 2 We want to test at 95% confidence level: H 0 : σ 2 1 ≤ σ 2 2 H A : σ 2 1 > σ 2 2 8 / 11 ShaneXuan.com

  18. Example: Two Population Variances ◮ Suppose n 1 = 31 , and n 2 = 26 , and F = s 2 = 120 1 80 = 1 . 5 (4) s 2 2 We want to test at 95% confidence level: H 0 : σ 2 1 ≤ σ 2 2 H A : σ 2 1 > σ 2 2 ◮ We find that F distribution with 30 numerator degrees of freedom and 25 denominator degrees of freedom has F . 05 = 1 . 92 F distribution 8 / 11 ShaneXuan.com

  19. Example: Two Population Variances ◮ Suppose n 1 = 31 , and n 2 = 26 , and F = s 2 = 120 1 80 = 1 . 5 (4) s 2 2 We want to test at 95% confidence level: H 0 : σ 2 1 ≤ σ 2 2 H A : σ 2 1 > σ 2 2 ◮ We find that F distribution with 30 numerator degrees of freedom and 25 denominator degrees of freedom has F . 05 = 1 . 92 F distribution ◮ Since the test statistic F is less than the critical value F . 05 , we conclude that we fail to reject H 0 . 8 / 11 ShaneXuan.com

  20. Appendix: χ 2 − table back 9 / 11 ShaneXuan.com

  21. Appendix: χ 2 − table back 10 / 11 ShaneXuan.com

  22. Appendix: F distribution back 11 / 11 ShaneXuan.com

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend