Professional Documents
Culture Documents
Hypothesis Testing
Hypothesis Testing
Top Top
Mileage speed Mileage speed
Car No. (km/ltr) (km/hr) Car No. (km/ltr) (km/hr)
1 21.2 151.9 1 15.04 211.3
2 21.79 147.6 2 15.41 207
3 21.87 145.6 3 15.43 206.2
4 22.71 136.1 4 15.92 213.4
5 22.52 139.7 5 15.2 204.2
6 21.41 146.1 6 15.22 208.7
7 22.71 139.6 7 14.6 200
8 21.71 143 8 14.41 210.9
9 19.95 136.4 9 14.79 208.5
10 20.65 146.6 10 14.81 214.2
11 22.86 139.9 11 15.61 215.8
12 21.12 136.6 12 15.76 215.8
13 22.8 148.5 13 14.97 215.2
14 20.89 143.4 14 14.71 218.7
15 22.49 134.2 15 15.55 208
16 20.94 140.5 16 15.19 212.2
17 20.37 137.8 17 15.36 219.7
18 22.72 135.1 18 15.93 216.4
19 20.54 138.8 19 14.54 205.8
20 21.14 132 20 14.76 209
Roccinate 36 Mileage Roccinate 36 Topspeed
Sample size 20 Sample size 20
Sample standard deviation 0.927290762 Sample standard deviation 5.3981575804
Hypothesized mean 22 Hypothesized mean 140
Sample mean 21.620 Sample mean 140.970
Std error of mean 0.207 Std error of mean 1.207
Degrees of freedom 19 Degrees of freedom 19
t-test statistic -1.835 t-test statistic 0.804
p-value 0.08221 p-value 0.4313
H0
H1
Step 2
Level of significance
Step 3
Decide test to be used (z/t ) Roccinate
Calculate test statistics Sample size
Calculate p values Sample standard deviation
http://courses.atlas.illinois.edu/spring2016/STAT/STAT200/pt.html
Hypothesized mean
Sample mean
Std error of mean
Degrees of freedom
t-test statistic
p-value
Marengo
Sample size
Sample standard deviation
Hypothesized mean
Sample mean
Std error of mean
Degrees of freedom
t-test statistic
p-value
Step 4 Interpretation
Rule Rocinante
If p≤.05, Reject Ho
if p>.05, Fail to reject Ho
Rocinante
Step 5
Types of Error Interpretation
Type 1 Rej H0 when H0 is true
Business decision?
Type 1
Type 2
Quality Check,Spend
resources on R&D
t-Test
Mileage Roccinate
20 Sample size
0.92729 Sample standard deviation
22 Hypothesized mean
21.6195 Sample mean
0.207 Std error of mean
19 Degrees of freedom
-1.83507 t-test statistic
0.08221 p-value
Mileage Marengo
20 Sample size
0.458802503090497 Sample standard deviation
15 Hypothesized mean
15.161 Sample mean
0.103 Std error of mean
19 Degrees of freedom
1.564 t-test statistic
0.1343 p-value
Business decision?
t-Test
Topspeed
20
5.39815758043037
140
140.970
1.207
19
0.804
0.4313
Topspeed
20
5.14633236801756
210
211.050
1.151
19
0.912
0.3732
H0: µ = 15 km/litre
H0: µ = 210 km/hr
Mileage is 15 km/litre, Reject
Top Speed is 210 km/hr, Reject
Mileage is 15 km/litre, Fail to
Reject
Top Speed is 210 km/hr, Fail
to Reject