Download presentation
Presentation is loading. Please wait.
Published byKristian Thompson Modified over 8 years ago
1
CHAPT 7 Hypothesis Testing Applied to Means Part A t -Static 1
2
1. Single Sample or One Sample 1. Single Sample or One Sample t -Test AKA student t -test. t -Test AKA student t -test. 2. Two Independent sample t-Test, AKA Between Subject Designs or Matched subjects Experiment. t-Test, AKA Between Subject Designs or Matched subjects Experiment. 3. Related Samples t-test or Repeated Measures Experiment AKA Within Subject Designs or Paired Sample t- Test. 2
3
Degrees of Freedom df=n-1 3
4
Assumption of the t -test (Parametric Tests) 1.The Values in the sample must consist of independent observations. 2. The population sample must be normal. 3. Use a large sample n ≥ 30 4
5
1.The Values in the sample must consist of independent observations. 5
6
2. The population sample must be normal. 6
7
FYI Steps in Hypothesis-Testing Step 1: State The Hypotheses H 0 : µ ≤ 100 average H 1 : µ > 100 average Statistics: Because the Population mean or µ is known the statistic of choice is z-Score 7
8
FYI Hypothesis Testing Step 2: Locate the Critical Region(s) or Set the Criteria for a Decision 8
9
FYI Directional Hypothesis Test 9
10
FY I None-directional Hypothesis Test 10
11
FYI Hypothesis Testing Step 3: Computations/ Calculations or Collect Data and Compute Sample Statistics Z Score for Research 11 ZZZ ZZZ
12
FYI Hypothesis Testing Step 3: Computations/ Calculations or Collect Data and Compute Sample Statistics 12
13
Calculations for t -test Step 3: Computations/ Calculations or Collect Data and Compute Sample Statistics M-μ M-μ t= S m S m= S/√n or S m S m= S/√n or S m = M-μ S m = M-μ t M = t. S m + μ μ = M – S m. t μ = M – S m. t S m= estimated standard error of the mean S m= estimated standard error of the mean 13
14
Hypothesis Testing Step 4: Make a Decision 14
15
Inferential Statistics t -Static Single Sample or One Sample t -Test Inferential Statistics t -Static Single Sample or One Sample t -Test t-test is used to test hypothesis about an unknown population mean (µ) when the value of σ or σ² is unknown. Ex. Is this year class know more about STATS than the last year? Mean for the last year class µ=80 t-test is used to test hypothesis about an unknown population mean (µ) when the value of σ or σ² is unknown. Ex. Is this year class know more about STATS than the last year? Mean for the last year class µ=80 Mean for this year class M=82 Mean for this year class M=82 Note: We don’t know what the average/mean STATS score should be for the population. We only compare this year scores with the last year. ****Sample data can only be considered as estimates of population values. **** 15
16
16
17
FYI Variability SS, Standard Deviations and Variances X σ² = ss/N Pop 1 σ = √ss/N 1 σ = √ss/N 2 4 s = √ss/df 4 s = √ss/df 5 s² = ss/n-1 or ss/df Sample 5 s² = ss/n-1 or ss/df Sample SS= Σx ²- (Σx)²/N SS= Σ ( x- μ ) ² Sum of Squared Deviation from Mean 17
18
FYI d=Effect Size for Z For t-test Use S instead of σ FYI d=Effect Size for Z For t-test Use S instead of σ (next slide) 18
19
Cohn’s d=Effect Size for Single Sample t Use S instead of σ for t-test 19 d = (M - µ) S S= (M - µ) d M= (d. s ) + µ µ = (M – d) s
20
Percentage of Variance Accounted for by the Treatment (similar to Cohen’s d ) Also known as ω ² Omega Squared (power of a test) Percentage of Variance Accounted for by the Treatment (similar to Cohen’s d ) Also known as ω ² Omega Squared (power of a test) 20
21
percentage of Variance accounted for by the Treatment Percentage of Variance Explained r²=0.01-------- Small Effect r²=0.09-------- Medium Effect r²=0.25-------- Large Effect 21
22
Problem 1 A supervisor has prepared an “Optimism Test” that is administered yearly to factory employees. The test measures how each employee feels about its future. The higher the score, the more optimistic the employee. Last year’s employees had a mean score of μ=15. A sample of n=9 employees from this year was selected and tested.. 22
23
Problem 1 The scores for these employees are 7, 12, 11, 15, 7, 8, 15, 9, and 6, which produced a sample mean of M=10 with SS=94. On the basis of this sample, can the sopervisor conclude that this year’s employees has a different level of optimism? Note that this hypothesis test will use a t-statistic because the population variance σ² is not known. USE SPSS Set the level of significance at α=.05 for two tails 23
24
Null Hypothesis t-Statistic: If the Population mean or µ and the sigma are unknown the statistic of choice will be t-Static 1. Single (one) Sample t-statistic (test) Step 1 H 0 : µ optimism = 15 H 1 : µ optimism ≠ 15 24
25
None-directional Hypothesis Test None-directional Hypothesis Test 25 Step 2
26
Calculations for t -test Step 3: Computations/ Calculations or Collect Data and Compute Sample Statistics M-μ M-μ t= s S m S m= or S m S m= or √n √n df=n-1 df=n-1 s² = SS/df S m= estimated standard error of the mean 26
27
27
28
28
29
29
30
Bootstrap Bootstrapping is a method for deriving robust estimates of standard errors and confidence intervals for estimates such as the mean, median, proportion, odds ratio, correlation coefficient or regression coefficient. 30
31
Problem 2 Infants, even newborns prefer to look at attractive faces (Slater, et al., 1998). In the study, infants from 1 to 6 days old were shown two photographs of women’s face. Previously, a group of adults had rated one of the faces as significantly more attractive than the other. The babies were positioned in front of a screen on which the photographs were presented. The pair of faces remained on the screen until the baby accumulated a total of 20 seconds of looking at one or the other. The number of seconds looking at the attractive face was recorded for each infant. 31
32
Problem 2 Attractive Attractive 10 10 11 11 16 16 18 18 13 13 11 11 17 17 11 11 M=13 S=3 M=13 S=3 32
33
Problem 2 Suppose that the study used a sample of n=9 infants and the data produced an average of M=13 seconds for attractive face with S=3. Set the level of significance at α=0.01 and then 0.05 for two tails for two tails Note that all the available information comes from the sample. Specifically, we do not know the population mean μ or the population standard deviation σ. On the basis of this sample, can we conclude that infants prefer to look at attractive faces? 33
34
Null Hypothesis t-Statistic: If the Population mean or µ and the sigma are unknown the statistic of choice will be t-Static 1. Single (one) Sample t-statistic (test) Step 1 H 0 : µ attractive = 10 seconds H 1 : µ attractive ≠ 10 seconds 34
35
STEP 2 None-directional Hypothesis Test Critical value of t=2.306 35
36
Calculations for t-test Step 3: Computations/ Calculations or Collect Data and Compute Sample Statistics 36
37
Hypothesis Testing Step 4: Make a Decision 37
38
38
39
39
40
40
41
41
42
t -Static 2. Two Independent sample t -Test, AKA Between Subject Designs or Matched subjects Experiment 42
43
Two Independent Sample t -test 43
44
t-test ANOVA t-test ANOVA 44
45
45
46
Two Independent Sample t -test An independent measures study uses a separate group of participants (samples) to represent each of the populations or treatment conditions being compared. 46
47
Two Independent Sample t -test Null Hypothesis: If the Population mean or µ is unknown the statistic of choice will be t-Static Two independent sample t-test, Matched-Subject Experiment, or Between Subject Design Step 1 H 0 : µ 1 -µ 2 = 0 H 1 : µ 1 -µ 2 ≠ 0 47
48
None-directional Hypothesis Test None-directional Hypothesis Test 48 Step 2
49
STEP 3 49
50
Estimated Standard Error S (M 1 -M 2 ) The estimated standard error measures how much difference is expected, on average, between a sample mean difference and the population mean difference. In a hypothesis test, µ1 - µ2 is set to zero and the standard error measures how much difference is expected between the two sample means. 50
51
Estimated Standard Error S (M1-M2)= 51
52
(1) Pooled Variance s ² P 52
53
(2) Pooled Variance s ² P 53
54
Step 4 Step 4 54
55
Measuring d =Effect Size for the independent measures 55
56
Estimated d 56
57
Estimated d 57
58
Percentage of Variance Accounted for by the Treatment (similar to Cohen’s d ) Also known as ω ² Omega Squared Percentage of Variance Accounted for by the Treatment (similar to Cohen’s d ) Also known as ω ² Omega Squared 58
59
Problem 1 Research results suggest a relationship Between the TV viewing habits of 5-year-old children and their future performance in high school. For example, Anderson, Huston, Wright & Collins (1998) report that high school students who regularly watched Sesame Street as children had better grades in high school than their peers who did not watch Sesame Street. Between the TV viewing habits of 5-year-old children and their future performance in high school. For example, Anderson, Huston, Wright & Collins (1998) report that high school students who regularly watched Sesame Street as children had better grades in high school than their peers who did not watch Sesame Street. 59
60
Problem 1 The researcher intends to examine this phenomenon using a sample of 20 high school students. She first surveys the students’ s parents to obtain information on the family’s TV viewing habits during the time that the students were 5 years old. Based on the survey results, the researcher selects a sample of n 1 =10 60
61
Problem 1 students with a history of watching “Sesame Street“ and a sample of n 2 =10 students who did not watch the program. The average high school grade is recorded for each student and the data are as follows: Set the level of significance at α=.05 and Use non-directional or two-tailed test Use non-directional or two-tailed test 61
62
Problem 1 Average High School Grade Watched Sesame St (1). Did not Watch Sesame St.(2) 86 90 86 90 87 89 87 89 91 82 91 82 97 83 97 83 98 85 98 85 99 79 99 79 97 83 97 83 94 86 94 86 89 81 89 81 92 92 92 92 n 1 =10 n 2 =10 n 1 =10 n 2 =10 M 1 =93 M 2 = 85 M 1 =93 M 2 = 85 SS 1 =200 SS 2 =160 SS 1 =200 SS 2 =160 62
63
Two Independent Sample t -test Null Hypothesis: Two Independent Sample t-test, Matched-Subject Experiment, or Between Subject Design Step 1. H 0 : µ 1 -µ 2 = 0 H 1 : µ 1 -µ 2 ≠ 0 63
64
Two Independent Sample t -test Null Hypothesis: Two independent sample t-test, Matched-Subject Experiment, or Between Subject Design directional or one-tailed test Step 1. H 0 : µ Sesame St. ≤ µ No Sesame St. H 1 : µ Sesa me St. > µ No Sesame St. 64
65
Step 2 Step 2 65
66
STEP 3 66
67
Estimated Standard Error S (M1-M2)= 67
68
(1) Pooled Variance s ² P 68
69
Estimated Standard Error S (M1-M2)= 69
70
Step 4 Step 4 70
71
71
72
72
73
73
74
74
75
Measuring d =Effect Size for the independent measures 75
76
FYI We use the Point-Biserial Correlation ( r ) when one of our variable is dichotomous, in this case (1) watched Sesame St. and (2) didn’t watch Sesame St. FYI We use the Point-Biserial Correlation ( r ) when one of our variable is dichotomous, in this case (1) watched Sesame St. and (2) didn’t watch Sesame St. 76
77
Problem 2 In recent years, psychologists have demonstrated repeatedly that using mental images can greatly improve memory. Here we present a hypothetical experiment designed to examine this phenomenon. The psychologist first prepares a list of 40 pairs of nouns (for example, dog/bicycle, grass/door, lamp/piano). Next, two groups of participants are obtained (two separate samples). Participants in one group are given the list for 5 minutes and instructed to memorize the 40 noun pairs. 77
78
Problem 2 Participants in another group receive the same list of words, but in addition to the regular instruction, they are told to form a mental image for each pair of nouns (imagine a dog riding a bicycle, for example). Later each group is given a memory test in which they are given the first word from each pair and asked to recall the second word. The psychologist records the number of words correctly recalled for each individual. The data from this experiment are as follows: Set the level of significance at α=.01 for two tailed test. 78
79
Problem 2 Data (Number of words recalled) Group 1 (Images) Group 2 (No Images) 19 23 19 23 20 22 20 22 24 15 24 15 30 16 30 16 31 18 31 18 32 12 32 12 30 16 30 16 27 19 27 19 22 14 22 14 25 25 25 25 n 1 =10 n 2 =10 n 1 =10 n 2 =10 M 1 =26 M 2 = 18 M 1 =26 M 2 = 18 SS 1 =200 SS 2 =160 SS 1 =200 SS 2 =160 79
80
Two Independent Sample t -test Null Hypothesis: Step 1 H 0 : µ 1 -µ 2 = 0 H 1 : µ 1 -µ 2 ≠ 0 80
81
Step 2 Step 2 81
82
STEP 3 82
83
(1) Pooled Variance s ² P 83
84
Estimated Standard Error S (M1-M2)= 84
85
Step 4 Step 4 85
86
86
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.