0% found this document useful (0 votes)
24 views16 pages

Luluk Laylina - Statistik Bisnis - P10 - Two Sample Test of Hypothesis (Null) - 1

The document contains GDP growth rate data from 1971 to 2019 for the US, UK, and China. It shows that the average GDP growth rate was highest in China at 8.45%, followed by the UK at 1.86%, and the US at 1.82%. Two t-tests were conducted to compare the mean GDP growth rates between China and the UK, and between China and the US. Both t-tests rejected the null hypothesis, indicating that the average GDP growth rate was significantly higher in China than in the UK or US.

Uploaded by

202211171
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views16 pages

Luluk Laylina - Statistik Bisnis - P10 - Two Sample Test of Hypothesis (Null) - 1

The document contains GDP growth rate data from 1971 to 2019 for the US, UK, and China. It shows that the average GDP growth rate was highest in China at 8.45%, followed by the UK at 1.86%, and the US at 1.82%. Two t-tests were conducted to compare the mean GDP growth rates between China and the UK, and between China and the US. Both t-tests rejected the null hypothesis, indicating that the average GDP growth rate was significantly higher in China than in the UK or US.

Uploaded by

202211171
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Year US UK China

1971 2.00 3.07


1972 4.14 3.97
1973 4.64 6.32
1974 -1.45 -2.55
1975 -1.18 -1.47
1976 4.39 2.94
1977 3.58 2.49
1978 4.42 4.20
1979 2.03 3.66
1980 -1.21 -2.15 6.46
1981 1.54 -0.82 3.83
1982 -2.73 2.03 7.34
1983 3.63 4.19 9.25
1984 6.31 2.11 13.64
1985 3.25 3.91 11.91
1986 2.51 2.91 7.33
1987 2.54 5.17 9.91
1988 3.24 5.50 9.46
1989 2.70 2.31 2.60
1990 0.74 0.43 2.39
1991 -1.43 -1.41 7.81
1992 2.10 0.13 12.82
1993 1.41 2.24 12.57
1994 2.76 3.58 11.78
1995 1.47 2.26 9.75
1996 2.57 2.23 8.78
1997 3.20 3.59 8.12
1998 3.27 3.34 6.81
1999 3.56 3.08 6.74
2000 2.98 3.07 7.64
2001 0.00 2.58 7.56
2002 0.80 1.89 8.40
2003 1.98 2.81 9.35
2004 2.84 1.79 9.46
2005 2.56 2.47 10.74
2006 1.87 2.04 12.09
2007 0.91 1.64 13.64
2008 -1.08 -1.06 9.09
2009 -3.39 -4.97 8.86
2010 1.72 1.15 10.10
2011 0.82 0.75 9.03
2012 1.51 0.78 7.34
2013 1.15 1.46 7.24
2014 1.71 1.85 6.88
2015 2.13 1.55 6.50
2016 0.84 1.15 6.27
2017 1.57 1.20 6.35
2018 2.39 0.73 6.27
2019 1.85 0.84 5.73

N 49 49 40
Mean 1.82 1.86 8.45
Stdev 1.90 2.10 2.64
Var 3.59 4.40 6.98

𝜎_(𝑥1−𝑥2)^2=(𝜎_1^2)/𝑛_1 +(𝜎_2^2)/𝑛_2
ꝍ^2 0.24776286 0.264

𝑧=(𝑥_1−𝑥_2)/𝜎
z-stat 13.3129027 12.8178

Critical Value 5% 2.5758293


Critical Value 1% 2.32634787
(𝜎_2^2)/𝑛_2z-Test: Two Sample for Means

China UK
Mean 8.44611 1.85681101882
Known Variance 6.98 4.4
Observations 40 49
Hypothesized Mean Difference 0
z 12.8172
P(Z<=z) one-tail 0
z Critical one-tail 2.32635
P(Z<=z) two-tail 0
z Critical two-tail 2.57583

Kesimpulan
Two-tailed: Ho ditolak, karena nilai z hitung(12,8) > z tabel (2,58).
One-tailed: Ho ditolak, karena nilai z hitung (12,8) > z tabel (2,33).
z-Test: Two Sample for Means

China US
Mean 8.446107 1.819506
Known Variance 6.98 3.59
Observations 40 49
Hypothesized Mean Difference 0
z 13.31284
P(Z<=z) one-tail 0
z Critical one-tail 2.326348
P(Z<=z) two-tail 0
z Critical two-tail 2.575829

Kesimpulan
Two-tailed: Ho ditolak, karena nilai z hitung(13,3) > z tabel (2,58).
One-tailed: Ho ditolak, karena nilai z hitung(13,3) > z tabel (2,33).
Year US UK China
1971 2.00 3.07
1972 4.14 3.97
1973 4.64 6.32
1974 -1.45 -2.55
1975 -1.18 -1.47
1976 4.39 2.94
1977 3.58 2.49
1978 4.42 4.20
1979 2.03 3.66
1980 -1.21 -2.15 6.46
1981 1.54 -0.82 3.83
1982 -2.73 2.03 7.34
1983 3.63 4.19 9.25
1984 6.31 2.11 13.64
1985 3.25 3.91 11.91
1986 2.51 2.91 7.33
1987 2.54 5.17 9.91
1988 3.24 5.50 9.46
1989 2.70 2.31 2.60
1990 0.74 0.43 2.39
1991 -1.43 -1.41 7.81
1992 2.10 0.13 12.82
1993 1.41 2.24 12.57
1994 2.76 3.58 11.78
1995 1.47 2.26 9.75
1996 2.57 2.23 8.78
1997 3.20 3.59 8.12
1998 3.27 3.34 6.81
1999 3.56 3.08 6.74
2000 2.98 3.07 7.64
2001 0.00 2.58 7.56
2002 0.80 1.89 8.40
2003 1.98 2.81 9.35
2004 2.84 1.79 9.46
2005 2.56 2.47 10.74
2006 1.87 2.04 12.09
2007 0.91 1.64 13.64
2008 -1.08 -1.06 9.09
2009 -3.39 -4.97 8.86
2010 1.72 1.15 10.10
2011 0.82 0.75 9.03
2012 1.51 0.78 7.34
2013 1.15 1.46 7.24
2014 1.71 1.85 6.88
2015 2.13 1.55 6.50
2016 0.84 1.15 6.27
2017 1.57 1.20 6.35
2018 2.39 0.73 6.27
2019 1.85 0.84 5.73

N 49 49 40
Mean 1.82 1.86 8.45
Stdev 1.92 2.12 2.68

𝑠=√(( 〖 (𝑁_1−1)𝑠 〗 _1^2+(𝑁_2−1) 𝑠_2^2)/(𝑁_1+𝑁_2−2)) √(1/𝑁_1 +1/𝑁_2 )


494.8087
s 0.487408 0.5082 87
0.045408

𝑡=(𝑚_1−𝑚_2)/𝑠
t-stat 13.59559 12.9662 455.1673
87
Degree of freedom 87 0.045408

Critical value 5%
Two-tailed 1.987608
One-tailed 1.662557
t-Test: Two-Sample Assuming Equal Variances
𝑁_1 +1/𝑁_2 )
China UK
Mean 8.446107464 1.856811
Variance 7.155741608 4.494475
Observations 40 49
Pooled Variance 5.687456474
Hypothesized Mean Difference 0
df 87
t Stat 12.96620954
P(T<=t) one-tail 2.47448E-22
t Critical one-tail 1.662557349
P(T<=t) two-tail 4.94895E-22
t Critical two-tail 1.987608282

Kesimpulan
Two-tailed: Ho ditolak karena nilai z hitung (12,9) > z tabel (1,98)
one-tailed: Ho ditolak karena nilai z hitung (12,9) > z tabel (1,66)
t-Test: Two-Sample Assuming Equal Variances

China US
Mean 8.446107 1.819506
Variance 7.155742 3.668611
Observations 40 49
Pooled Variance 5.231807
Hypothesized Mean Difference 0
df 87
t Stat 13.59559
P(T<=t) one-tail 1.541E-23
t Critical one-tail 1.662557
P(T<=t) two-tail 3.082E-23
t Critical two-tail 1.987608

Kesimpulan
Two-tailed: Ho ditolak karena nilai z hitung (13,6) > z tabel (1,98)
one-tailed: Ho ditolak karena nilai z hitung (13,6) > z tabel (1,66)
Year US UK China
1971 2.00 3.07
1972 4.14 3.97
1973 4.64 6.32
1974 -1.45 -2.55
1975 -1.18 -1.47
1976 4.39 2.94
1977 3.58 2.49
1978 4.42 4.20
1979 2.03 3.66
1980 -1.21 -2.15 6.46
1981 1.54 -0.82 3.83
1982 -2.73 2.03 7.34
1983 3.63 4.19 9.25
1984 6.31 2.11 13.64
1985 3.25 3.91 11.91
1986 2.51 2.91 7.33
1987 2.54 5.17 9.91
1988 3.24 5.50 9.46
1989 2.70 2.31 2.60
1990 0.74 0.43 2.39
1991 -1.43 -1.41 7.81
1992 2.10 0.13 12.82
1993 1.41 2.24 12.57
1994 2.76 3.58 11.78
1995 1.47 2.26 9.75
1996 2.57 2.23 8.78
1997 3.20 3.59 8.12
1998 3.27 3.34 6.81
1999 3.56 3.08 6.74
2000 2.98 3.07 7.64
2001 0.00 2.58 7.56
2002 0.80 1.89 8.40
2003 1.98 2.81 9.35
2004 2.84 1.79 9.46
2005 2.56 2.47 10.74
2006 1.87 2.04 12.09
2007 0.91 1.64 13.64
2008 -1.08 -1.06 9.09
2009 -3.39 -4.97 8.86
2010 1.72 1.15 10.10
2011 0.82 0.75 9.03
2012 1.51 0.78 7.34
2013 1.15 1.46 7.24
2014 1.71 1.85 6.88
2015 2.13 1.55 6.50
2016 0.84 1.15 6.27
2017 1.57 1.20 6.35
2018 2.39 0.73 6.27
2019 1.85 0.84 5.73

N 49 49 40
Mean 1.82 1.86 8.45
Stdev 1.92 2.12 2.68

𝑠=√((𝑠_1^2)/𝑁_1 +(𝑠_2^2)/𝑁_2 )
0.178894
s 0.503749 0.5202 0.091724

𝑡=(𝑚_1−𝑚_2)/𝑠 0.178894
t-stat 13.15457 12.6666 0.07487

Degree of freedom 74 69

Critical value 5%
Two-tailed 1.992543 1.994945
One-tailed 1.665707 1.667239
t-Test: Two-Sample Assuming Unequal Variances

China UK
Mean 8.44610746 1.85681102
Variance 7.15574161 4.4944748
Observations 40 49
Hypothesized Mean Difference 0
df 74
t Stat 12.6666303
P(T<=t) one-tail 1.63963E-20
t Critical one-tail 1.66570689
P(T<=t) two-tail 3.27926E-20
t Critical two-tail 1.9925435

Kesimpulan
Two-tailed :Ho ditolak, karena nilai t hitung (12,6) > t tabel (1,99)
one-tailed :Ho ditolak, karena nilai t hitung (12,6) > t tabel (1,66).
t-Test: Two-Sample Assuming Unequal Variances

China US
Mean 8.446107 1.819506
Variance 7.155742 3.668611
Observations 40 49
Hypothesized Mean Difference 0
df 69
t Stat 13.15457
P(T<=t) one-tail 8.839E-21
t Critical one-tail 1.667239
P(T<=t) two-tail 1.768E-20
t Critical two-tail 1.994945

Kesimpulan
Two-tailed :Ho ditolak, karena nilai t hitung (13,15) > t tabel (1,99)
one-tailed :Ho ditolak, karena nilai t hitung (13,15) > t tabel (1,66).
Year US UK China UK-US China-US China-UK
1971 2.00 3.07 0 1.08 -2.00 -3.07
1972 4.14 3.97 0 -0.17 -4.14 -3.97
1973 4.64 6.32 0 1.68 -4.64 -6.32
1974 -1.45 -2.55 0 -1.10 1.45 2.55
1975 -1.18 -1.47 0 -0.28 1.18 1.47
1976 4.39 2.94 0 -1.46 -4.39 -2.94
1977 3.58 2.49 0 -1.09 -3.58 -2.49
1978 4.42 4.20 0 -0.22 -4.42 -4.20
1979 2.03 3.66 0 1.62 -2.03 -3.66
1980 -1.21 -2.15 6.46 -0.94 7.67 8.61
1981 1.54 -0.82 3.83 -2.36 2.30 4.66
1982 -2.73 2.03 7.34 4.77 10.08 5.31
1983 3.63 4.19 9.25 0.55 5.61 5.06
1984 6.31 2.11 13.64 -4.20 7.33 11.53
1985 3.25 3.91 11.91 0.66 8.66 8.00
1986 2.51 2.91 7.33 0.40 4.82 4.42
1987 2.54 5.17 9.91 2.63 7.37 4.74
1988 3.24 5.50 9.46 2.26 6.22 3.96
1989 2.70 2.31 2.60 -0.39 -0.10 0.29
1990 0.74 0.43 2.39 -0.31 1.65 1.96
1991 -1.43 -1.41 7.81 0.03 9.25 9.22
1992 2.10 0.13 12.82 -1.97 10.73 12.70
1993 1.41 2.24 12.57 0.84 11.16 10.32
1994 2.76 3.58 11.78 0.82 9.02 8.20
1995 1.47 2.26 9.75 0.79 8.28 7.49
1996 2.57 2.23 8.78 -0.34 6.21 6.55
1997 3.20 3.59 8.12 0.39 4.92 4.53
1998 3.27 3.34 6.81 0.07 3.54 3.46
1999 3.56 3.08 6.74 -0.47 3.18 3.66
2000 2.98 3.07 7.64 0.09 4.66 4.57
2001 0.00 2.58 7.56 2.58 7.55 4.98
2002 0.80 1.89 8.40 1.09 7.60 6.51
2003 1.98 2.81 9.35 0.83 7.37 6.55
2004 2.84 1.79 9.46 -1.05 6.62 7.67
2005 2.56 2.47 10.74 -0.09 8.18 8.27
2006 1.87 2.04 12.09 0.17 10.22 10.06
2007 0.91 1.64 13.64 0.72 12.72 12.00
2008 -1.08 -1.06 9.09 0.01 10.17 10.16
2009 -3.39 -4.97 8.86 -1.58 12.24 13.83
2010 1.72 1.15 10.10 -0.56 8.38 8.95
2011 0.82 0.75 9.03 -0.07 8.20 8.28
2012 1.51 0.78 7.34 -0.73 5.83 6.56
2013 1.15 1.46 7.24 0.31 6.09 5.78
2014 1.71 1.85 6.88 0.15 5.17 5.03
2015 2.13 1.55 6.50 -0.58 4.37 4.95
2016 0.84 1.15 6.27 0.31 5.43 5.12
2017 1.57 1.20 6.35 -0.37 4.78 5.15
2018 2.39 0.73 6.27 -1.66 3.87 5.54
2019 1.85 0.84 5.73 -1.01 3.88 4.89

N 49 49 49 49 49 49
Mean 1.82 1.86 6.89 0.04 5.08 5.04
Stdev 1.92 2.12 4.09 1.41 4.57 4.63

𝑠=𝑠_(1−2)/√𝑁
s 0.6532 0.6613

𝑡=(𝑚_1−𝑚_2)/𝑠
t-stat 7.7702 7.6181

Degree of freedom 48 48

Critical Value 5%
Two-tailed 2.0106347576 2.010635
One-tailed 1.6772241961 1.677224
t-Test: Paired Two Sample for Means

China UK
Mean 6.89478160334694 1.856811
Variance 16.7329275000251 4.494475
Observations 49 49
Pearson Correlation -0.0116563914065756
Hypothesized Mean Difference 0
df 48
t Stat 7.61810408980815
P(T<=t) one-tail 4.17776883353079E-10
t Critical one-tail 1.67722419612434
P(T<=t) two-tail 8.35553766706158E-10
t Critical two-tail 2.01063475762423

Kesimpulan
Two-tailed :Ho ditolak, karena nilai t hitung (7,61) > t tabel (2,01)
one-tailed :Ho ditolak, karena nilai t hitung (7,61) > t tabel (1,67)
t-Test: Paired Two Sample for Means

China US
Mean 6.89478160334694 1.819506
Variance 16.7329275000251 3.668611
Observations 49 49
Pearson Correlation -0.0321224609156984
Hypothesized Mean Difference 0
df 48
t Stat 7.77022670729682
P(T<=t) one-tail 2.4533235373243E-10
t Critical one-tail 1.67722419612434
P(T<=t) two-tail 4.9066470746486E-10
t Critical two-tail 2.01063475762423

Kesimpulan
Two-tailed :Ho ditolak, karena nilai t hitung (7,77) > t tabel (2,01)
one-tailed :Ho ditolak, karena nilai t hitung (7,77) > t tabel (1,67)

You might also like