T Test
T Test
Seminar presented by
SAYYED HEENA RIYAZ
&
SHAIKH QAMRUNNISA ABDUL
WAHID
MSC –I MICROBIOLOGY
(QUANTITATIVE BIOLOGY)
CONTENT:
1. Biostatistic
a. Defination
b. History
c. population
d. sample
e. null hypothesis
2. t-test
a. defination
b. history
3. Types of t-test
a. t-test for two small samples
b. t-test for two large samples
c. t-test for paired samples
4. Summary
5. previous years questions.
BIOSTATISTIC:
Biostatistics is the application of statistic to a wide range of topics in biology.
History:
Ronald Fisher developed several basic statistical methods in support of his
work studying the field experiments.
Ronald Fisher
Sewall G. Wright
POPULATION:
NULL HYPOTHESIS:
There is no significance difference between population mean and sample
mean.
t-test:
A t-test is a statistic that checks if two means are relaibly
different from each other.
t-test findout significantly difference exists between two
groups of data.
HISTORY:
William Sealy
Gosset
Types of t-test:
Where,
• X1 = mean of first sample = or or
X2 = mean of second sample= or or
) )
S12 = varience of first sample = or or
)
) )
)
2
Degrees of freedom= (n1+n2-2)
EXAMPLE-1:
Q-The following data relate to the days to flowering in two varieties of
mungbeans , G-65 &PS-16.Determine whether two means are significantly
different.
G-65 PS-16
n 30 35
mean 32 38
varience 9.62 14.23
SOLUTION:
Null hypothesis :There there is no significant difference between mean days to flowering in
both the varieties.
x1-x2
t= Where, Sd =
Sd
Sd =
x1-x2
t=
Sd
t=
Sd=
t = 7.06
Sd= 0.32
Sd= 0.72
Sd= 0.84
SOLUTION:
Null hypothesis: there is no significance difference between two mean no. of tomatoes
per plant in both the varieties.
Variety A: X =∑f1x1/∑f1 = 604/50 =
1
x1 f1 f1x1 12.08
6 2 36 72 12 =
7 2 49 98 14 =
8 4 64 256 32 =
9 4 81 324 36 = 9.03
10 4 100 400 40
11 3 121 363 33
12 5 144 720 60
14 7 196 1372 98
15 4 225 900 60
Variety B:
2
x2 f2 x2f2
= 696/50
7 1 49 49 7 = 13.92
8 3 64 192 24
9 4 81 324 36
=
10 3 100 300 30
=
11 4 121 484 44
=13.91
12 3 144 432 36
13 4 169 676 52
14 5 196 980 70
15 7 225 1575 105
16 3 256 768 48
17 3 289 867 51
18 3 324 972 54
19 3 361 1083 57
20 2 400 800 40
21 2 441 882 42
Total 10384 696
x1-x2
Sd =
t=
Sd
12.08-13.92
t=
Sd = 0.67
-1.84
t = 0.67
9.03+13.91
Sd = 50
t = 2.74
Sd = 0.45
Sd = 0.67
• X1 = mean of first sample = or or
X2 = mean of second sample= or or
)
)
=
n1+n2-2
n1+n2-2
34.6
X∑x =34.6 ∑x =121.52 ∑x2=30.7 ∑x22=95.17
2
1 =1 = 1 = 3.46
10
X2 = = 30.7 = 3.07
10
) )
Sd = +
n1+n2-2
)
Sd = +
10+10-2
Sd = +
18
Sd = -119.71 +
18
x1-x2 n1n2
t=
Sd n1+n2
Sd
+
=
3.46-3.07 10*10
18 t=
0.38 10+10
Sd = 18 t=
0.39
0.38
100
20
t= 1.02 5
Sd =
t= 1.02*2.23
Sd = 0.38 t=
2.27
Degrees of freedom= (n1+n2-2) = 10+10-2
=18
Conclusion:
The calculated value of t(2.27) is less than the tabulated value (2.87) for
18 degree of freedom at 1% level of significance. hence the null
hypothesis stating that there is no significance difference between the two
seed weigth of plant get accepted at P=0.01
T-TEST FOR PAIRED SAMPLES:
Tests the mean of one group twice.
Examples:
Testing the balance before and after drinking.
Testing IQ level before and after the training program .
d√n
t=
Sd or t= d
SEd
Where:
∑d
d = n , d = the mean of the difference between the paired values.
∑d2-(∑d)2 13771.22
Sd Sd
n 9
= n-1 =
Sd 28434.76-(382.93)2/10 Sd 1530.14
= 10-1
=
Sd 39.12
Sd 28434.7-146635.38/10
=
= 9
28434.7-14663.53
Sd
9
=
t= d√n
Sd
t= 38.29√10
39.12
38.29*3.16
t=
39.12
120.99
t=
39.12
t= 3.10
Degree of freedom= n-1 = 10-1 =9
Since the calculated t value (3.10) is less then the tabulated t value (3.25) for
90 of freedom at 1% level of significance. It is clearly indicates thet the two
means of rain fall at two places are very much similar hence the null
hypothesis stating that there is no significance difference in the rainfall of the
two places A and B get accepted at P=0.010 .
A QUICK
REVIEW
t-test type Paired large samples small samples
What it is?? Tests the mean Sample Sample consisting of upto 30
of one group consisting of observations or items is called as
twice. more than 30 small samples.
observations or
items is called as
large samples.
d√n x1-x2 x1-x2
Formula of t t= S t= t= n1n2
d Sd Sd n1+n2
(n1+n2-2) (n1+n2-2)
Degree of freedom n-1
d.f.
THANK YOU