Testing 2 Means

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 19

x_bar_A= 250

x_bar_B= 220
s_A= 55
s_B= 40
n_A= 400
n_B= 400
H0:mu_A=mu_B
H1:mu_A#mu_B

Zc= 8.8225755
p-value= 0<1%
z-Test: Two Sample for Means

Variable 1 Variable 2
Mean 49.311946794 36.471805
Known Variance 72.87395 67.74543
Observations 50 35
Hypothesized Mean Dif 0
z 6.9706597211 (=Zc)
P(Z<=z) one-tail 0.00(p-value)
z Critical one-tail 1.644853627
P(Z<=z) two-tail 3.1545877E-12
z Critical two-tail 1.9599639845
H0:mu1=mu2
H1:mu1<mu2

1.00
54.345361 27.854887
52.707498 38.139152 8.536624 8.2307611
54.593892 41.010785 72.873949 67.745428
44.436325 39.385777
32.321697 31.099801
46.70265 27.496646
38.198033 43.806219
54.576054 36.978148
72.793756 30.938658
48.181215 25.221145
49.836666 49.45811
37.910746 38.624252
47.577129 42.354777
57.612857 31.506157
45.694964 27.595756
63.53842 37.078109
38.09767 52.139791
38.171908 40.791524
48.709336 28.58017
47.596819 32.994532
45.952055 48.779381
54.260596 29.523855
38.428226 23.699465
49.443958 37.199303
55.48971 43.710181
41.03195 52.517959
52.675756 44.277258
42.581934 28.611095
62.654937 41.945174
41.286381 32.583004
40.261858 48.398858
63.621138 22.053925
48.604358 33.367337
54.694436 35.210213
50.272746 31.581766
59.295377
55.718846
45.331166
59.865516
43.855158
52.505681
50.167915
44.567133
44.951531
65.083151
40.984975
39.092862
46.866177
42.592006
59.856808
z-Test: Two Sample for Means

Variable 1 Variable 2
Mean 34.547273 34.558328
Known Variance 62.64468 73.21379
Observations 40 35
Hypothesized Mean Diference 0
Zc= -0.00578
P(Z<=z) one-tail 0.497694LTT
z Critical one-tail 1.6448536
P(Z<=z) two-tail 0.995388
z Critical two-tail 1.959964
H0:mu1=mu2
H1:mu1<mu2
41.302598 49.964626 62.64468 73.213795
36.927583 42.836161
28.065703 22.645592
41.968203 45.897825
40.258225 41.968858
23.100717 31.395325
40.737202 53.975115
51.513222 34.189876
18.01013 37.069713
36.300359 36.568903
30.578328 36.906358
34.776901 31.364726
42.330418 40.711975
32.592386 37.135264
35.368236 38.077691
38.782225 27.182843
43.698025 40.613183
37.906945 35.854347
43.429943 15.758512
35.493274 28.244132
28.053225 33.263149
43.148345 25.398419
31.349352 37.966008
43.185434 28.344961
24.393 22.219071
31.975721 34.12407
40.752245 29.540567
45.485892 30.670121
14.654967 32.35031
38.945897 18.519519
35.292903 47.163318
33.276562 44.004693
23.089585 35.917503
24.479329 26.745069
33.20383 34.953684
39.448084
29.72886
28.509518
31.778906
27.998637
z-Test: Two Sample for Means

M1 1.25M2
Mean 174.74736 156.16874
Known Vari 109.4166 122.4018
Observation 50 50
Hypothesize 0
z 8.6282867
P(Z<=z) one- 0
z Critical on1.6448536
P(Z<=z) two- 0
z Critical tw 1.959964
M1 M2 1.25M2H0:mu1=1.25mu2
165.6574 144.775871 180.96984H1:mu1<1.25mu2
186.43096 137.067039 171.3338
181.92924 131.582286 164.47786 109.41658 122.40181
179.83498 134.038035 167.54754
164.10812 138.428325 173.03541
178.55615 123.503085 154.37886
170.08059 130.237951 162.79744
154.48553 106.214387 132.76798
174.02502 117.976109 147.47014
180.22655 139.109173 173.88647
152.13367 129.821231 162.27654
171.5569 118.493543 148.11693
184.4904 128.040759 160.05095
165.79032 132.392896 165.49112
173.87964 129.884907 162.35613
175.16562 111.892635 139.86579
178.18771 111.757803 139.69725
166.61928 135.018493 168.77312
190.27687 129.022218 161.27777
160.01394 129.187837 161.4848
195.49565 137.42156 171.77695
186.86977 115.192805 143.99101
161.89805 134.930432 168.66304
179.2849 130.949209 163.68651
188.80922 130.294191 162.86774
151.11285 118.696395 148.37049
175.13197 123.122848 153.90356
169.24959 137.202827 171.50353
187.01179 129.580295 161.97537
176.51936 117.409607 146.76201
181.02149 104.754102 130.94263
167.6913 119.622021 149.52753
174.07496 103.659434 129.57429
181.47719 112.046408 140.05801
185.21504 97.801379 122.25172
179.08368 130.004199 162.50525
175.00803 121.185943 151.48243
179.187 136.494421 170.61803
158.66766 118.701067 148.37633
191.35267 120.096982 150.12123
174.87033 131.269124 164.08641
170.89553 128.248124 160.31015
168.27742 122.372572 152.96572
196.35548 123.998112 154.99764
174.44318 125.480213 156.85027
165.53598 97.6434908 122.05436
169.55827 134.658561 168.3232
177.97032 116.684308 145.85539
166.20107 137.897158 172.37145
175.64954 130.887227 163.60903
191.25282
Before (1) After (2)
6 4
20 6
3 2
0 0
4 0
t-Test: Paired Two Sample for Means

Before (1)
Mean 6.6
Variance 60.8
Observations 5
Pearson Correlation 0.8704964821
Hypothesized Mean Dif 0
df 4
t Stat 1.6550318531
P(T<=t) one-tail 0.0866301576
t Critical one-tail 2.1318467863
P(T<=t) two-tail 0.1732603153
t Critical two-tail 2.7764451052
After (2)
2.4H0:mu_B=mu_A
6.8H1:mu_B>mu_A
5

<0.10
A B we conduct t testple Assuming Equal V
25 44
32 34
30 22
34 10
24 47
14 31
32 40
24 30
30 32
31 35
35 18
25 21
ssuming Equal Variances

A B
Mean 28 30.3333333333H0:muA=muB
Variance 34.545455 119.878787879H1:muA<muB
Observations 12 12
Pooled Variance 77.212121
Hypothesized Mean 0
df 22
t Stat -0.650444
P(T<=t) one-tail 0.2610706>0.10
t Critical one-tail 1.7171444
P(T<=t) two-tail 0.5221412
t Critical two-tail 2.0738731
muA=muB
muA<muB

You might also like