Vous êtes sur la page 1sur 12

T-Test: Two-Sample Assuming Unequal Variances

S.No Drug 1= X1Drug2=X2


1 10 12
2 8 10
3 12 7
4 14 6
5 7 12
6 15 11
7 13 12
8 11
t-Test: Two-Sample

10 12
Mean 11.42857 9.666667
Variance 8.952381 6.666667
Observatio 7 6
Hypothesiz 0
df 11
t Stat 1.139676
P(T<=t) one0.139315
t Critical o 1.795885
P(T<=t) tw 0.27863
t Critical t 2.200985

t stat value is less than t critical value, which shows that null hypothesis is accepted.
Q) Vishal foods Ltd. is a leading manufacturer of biscuits. The company has launched a new brand in four metros; Delhi, Mum
Retail price per pack of biscuits across cities
Stores Delhi Mumbai Kolkata Chennai
1 22 19 18 21
2 22.5 19.5 17 20
3 21.5 19 18.5 21.5
4 22 20 17 20
5 22.5 19 18.5 21
6 21.5 21 17 20
SUM 132 117.5 106 123.5
Average 22 19.583333 17.666667 20.583333
Variance 0.2 0.6416667 0.5666667 0.4416667

Apply One-way ANOVA using excel and interpret the results as to accept or reject null hypothesis.
Ans:
Anova: Single Factor

SUMMARY
Groups Count Sum Average Variance
Delhi 6 132 22 0.2
Mumbai 6 117.5 19.58333 0.641667
Kolkata 6 106 17.66667 0.566667
Chennai 6 123.5 20.58333 0.441667

ANOVA
Source of Variation SS df MS F P-value F crit
Between Gr 59.70833 3 19.90278 43.03303 6.54E-09 3.098391
Within Gro 9.25 20 0.4625

Total 68.95833 23

F value is greater than F critical value, which shows that null hypothesis is rejected.

Q) A company select 8 salesman at random and their sales figures for the previous month are recorded, they undergo a training
Previous Following month
75 77
90 101
94 93
95 92
100 105
90 88
70 76
64 68

Ans:
t-Test: Paired Two Sample for M

Column1 75 77
Mean 86.14286 89
Variance 185.4762 172.6667
Observatio 7 7
Pearson Co0.928529
Hypothesiz 0
df 6
t Stat -1.48796
P(T<=t) one0.093664
t Critical o 1.94318
P(T<=t) two0.187328
t Critical t 2.446912
t-stat value is less than t-critical value, which shows that null hypothesis is accepted.

Q) The following are number of words per minute, which a secretary typed on 3 different type writers, test wether the d
Type writeType writeType writer 3
71 74 70
78 76 72
70 72 66
69 70 64
77 69 63
72 68 67
65 72 69
69 73 70

Ans:
Anova: Single Factor

SUMMARY
Groups Count Sum Average Variance
71 7 500 71.42857 21.61905
74 7 500 71.42857 7.285714
70 7 471 67.28571 10.57143

ANOVA
Source of VariationSS df MS F P-value F crit
Between G 80.09524 2 40.04762 3.043426 0.072683 3.554557
Within Gr 236.8571 18 13.15873

Total 316.9524 20

F value is less than F-critical value, which shows that null hypothesis is accepted.
and in four metros; Delhi, Mumbai, Kolkata and Chennai. After one month, the company realizes that there is difference in retail price per
ecorded, they undergo a training course, devised by a business consultant and their sales figure for the following month are compared in fol
type writers, test wether the difference among the mean of 3 samples can be attributed to chance
e is difference in retail price per pack of biscuits across cities. Before the launch, Company had promised its employees and newly appointe
wing month are compared in following table. Has the training caused an improvement in salesman’s ability?
s employees and newly appointed retailer that the biscuits would be sold at a uniform price in the Country. The difference in the price can ta
The difference in the price can tarnish the image of the company. In order to make a quick inference, the company collected data about the p
mpany collected data about the price from six randomly selected stores across the four cities. Based on the sample information, the price pe
sample information, the price per pack of the biscuit (in ₹) is given in the table:

Vous aimerez peut-être aussi