Professional Documents
Culture Documents
103 T-Testing Difference of Means
103 T-Testing Difference of Means
a
Respondents Residence Adequate Due process & Human Rights Put offenders behind bars
1 Rentosa Brgy A-1 9 4 3
2 Martinez Brgy Lower Hills 5 5 2
3 Dela Cruz Brgy Upper Hills 7 6 4
4 Adique Brgy Lower Hills 5 4 1
5 Gamboa Brgy A-1 6 5 6
6 Evangelista Brgy Upper Hills 8 6 4
7 Mati Brgy Upper Hills 8 7 3
8 Aberin Brgy Upper Hills 7 5 4
9 Zebago Brgy Lower Hills 4 5 5
10 Legaspi Brgy A-1 6 4 3
11 Sentosa Brgy A-1 7 5 4
12 Baguilad Brgy Lower Hills 7 6 2
13 Hall Brgy Lower Hills 4 3 3
14 Enriquez Brgy Upper Hills 8 4 4
15 Ampil Brgy A-1 7 5 6
16 Santos Brgy A-1 7 6 3
17 Ignacio Brgy Upper Hills 9 3 4
18 German Brgy Lower Hills 3 5 2
19 Seguinial Brgy A-1 5 6 1
20 Benitez Brgy Upper Hills 8 4 5
21 Mendoza Brgy A-1 7 2 4
22 Lumaquin Brgy A-1 5 5 2
23 Rojas Brgy Upper Hills 7 4 3
24 Uy Brgy A-1 6 4 6
25 Fabian Brgy Lower Hills 3 1 3
26 Sison Brgy Lower Hills 2 3 4
27 Magno Brgy Lower Hills 4 3 4
28 Lee Brgy A-1 7 7 3
29 Albay Brgy Upper Hills 9 5 3
30 Villagracia Brgy Upper Hills 7 4 2
31 Abubakar Brgy A-1 6 5 1
32 De Gama Brgy A-1 7 7 4
33 Corpuz Brgy A-1 5 5 5
34 Maambot Brgy Lower Hills 3 3 6
35 Tolentino Brgy A-1 6 3 5
Item 14
Did criminality decrease?
YES
NO
NO
NO
YES
NO
NO
NO
YES
NO
NO
NO
NO
NO
NO
NO
YES
NO
YES
NO
YES
NO
YES
NO
NO
NO
NO
NO
YES
NO
YES
NO
NO
NO
YES
Item 1 Item 2 Item 11.a
1 Rentosa Brgy A-1 9
5 Gamboa Brgy A-1 6 Ignacio
10 Legaspi Brgy A-1 6 Dela Cruz
11 Sentosa Brgy A-1 7 Evangelista
15 Ampil Brgy A-1 7 Mati
16 Santos Brgy A-1 7 Aberin
19 Seguinial Brgy A-1 5 Enriquez
21 Mendoza Brgy A-1 7 Benitez
22 Lumaquin Brgy A-1 5 Rojas
24 Uy Brgy A-1 6 Albay
28 Lee Brgy A-1 7 Villagracia
31 Abubakar Brgy A-1 6
32 De Gama Brgy A-1 7
33 Corpuz Brgy A-1 5 N
35 Tolentino Brgy A-1 6 ΣX1
2 Martinez Brgy Lower Hills 5 10
4 Adique Brgy Lower Hills 5 X̅1
9 Zebago Brgy Lower Hills 4
12 Baguilad Brgy Lower Hills 7
13 Hall Brgy Lower Hills 4
18 German Brgy Lower Hills 3
25 Fabian Brgy Lower Hills 3
26 Sison Brgy Lower Hills 2
27 Magno Brgy Lower Hills 4
34 Maambot Brgy Lower Hills 3
17 Ignacio Brgy Upper Hills 9 10
3 Dela Cruz Brgy Upper Hills 7
6 Evangelista Brgy Upper Hills 8
7 Mati Brgy Upper Hills 8
8 Aberin Brgy Upper Hills 7
14 Enriquez Brgy Upper Hills 8
20 Benitez Brgy Upper Hills 8
23 Rojas Brgy Upper Hills 7
29 Albay Brgy Upper Hills 9
30 Villagracia Brgy Upper Hills 7
Respondents Residence Adequate
Brgy Upper Hills (N1 =10) Brgy Lower Hills (N1 =10)
X1 X12 X2 X22
9 81 Martinez 5 25
7 49 Adique 5 25
8 64 Zebago 4 16
8 64 Baguilad 7 49
7 49 Hall 4 16
8 64 German 3 9
8 64 Fabian 3 9
7 49 Sison 2 4
9 81 Magno 4 16
7 49 Maambot 3 9
10 10
78 ΣX1 2
614 ΣX2 40 ΣX22 178
Ignacio 9 81 Martinez 5 25
Evangelista 8 64 Zebago 4 16
Mati 8 64 Baguilad 7 49
Aberin 7 49 Hall 4 16
Enriquez 8 64 German 3 9
Benitez 8 64 Fabian 3 9
Rojas 7 49 Sison 2 4
Albay 9 81 Magno 4 16
Villagracia 7 49 Maambot 3 9
N 10 10
ΣX1 78 ΣX1 2
614 ΣX2 40 ΣX22 178
t= X̅1 - X̅2
SX̅1 - X̅2
df = N1 + N 2 - 2 18 18
4. Compare the obtained t vs table t value
The calculated t is 4.75, which is MORE than table t 1.734. This is a df =10 and α = .05.
So we retain the NULL HYPOTHESIS of no difference in population means.
The DIFFERENCE BETWEEN MEANS of "adequate security" between Upper Hills and Lower Hills residents are STATISTICALLY SI
The difference between MEANS - Upper Hills (7.8) and Lower Hills (4) CANNOT BE IGNORED AS A SAMPLING ERROR.
Critical values of t Table
df Level of significance for two-tailed test (α)
0.05
18 1.734
Brgy Upper Hills Brgy Lower Hills
N 10 10
Mean 7.8 4
s2(variance) 0.56 1.8
s (stdev) 0.75 1.3
nts are STATISTICALLY SIGNIFICANT.
PLING ERROR.
Respondents Residence Due process & Human Rights Brgy Upper Hills (N1 =
Item 1 Item 2 Item 12.b X1
1 Rentosa Brgy A-1 4 Ignacio 3
5 Gamboa Brgy A-1 5 Dela Cruz 6
10 Legaspi Brgy A-1 4 Evangelista 6
11 Sentosa Brgy A-1 5 Mati 7
15 Ampil Brgy A-1 5 Aberin 5
16 Santos Brgy A-1 6 Enriquez 4
19 Seguinial Brgy A-1 6 Benitez 4
21 Mendoza Brgy A-1 2 Rojas 4
22 Lumaquin Brgy A-1 5 Albay 5
24 Uy Brgy A-1 4 Villagracia 4
28 Lee Brgy A-1 7
31 Abubakar Brgy A-1 5
32 De Gama Brgy A-1 7 N 10
33 Corpuz Brgy A-1 5 ΣX1
35 Tolentino Brgy A-1 3
2 Martinez Brgy Lower Hills 5 X̅1
4 Adique Brgy Lower Hills 4
9 Zebago Brgy Lower Hills 5
12 Baguilad Brgy Lower Hills 6
13 Hall Brgy Lower Hills 3
18 German Brgy Lower Hills 5
25 Fabian Brgy Lower Hills 1
26 Sison Brgy Lower Hills 3
27 Magno Brgy Lower Hills 3
34 Maambot Brgy Lower Hills 3
17 Ignacio Brgy Upper Hills 3
3 Dela Cruz Brgy Upper Hills 6
6 Evangelista Brgy Upper Hills 6
7 Mati Brgy Upper Hills 7
8 Aberin Brgy Upper Hills 5
14 Enriquez Brgy Upper Hills 4
20 Benitez Brgy Upper Hills 4
23 Rojas Brgy Upper Hills 4
29 Albay Brgy Upper Hills 5
30 Villagracia Brgy Upper Hills 4
Respondents Residence Due process & Human Rights
Brgy Upper Hills (N1 =10) Brgy Lower Hills (N1 =10)
X12 X2 X22
Martinez 5
Adique 4
Zebago 5
Baguilad 6
Hall 3
German 5
Fabian 1
Sison 3
Magno 3
Maambot 3
10
ΣX1 2
ΣX2 ΣX22
Ignacio 3 9 Martinez 5 25
N 10 10
ΣX1 48 ΣX1 2
244 ΣX2 38 ΣX22 164
t= X̅1 - X̅2
SX̅1 - X̅2
t= 4.8 - 3.80 1
0.61 0.61
df = N1 + N 2 - 2 18
10
ΣX12 248 ΣX2 32 ΣX22 124
Rentosa 3 9 Martinez 2 4
Gamboa 6 36 Adique 1 1
Legaspi 3 9 Zebago 5 25
Sentosa 4 16 Baguilad 2 4
Ampil 6 36 Hall 3 9
Santos 3 9 German 2 4
Seguinial 1 1 Fabian 3 9
Mendoza 4 16 Sison 4 16
Lumaquin 2 4 Magno 4 16
Uy 6 36 Maambot 6 36
Lee 3 9
Abubakar 1 1
De Gama 4 16
Corpuz 5 25
Tolentino 5 25
N 15 10
ΣX1 56 ΣX1 2
248 ΣX2 32 ΣX22 124
t= X̅1 - X̅2
SX̅1 - X̅2
SD= SD
√N 2 - 1 0.917 0.30566667
3
SD= 0.971
√10 - 1
4. Find the t ratio or translate the sample mean difference into units of standard error of the difference
t= X̅1 - X̅2
SD 1.96078431
t= 3.8 - 3.20
0.306
df = N-1
N 10 ΣD2 12
ΣX1 ΣX1 2
X̅1 X̅12
9
s before and after.
1. Find the two sample proportions and combined sample proportion
P1 0.45
P2 0.32
P3 0.39
3. Translate the difference between proprotions into units of standard error of the difference
z= P1 - P 2
SP1 - P2
MALE FEMALE
X1 X2
N 180 150
Support the RH 81 48
Proportion who supports 0.45 0.32
support RH Bill.
Female legislators who support the
TOTAL
330
129
0.39
MALE TOTAL
X2
35 70
12 25
0.34 0.36
3. Translate the difference between proprotions into units of standard error of the difference
z= P1 - P 2
SP1 - P2
FEMALE MALE
X1 X2
N 35 35
NO 13 12
0.37 0.34
support RH Bill.
TOTAL
70
25
0.36
SD= 7.41
SD= SD
√N - 1
SD= 7.41 =2.62
√9 - 1
4. Find the t ratio or translate the sample mean difference into units of standard error of the difference
t= X̅1 - X̅2
SD
df = N (9) - 1 =8
837.66
SD= SD
√N - 1
t= X̅1 - X̅2
SD
df = N (16) - 1 15.0