1 / 25

Tuesday, October 22

Tuesday, October 22. Interval estimation. Independent samples t -test for the difference between two means. Matched samples t -test. Tuesday, October 23. Interval estimation. Independent samples t -test for the difference between two means. Matched samples t -test.

tacy
Télécharger la présentation

Tuesday, October 22

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tuesday, October 22 • Interval estimation. • Independent samples t-test • for the difference between two means. • Matched samples t-test

  2. Tuesday, October 23 • Interval estimation. • Independent samples t-test • for the difference between two means. • Matched samples t-test

  3. Interval Estimation (a.k.a. confidence interval) Is there a range of possible values for  that you can specify, onto which you can attach a statistical probability?

  4. Interval Estimation (a.k.a. confidence interval) Is there a range of possible values for  that you can specify, onto which you can attach a statistical probability?

  5. Confidence Interval _ _ X - tsX   X + tsX Where t = critical value of t for df = N - 1, two-tailed X = observed value of the sample _

  6. Tuesday, October 23 • Interval estimation. • Independent samples t-test • for the difference between two means. • Matched samples t-test

  7. Tuesday, October 22 • Interval estimation. • Independent samples t-test • for the difference between two means. • Matched samples t-test

  8. H0 : 1 - 2 = 0 H1 : 1 - 2  0

  9. _ _ Xgirls=51.16 Xboys=53.75 How do we know if the difference between these means, of 53.75 - 51.16 = 2.59, is reliably different from zero?

  10. _ _ Xgirls=51.16 Xboys=53.75 We could find confidence intervals around each mean... 95CI: 52.07   boys  55.43 95CI: 49.64   girls  52.68

  11. H0 : 1 - 2 = 0 H1 : 1 - 2  0 But we can directly test this hypothesis...

  12. H0 : 1 - 2 = 0 H1 : 1 - 2  0 To test this hypothesis, you need to know … …the sampling distribution of the difference between means. - - X1-X2

  13. H0 : 1 - 2 = 0 H1 : 1 - 2  0 To test this hypothesis, you need to know … …the sampling distribution of the difference between means. - - X1-X2 …which can be used as the error term in the test statistic.

  14. X1-X2 =   2X1 +2X2 The sampling distribution of the difference between means. - - - - This reflects the fact that two independent variances contribute to the variance in the difference between the means.

  15. X1-X2 =   2X1 +2X2 The sampling distribution of the difference between means. - - - - This reflects the fact that two independent variances contribute to the variance in the difference between the means. Your intuition should tell you that the variance in the differences between two means is larger than the variance in either of the means separately.

  16. (X1 - X2) z = X1-X2 The sampling distribution of the difference between means, at n = , would be: - - - -

  17. The sampling distribution of the difference between means. - - X1-X2 =  21  22 + n1n2 Since we don’t know , we must estimate it with the sample statistic s.

  18. The sampling distribution of the difference between means. - - X1-X2 =  21  22 + n1n2 Rather than using s21 to estimate 21 and s22 to estimate 22 , we pool the two sample estimates to create a more stable estimate of 21 and 22 by assuming that the variances in the two samples are equal, that is, 21 = 22 .

  19. sp2 sp2 sX1-X2 = + N1 N2

  20. sp2 sp2 sX1-X2 = + N1 N2

  21. SSw SS1 + SS2 sp2 = = N-2N-2 sp2 sp2 sX1-X2 = + N1 N2

  22. (X1 - X2) - (1 - 2 ) t = sX1-X2 Because we are making estimates that vary by degrees of freedom, we use the t-distribution to test the hypothesis. …at (n1 - 1) + (n2 - 1) degrees of freedom (or N-2)

  23. Assumptions • X1 and X2 are normally distributed. • Homogeneity of variance. • Samples are randomly drawn from their respective populations. • Samples are independent.

  24. Get district data.

More Related