Presentation is loading. Please wait.

Presentation is loading. Please wait.

Anthony Greene1 Two Sample t-test: Hypothesis of Differences Between Two Groups 1.Is Group “A” Different Than Group “B”? 2.Does an Experimental Manipulation.

Similar presentations


Presentation on theme: "Anthony Greene1 Two Sample t-test: Hypothesis of Differences Between Two Groups 1.Is Group “A” Different Than Group “B”? 2.Does an Experimental Manipulation."— Presentation transcript:

1 Anthony Greene1 Two Sample t-test: Hypothesis of Differences Between Two Groups 1.Is Group “A” Different Than Group “B”? 2.Does an Experimental Manipulation Have an Effect? Is an experimental group different than a control group? If so, then the experimental manipulation had an effect

2 Anthony Greene2 Use of the Two Independent Sample t-test This is the most universally used inferential statistic Why? Population parameters μ and σ are almost never known Most experiments require a comparison, and that requires at least two groups

3 Anthony Greene3 Significant Differences? M 1 = 40 M 2 =60

4 Anthony Greene4 Significant Differences? M 1 = 40 M 2 =60

5 Anthony Greene5 Where You’ve Been Thus Far 1.Computation of descriptives 2.Probability theory, especially standard normal distributions (z-scores) 3.Hypothesis Testing Using z-scores Single sample t-test Two sample t-test

6 Anthony Greene6 Overview of Procedure Two independent sample t-test a)  1 and  2 are hypothesized or predicted (not computed and generally not known): M 1 and M 2 are computed b)  M 1 and  M 2 are unknown (  is unknown) : s M 1 and s M 2 are computed c)Degrees freedom (df) is computed

7 Anthony Greene7 The Basic Idea A new distribution is used that is normally distributed This time the parent distribution is

8 Anthony Greene8 The Basic Idea So the sampling distribution is has the following mean and standard error:

9 Anthony Greene9 The Basic Idea So the basic t-test has the form:

10 Anthony Greene10 Alternate Forms

11 Anthony Greene11 The Basic Idea Since the usual H 0 is that μ 1 =μ 2 OR μ 1 - μ 2 = 0

12 Anthony Greene12 The Basic Idea What is s p ? It’s the pooled variance and its meant to allow you to make a comparison of means even if the σs aren’t equal

13 Anthony Greene13 Annual salaries ($1000s) for 30 faculty members in public institutions and 35 faculty members in private institutions

14 Anthony Greene14 Process for comparing two population means using independent samples Compare M 1 and M 2 Based on the Pooled Variance Make a Decision Compute M 1 Compute M 2

15 Anthony Greene15 Notation for parameters and statistics when considering two populations MM

16 Anthony Greene16 The t-test for two population means (Slide 1 of 3) Step 1The null hypothesis is H 0 :  1 =  2 or  1 -  2 = 0; the alternative hypothesis is one of the following: H a :  1   2 H a :  1  2 (Two Tailed)(Left Tailed)(Right Tailed) Step 2Decide on the significance level,  Step 3The critical values are ±t  /2 -t  +t  (Two Tailed)(Left Tailed)(Right Tailed) with df = n 1 +n 2 - 2.

17 Anthony Greene17 The t-test for two population means (Slide 2 of 3)

18 Anthony Greene18 The t-test for two population means (Slide 3 of 3) Step 4Compute the value of the test statistic Where Step 5If the value of the test statistic falls in the rejection region, reject H 0, otherwise do not reject H 0.

19 Anthony Greene19 Summary statistics Public Institution Private Institution Sample Mean 57.4866.39 Sum of Squares 166341982 Sample Size3035

20 Anthony Greene20 Computing the t-value

21 Anthony Greene21 Criterion for deciding whether or not to reject the null hypothesis

22 Anthony Greene22 Criterion for deciding whether or not to reject the null hypothesis

23 Anthony Greene23 Sample Problem: Minutes required to comprehend the self-study manual

24 X1X1 (X-μ) 2 X2X2 13961.73142663.06 118832.7310952.56 164293.88130189.06 M 1 -M 2 30.61 15117.1610785.56 SpSp 22.44 1821235.021551501.56 sM1-M2sM1-M2 11.61 14047.0288798.06 134165.3195451.56 t 2.64 104150.06 M 146.86116.25 SS 2652.863891.50 Sample Problem

25 Remember the goal is always to see if the effect is large compared to random variation. 1.In the t-test this is done by the ratio: (diff. in means)/(randomness). For a reasonable sample this ratio must exceed ~1.96. 2.In the graph this is done by comparing the mean difference to the error bars which are each 1 s.e. If the difference is greater than 2 s.e. (~1.96) then the difference is significant. Sample Problem


Download ppt "Anthony Greene1 Two Sample t-test: Hypothesis of Differences Between Two Groups 1.Is Group “A” Different Than Group “B”? 2.Does an Experimental Manipulation."

Similar presentations


Ads by Google