Professional Documents
Culture Documents
Top Top
Mileage speed Mileage speed
Car No. (km/ltr) (km/hr) Car No. (km/ltr) (km/hr) Roccinate
1 21.2 151.9 1 15.04 211.3 Sample size
2 21.79 147.6 2 15.41 207 Sample standard deviation
3 21.87 145.6 3 15.43 206.2 Hypothesized mean
4 22.71 136.1 4 15.92 213.4 Sample mean
5 22.52 139.7 5 15.2 204.2 Std error of mean
6 21.41 146.1 6 15.22 208.7 Degrees of freedom
7 22.71 139.6 7 14.6 200 aapko t-test statistic
8 21.71 143 8 14.41 210.9 p-value
9 19.95 136.4 9 14.79 208.5
10 20.65 146.6 10 14.81 214.2 Marengo
11 22.86 139.9 11 15.61 215.8 Sample size
12 21.12 136.6 12 15.76 215.8 Sample standard deviation
13 22.8 148.5 13 14.97 215.2 Hypothesized mean
14 20.89 143.4 14 14.71 218.7 Sample mean
15 22.49 134.2 15 15.55 208 Std error of mean
16 20.94 140.5 16 15.19 212.2 Degrees of freedom
17 20.37 137.8 17 15.36 219.7 t-test statistic
18 22.72 135.1 18 15.93 216.4 p-value
19 20.54 138.8 19 14.54 205.8
20 21.14 132 20 14.76 209
Mileage Roccinate Topspeed
1 Sample size
2 Sample standard deviation
3.000 Hypothesized mean
Sample mean
4.000 Std error of mean
5 Degrees of freedom
5.000 t-test statistic
6.000 p-value
5 Marengo Topspeed
Sample size
4 Sample standard deviation
3.000 Hypothesized mean
2.000 Sample mean
24.000 Std error of mean
34 Degrees of freedom
34.000 t-test statistic
p-value
32.000
24.000
324.000
Roccinante
Sales Price Mileage Top
Cars (in 1,000 (in lakh speed Cars
(Km/ltr)
units) rupees) (Km/hr)
Rocinante 171.877 6.1 15.8 168.2 Marengo 1
Rocinante 139.796 6.1 12.1 149.6 Marengo 2
Rocinante 178.947 9.9 17 173.4 Marengo 3
Rocinante 140.022 5.8 11.6 170.6 Marengo 4
Rocinante 186.476 10 17.2 175 Marengo 5
Rocinante 192.123 6.5 17.6 173.1 Marengo 6
Rocinante 175.085 5.5 16 184.6 Marengo 7
Rocinante 146.882 8.4 13 175.7 kya lagta hai Marengo 8
Rocinante 202.847 6.6 19.3 166.7 Marengo 9
Rocinante 149.933 8.8 13.3 175.4 Marengo 10
Rocinante 171.579 9.5 15.8 150.9 Marengo 11
Rocinante 201.512 9.2 19.2 140.5 Marengo 12
Rocinante 142.604 8.1 11.7 150.2 Marengo 13
Rocinante 135.158 5.4 11.2 146.2 Marengo 14
Rocinante 107.322 5.6 7.8 151.2 Marengo 15
Rocinante 199.699 6.3 19 143.2 Marengo 16
Rocinante 202.875 5.8 19.7 178.9 Marengo 17
Rocinante 204.406 7.7 19.5 168.2 Marengo 18
Rocinante 107.331 7.2 7.5 164.7 Marengo 19
Rocinante 190.345 8.4 18.1 182.7 Marengo 20
Rocinante 108.419 8.4 7.9 165.7 Marengo 21
Rocinante 150.249 5.7 12.6 137 Marengo 22
Rocinante 155.882 5.5 12.9 173.9 Marengo 23
Rocinante 100.98 8.4 7.6 165.1 Marengo 24
Rocinante 182.679 5.6 16.7 160.1 Marengo 25
Rocinante 166.752 9.9 15.5 155.6 Marengo 26
Rocinante 121.561 6.2 9.5 155.4 Marengo 27
Rocinante 174.256 9.9 16.3 161.9 Marengo 28
Rocinante 119.018 6.5 9.1 146.8 Marengo 29
Rocinante 169.842 7.1 15.3 149.5 Marengo 30
Rocinante 198.311 9.6 19.1 146.5 Marengo 31
Rocinante 204.875 5.8 19.4 178.9
Rocinante 119.561 6.2 9.4 175.4
Rocinante 203.875 5.9 19.4 175.9
Rocinante 118.561 6.1 9.4 165.4
Marengo
Sales Price Mileage Top
(in 1,000 (in lakh speed
(Km/ltr)
units) rupees) (Km/hr)
20.896 42.5 9.3 199.4
31.048 36 9.7 235.2
29.904 54.7 16.6 240.8
28.792 42.7 11.7 232.5
16.776 44.9 13.7 188.8
18.928 35.5 9.6 184.2
22.776 51.3 13.7 207.7
36.824 30.4 12.6 249.5
22.216 38.4 16.2 175.8
35.456 32.2 9.6 245.6
28.576 59.4 11.3 223.3
33.648 50.8 13.6 240
33.44 57.5 13.5 250
34.912 44.6 11.1 247.4
24.016 34.6 14.1 192
20.992 56.4 13.4 201.2
21.696 41.4 12.8 193.3
17.832 53.7 16 202
25.624 44.8 12.7 208.9
21.92 32.4 13.6 176.9
24.792 40.9 11.6 218.2
22.256 44.1 11.4 190
15.488 46.6 16.3 176.8
21.64 31.4 14.5 178.9
23.264 54.7 14.3 192.3
19.328 37.9 9.4 184.1
27.216 52.9 15.3 240.3
23.096 42.7 15 192.1
17.824 54.9 13.5 199
19.144 44 11.8 181.1
21.6 42.2 9.3 181.2
Question : A reputed mobile company claims that time taken to charge its phone is 2
Method 1
Sample Time (min) Dummy Step 1
1 32 0 State the null and Alternate Hypothesis
2 32 0
3 31
4 33 Step 2
5 32 Level of significance
6 28
7 31 Step 3
8 26 Decide test to be used (z/t )
9 27 Calculate test statistics
10 28 Calculate p values
11 31 http://courses.atlas.illinois.edu/spring2016/STAT/STAT200/pt.html
12 31
13 29
14 29
15 29
16 27
17 33 Step 4
18 30 Rule
19 29 If p≤.05, Reject Ho
20 28 if p>.05, Fail to reject Ho
21 28
22 31
23 28 Step 5
24 27 Types of Error
25 26 Type 1 Rej H0 when H0 is true
26 30 Type 2 Fail to rej Ho when H0 is false
27 26
28 31
29 28 Type 1
Type 2
ab shayad ho jayega
n to charge its phone is 25 min. Test the claim at 5% los.
Method 1
5% level of significance
Hypothesis test
Sample size 29
Sample standard deviation 2.13 stdev.s
Hypothesized mean 25
Sample mean 29.34 average
Std error of mean (SE) 0.39 standard dev/sqrt of sample size
Degrees of freedom 28 n-1
t-test statistic 11.00567106724 (sample mean-hypo mean)/s.e.
p-value 1.12E-11 *0.000
Interpretation
Interpretation
Mean time taken to charge is 25 min, which we rejected
Mean time taken to charge was not 25 min, but we fail to reject (we accepted)
Business decision?
Send back mobiles for quality check
Launch for sales
t-Test: Two-Sample Assuming Unequal Variances
Q Regression Equation
Q Calculate Sales for bottle with data from table for design A
Sales=
Design A Design B Q Calculate the impact on sales if price is increased by 10 rs. Compare s
Price 100 70 Design A
Adv 5 6 Regression Equation
SP 2 3 old sales=
Cost 60 50 new sales=
Change=
ation
P value Significance?
or design A
rice is increased by 10 rs. Compare sales for two different designs of bottles.
Design B
Reg. Equation 2+0.17*price+0.24*sales promotion
old sales=
new sales=
Change=
ignificant variables and compare the r and adjusted r square
Significant variables
SUMMARY OUTPUT
Regression Statistics
Multiple R 0.89959
R Square 0.809262
Adjusted R 0.757242
Standard E 1.160984
Observatio 15
ANOVA
df SS MS F Significance F
Regression 3 62.90662 20.96887 15.55689 0.000284909 p<.05, sign
Residual 11 14.82671 1.347883
Total 14 77.73333
Coefficients
Standard Error t Stat P-value p<.05, sign
Intercept 80.99781 2.05497 39.41557 3.397E-13 p<.05, sig
Price 1.050029 0.297702 3.527117 0.004739 sig
Advertising 3.002462 0.609407 4.926858 0.000452 sig
Sales prom-0.104658 0.691759 -0.151293 0.882483 not sign
Question : A reputed mobile company claims that time taken to reach charge its phon
Method 1
Sample Time (min) Dummy Step 1
1 32 0 State the null and Alternate Hypothesis
2 32 0
3 31
4 33 Step 2
5 32 Level of significance
6 28
7 31 Step 3
8 26 Decide test to be used (z/t )
9 27 Calculate test statistics
10 28 Calculate p values
11 31 http://courses.atlas.illinois.edu/spring2016/STAT/STAT200/pt.html
12 31
13 29
14 29
15 29
16 27
17 33 Step 4
18 30 Rule
19 29 If p≤.05, Reject Ho
20 28 if p>.05, Fail to reject Ho
21 28
22 31
23 28 Step 5
24 27 Types of Error
25 26 Type 1 Rej H0 when H0 is true
26 30 Type 2 Fail to rej Ho when H0 is false
27 26
28 31
29 28
aken to reach charge its phone is 25 min. Test the claim at 5% los.
Method 1
5% level of significance
Hypothesis test
Sample size 29
Sample standard deviation 2.13 stdev.s
Hypothesized mean 25
Sample mean 29.34 average
Std error of mean (SE) 0.39 standard dev/sqrt of sample size
Degrees of freedom 28 n-1
t-test statistic 11.00567106724 (sample mean-hypo mean)/s.e.
p-value 1.12E-11 *0.000
Interpretation
Interpretation
Mean time taken to charge is 25 min, which we rejected
Mean time taken to charge was not 25 min, but we fail to reject (we accepted)
Business decision?