Vous êtes sur la page 1sur 2

T Test Formula

T Test is often called Student's T test in the name of its founder "Student". T test is used to compare two different set of
values. It is generally performed on a small set of data. T test is generally applied to normal distribution which has a small
set of values. This test compares the mean of two samples. T test uses means and standard deviations of two samples to
make a comparison. The formula for T test is given below:

Where,
x1x1 = Mean of first set of values
x2x2 = Mean of second set of values
S1 = Standard deviation of first set of values
S2 = Standard deviation of second set of values
n1 = Total number of values in first set
n2 = Total number of values in second set.

The formula for standard deviation is given by:

Where,
x = Values given
xx = Mean
n = Total number of values.

T Test Problems 1
7 0.5 0.25
Few problems based on T test are given below: 2 -4.5 20.25
Solved Examples 9 2.5 6.25
8 1.5 2.25
Question 1: Find the t-test value for the following two sets of
values: (x1x1)2x1x12 =
7, 2, 9, 8 and 1, 2, 3, 4? 29

Solution: Standard deviation for first set of data:


Formula for mean: S1 = 3.11
xx = xnxn Calculation for second set:
Formula for standard deviation: Number of terms in second set:
n2 = 4
S=(xx)2n1Sxx2n1
Mean for second set of data:
Calculation for first set: x2x2 = 2.5
Number of terms in first set: Construct the following table for standard deviation:
n1 = 4
x2x2x2x
Mean for first set of data: x2 (x2x2)2x2x22
2
x1x1 = 6.5
1 -1.5 2.25
Construct the following table for standard deviation: 2 -0.5 0.25
x1 x1x1x1x (x1x1)2x1x12 3 0.5 0.25
4 1.5 2.25 x2x2 = 5
(x2x2)2x2x22 = Construct the following table for standard deviation:
5
x2x2x2x
x2 (x2x2)2x2x22
2
Standard deviation for first set of data:
2 -3 9
S2 = 1.29 4 -1 1
Formula for t-test value: 6 1 1
tt = x1x2S21n1+S22n2x1x2S12n1S22n2 8 3 9
(x2x2)2x2x22 =
tt = 6.52.59.6674+1.66746.52.59.66741.6674 20

t = 2.3764 = 2.38 (approx)


Standard deviation for first set of data:
Question 2: Find the t-test value for the following two sets of S2 = 2.582
data: Formula for t-test value:

x1 9 10 11 12 tt = x1x2S21n1+S22n2x1x2S12n1S22n2
x2 2 4 6 8
tt = 10.551.6674+6.667410.551.66746.6674

Solution: t = 3.8105 = 3.81 (approx)


Formula for mean:
xx = xnxn
Formula for standard deviation:

SS = (xx)2n1xx2n1

Calculation for first set:


Number of terms in first set:
n1 = 4
Mean for first set of data:
x1x1 = 10.5
Construct the following table for standard deviation:
x1x1x1x
x1 (x1x1)2x1x12
1
9 -1.5 2.25
10 -0.5 0.25
11 0.5 0.25
12 1.5 2.25
(x1x1)2x1x12
=5

Standard deviation for first set of data:


S1 = 1.291
Calculation for second set:
Number of terms in second set:
n2 = 4
Mean for second set of data:

Vous aimerez peut-être aussi