Download presentation
Presentation is loading. Please wait.
Published byCordelia Thompson Modified over 8 years ago
2
Practice A research study was conducted to examine the differences between older and younger adults on perceived life satisfaction. A pilot study was conducted to examine this hypothesis. Ten older adults (over the age of 70) and ten younger adults (between 20 and 30) were give a life satisfaction test (known to have high reliability and validity). Scores on the measure range from 0 to 60 with high scores indicative of high life satisfaction; low scores indicative of low life satisfaction. Determine if age is related to life satisfaction.
3
Older AdultsYounger Adults 4534 3822 5215 4827 2537 3941 5124 4619 5526 4636
4
OlderYounger Mean = 44.5Mean = 28.1 S = 8.682677518S = 8.543353492 S 2 = 75.388888888S 2 = 72.988888888 t obs = 4.257; t crit = 2.101 Age is related to life satisfaction.
5
What if.... The two samples have different sample sizes (n)
6
Results Psychology 110 150 140 135 Sociology 90 95 80 98
7
Results Psychology 110 150 140 135 Sociology 90 95 80
8
If samples have unequal n All the steps are the same! Only difference is in calculating the Standard Error of a Difference
9
Standard Error of a Difference When the N of both samples is equal If N 1 = N 2 : Sx 1 - x 2 =
10
Standard Error of a Difference When the N of both samples is not equal If N 1 = N 2 : N 1 + N 2 - 2
11
Results Psychology 110 150 140 135 Sociology 90 95 80 X 1 = 535 X 1 2 = 72425 N 1 = 4 X 2 = 265 X 2 2 = 23525 N 2 = 3
12
N 1 + N 2 - 2 X 1 = 535 X 1 2 = 72425 N 1 = 4 X 2 = 265 X 2 2 = 23525 N 2 = 3
13
N 1 + N 2 - 2 X 1 = 535 X 1 2 = 72425 N 1 = 4 X 2 = 265 X 2 2 = 23525 N 2 = 3 535 265
14
N 1 + N 2 - 2 X 1 = 535 X 1 2 = 72425 N 1 = 4 X 2 = 265 X 2 2 = 23525 N 2 = 3 535 265 72425 23525
15
4 + 3 - 2 X 1 = 535 X 1 2 = 72425 N 1 = 4 X 2 = 265 X 2 2 = 23525 N 2 = 3 535 265 72425 23525 4 3 43
16
5 X 1 = 535 X 1 2 = 72425 N 1 = 4 X 2 = 265 X 2 2 = 23525 N 2 = 3 535 265 72425 23525 4 3 43 71556.25 23408.33.25+.33
17
5 X 1 = 535 X 1 2 = 72425 N 1 = 4 X 2 = 265 X 2 2 = 23525 N 2 = 3 535 265 72425 23525 4 3 43 71556.25 23408.33.25+.33 197.08 (.58)
18
5 X 1 = 535 X 1 2 = 72425 N 1 = 4 X 2 = 265 X 2 2 = 23525 N 2 = 3 535 265 72425 23525 4 3 43 71556.25 23408.33.25+.33 114.31 = 10.69
20
Practice I think it is colder in Philadelphia than in Anaheim ( =.10). To test this, I got temperatures from these two places on the Internet.
21
Results Philadelphia 52 53 54 61 55 Anaheim 77 75 67
22
Hypotheses Alternative hypothesis –H 1 : Philadelphia < Anaheim Null hypothesis –H 0 : Philadelphia = or > Anaheim
23
Step 2: Calculate the Critical t df = N 1 + N 2 - 2 df = 5 + 3 - 2 = 6 =.10 One-tailed t critical = - 1.44
24
Step 3: Draw Critical Region t crit = -1.44
25
Now Step 4: Calculate t observed t obs = (X 1 - X 2 ) / Sx 1 - x 2
26
6 X 1 = 275 X 1 2 = 15175 N 1 = 5 X 1 = 55 X 2 = 219 X 2 2 = 16043 N 2 = 3 X 2 = 73 275 219 15175 16043 5 3 53 15125 15987.2 +.33 = 3.05
27
Step 4: Calculate t observed -5.90 = (55 - 73) / 3.05 Sx 1 - x 2 = 3.05 X 1 = 55 X 2 = 73
28
Step 5: See if t obs falls in the critical region t crit = -1.44 t obs = -5.90
29
Step 6: Decision If t obs falls in the critical region: –Reject H 0, and accept H 1 If t obs does not fall in the critical region: –Fail to reject H 0
30
Step 7: Put answer into words We Reject H 0, and accept H 1 Philadelphia is significantly ( =.10) colder than Anaheim.
31
SPSS
32
So far.... We have been doing independent samples designs The observations in one group were not linked to the observations in the other group
33
Example Philadelphia 52 53 54 61 55 Anaheim 77 75 67
34
Matched Samples Design This can happen with: –Natural pairs –Matched pairs –Repeated measures
35
Natural Pairs The pairing of two subjects occurs naturally (e.g., twins)
36
Matched Pairs When people are matched on some variable (e.g., age)
37
Repeated Measures The same participant is in both conditions
38
Matched Samples Design In this type of design you label one level of the variable X and the other Y There is a logical reason for paring the X value and the Y value
39
Matched Samples Design The logic and testing of this type of design is VERY similar to what you have already done!
40
Example You just invented a “magic math pill” that will increase test scores. On the day of the first test you give the pill to 4 subjects. When these same subjects take the second test they do not get a pill Did the pill increase their test scores?
41
Hypothesis One-tailed Alternative hypothesis –H 1 : pill > nopill –In other words, when the subjects got the pill they had higher math scores than when they did not get the pill Null hypothesis –H 0 : pill < or = nopill –In other words, when the subjects got the pill their math scores were lower or equal to the scores they got when they did not take the pill
42
Results Test 1 w/ Pill (X) Mel3 Alice5 Vera 4 Flo3 Test 2 w/o Pill (Y) 1 3 2
43
Step 2: Calculate the Critical t N = Number of pairs df = N - 1 4 - 1 = 3 =.05 t critical = 2.353
44
Step 3: Draw Critical Region t crit = 2.353
45
Step 4: Calculate t observed t obs = (X - Y) / S D
46
Step 4: Calculate t observed t obs = (X - Y) / S D
47
Step 4: Calculate t observed t obs = (X - Y) / S D X = 3.75 Y = 2.00
48
Step 4: Calculate t observed t obs = (X - Y) / S D Standard error of a difference
49
Step 4: Calculate t observed t obs = (X - Y) / S D S D = S D / N N = number of pairs
50
S =
51
Test 1 w/ Pill (X) Mel3 Alice5 Vera 4 Flo3 Test 2 w/o Pill (Y) 1 3 2
52
S = Test 1 w/ Pill (X) Mel3 Alice5 Vera 4 Flo3 Test 2 w/o Pill (Y) 1 3 2 Difference (D) 2 1
53
S = Test 1 w/ Pill (X) Mel3 Alice5 Vera 4 Flo3 Test 2 w/o Pill (Y) 1 3 2 Difference (D) 2 1 D = 7 D 2 =13 N = 4
54
S = Test 1 w/ Pill (X) Mel3 Alice5 Vera 4 Flo3 Test 2 w/o Pill (Y) 1 3 2 Difference (D) 2 1 D = 7 D 2 =13 N = 4 7
55
S = Test 1 w/ Pill (X) Mel3 Alice5 Vera 4 Flo3 Test 2 w/o Pill (Y) 1 3 2 Difference (D) 2 1 D = 7 D 2 =13 N = 4 7 13
56
S = Test 1 w/ Pill (X) Mel3 Alice5 Vera 4 Flo3 Test 2 w/o Pill (Y) 1 3 2 Difference (D) 2 1 D = 7 D 2 =13 N = 4 7 13 4 4 - 1
57
S = Test 1 w/ Pill (X) Mel3 Alice5 Vera 4 Flo3 Test 2 w/o Pill (Y) 1 3 2 Difference (D) 2 1 D = 7 D 2 =13 N = 4 7 13 4 3 12.25
58
.5 = Test 1 w/ Pill (X) Mel3 Alice5 Vera 4 Flo3 Test 2 w/o Pill (Y) 1 3 2 Difference (D) 2 1 D = 7 D 2 =13 N = 4 7 4 3.75
59
Step 4: Calculate t observed t obs = (X - Y) / S D S D = S D / N N = number of pairs
60
Step 4: Calculate t observed t obs = (X - Y) / S D.25=.5 / 4 N = number of pairs
61
Step 4: Calculate t observed 7.0 = (3.75 - 2.00) /.25
62
Step 5: See if t obs falls in the critical region t crit = 2.353
63
Step 5: See if t obs falls in the critical region t crit = 2.353 t obs = 7.0
64
Step 6: Decision If t obs falls in the critical region: –Reject H 0, and accept H 1 If t obs does not fall in the critical region: –Fail to reject H 0
65
Step 7: Put answer into words Reject H 0, and accept H 1 When the subjects took the “magic pill” they received statistically ( =.05) higher math scores than when they did not get the pill
66
SPSS
67
Practice You just created a new program that is suppose to lower the number of aggressive behaviors a child performs. You watched 6 children on a playground and recorded their aggressive behaviors. You gave your program to them. You then watched the same children and recorded this aggressive behaviors again.
68
Practice Did your program significantly lower ( =.05) the number of aggressive behaviors a child performed?
69
Results Time 1 (X) Child118 Child211 Child319 Child46 Child510 Child614 Time 2 (Y) 16 10 17 4 11 12
70
Hypothesis One-tailed Alternative hypothesis –H 1 : time1 > time2 Null hypothesis –H 0 : time1 < or = time2
71
Step 2: Calculate the Critical t N = Number of pairs df = N - 1 6 - 1 = 5 =.05 t critical = 2.015
72
Step 4: Calculate t observed t obs = (X - Y) / S D
73
1.21 = (D) 2 1 2 2 D = 8 D 2 =18 N = 6 8 18 6 6 - 1 Time 1 (X) Child118 Child211 Child319 Child46 Child510 Child614 Test 2 (Y) 16 10 17 4 11 12
74
Step 4: Calculate t observed t obs = (X - Y) / S D.49=1.21 / 6 N = number of pairs
75
Step 4: Calculate t observed 2.73 = (13 - 11.66) /.49 X = 13 Y = 11.66 S D =.49
76
Step 5: See if t obs falls in the critical region t crit = 2.015 t obs = 2.73
77
Step 6: Decision If t obs falls in the critical region: –Reject H 0, and accept H 1 If t obs does not fall in the critical region: –Fail to reject H 0
78
Step 7: Put answer into words Reject H 0, and accept H 1 The program significantly ( =.05) lowered the number of aggressive behaviors a child performed.
79
SPSS
81
New Step Should add a new page Determine if –One-sample t-test –Two-sample t-test If it is a matched samples design If it is a independent samples with equal N If it is a independent samples with unequal N
82
Thus, there are 4 different kinds of designs Each design uses slightly different formulas You should probably make up ONE cook book page (with all 7 steps) for each type of design –Will help keep you from getting confused on a test
84
Practice Does drinking milkshakes affect (alpha =.05) your weight? To see if milkshakes affect a persons weight you collected data from 5 sets of twins. You randomly had one twin drink water and the other twin drank milkshakes. After 3 months you weighed them.
85
Results Water Twin A186 Twin B200 Twin C190 Twin D162 Twin E175 Milkshakes 195 202 196 165 183
86
Hypothesis Two-tailed Alternative hypothesis –H 1 : water = milkshake Null hypothesis –H 0 : water = milkshake
87
Step 2: Calculate the Critical t N = Number of pairs df = N - 1 5 - 1 = 4 =.05 t critical = 2.776
88
Step 3: Draw Critical Region t crit = 2.776t crit = -2.776
89
Step 4: Calculate t observed t obs = (X - Y) / S D
90
3.04 = (D) -9 -2 -6 -3 -8 D = -28 D 2 =194 N = 6 -28 194 5 5 - 1
91
Step 4: Calculate t observed t obs = (X - Y) / S D 1.36=3.04 / 5 N = number of pairs
92
Step 4: Calculate t observed -4.11 = (182.6 – 188.2) / 1.36 X = 182.6 Y = 188.2 S D = 1.36
93
Step 5: See if t obs falls in the critical region t crit = 2.776t crit = -2.776 t obs = -4.11
94
Step 6: Decision If t obs falls in the critical region: –Reject H 0, and accept H 1 If t obs does not fall in the critical region: –Fail to reject H 0
95
Step 7: Put answer into words Reject H 0, and accept H 1 Milkshakes significantly ( =.05) affect a persons weight.
96
Practice Sleep researchers decide to test the impact of REM sleep deprivation on a computerized assembly line task. Subjects are required to participate in two nights of testing. On each night of testing the subject is allowed a total of four hours of sleep. However, on one of the nights, the subject is awakened immediately upon achieving REM sleep. Subjects then took a cognitive test which assessed errors in judgment. Did sleep deprivation lower the subjects cognitive ability?
97
REM DeprivedControl Condition 2620 154 89 4436 2620 133 3825 2410 176 2914
98
t obs = 6.175 t crit = 1.83 Sleep deprivation lowered their cognitive abilities.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.