Presentation is loading. Please wait.

Presentation is loading. Please wait.

Independent samples t-test for the difference between two means.

Similar presentations


Presentation on theme: "Independent samples t-test for the difference between two means."— Presentation transcript:

1 Independent samples t-test for the difference between two means.
Wednesday, October 27 Independent samples t-test for the difference between two means.

2 Independent samples t-test for the difference between two means.
Wednesday, October 27 Independent samples t-test for the difference between two means. signal-to-noise ratio

3 Independent samples t-test for the difference between two means.
Wednesday, October 27 Independent samples t-test for the difference between two means. signal-to-noise ratio safety in numbers

4 H0 : 1 - 2 = 0 H1 : 1 - 2  0

5

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

7 We could find confidence intervals around each mean...
Xboys=53.75 _ 95CI:   boys  Xgirls=51.16 _ 95CI:   girls 

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

9 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

10 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.

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

12 The sampling distribution of the difference between means.
X1-X2 =   2X1 +2X2 - - - - 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.

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

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

15 The sampling distribution of the difference between means.
- - X1-X2 =  s  s22 + n n2 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 .

16 sp sp2 sX1-X2 = + N N2

17 sp sp2 sX1-X2 = + N N2

18 sp sp2 sX1-X2 = + N N2 sp2 = SSw SS1 + SS2 N N-2 =

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

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

21 Independent samples t-test for the difference between two means.
Wednesday, October 27 Independent samples t-test for the difference between two means. signal-to-noise ratio safety in numbers

22 Data Collection Exercise
Does political orientation influence how much people agree with the message in “Waiting for Superman”?

23 Questions: Did you watch “Waiting for Superman”? [if no, call next person and discard; if yes, proceed] On a scale of 1 to 10, with 1 being lowest and 10 being highest, how would you rate how much your agreement with the main messages of the movie? Ask one friend who you consider conservative, another who you consider progressive.


Download ppt "Independent samples t-test for the difference between two means."

Similar presentations


Ads by Google