EXPERIMENT 9: Implementing T-Test
Objectives:
1. To Understand the concept Of t-test in Statistics.
2. Train students how to apply t test and its Steps.
3. Student will understand why and on what kind of data t-test test will be applied in Statistics.
Outcomes:
1. Students will learn the use of t test s in Statistics.
2. Student will able to perform the t test of Statistics.
3. Students learn how to Analysis and Interprets the Result with help of t test .
1. One Sample t test :
One sample t-test has only one sample test whether sample mean is equal to specified value or not
The one sample t test determines whether the sample means is staisticallly different form a known or
hypothized popultioion mean it is a paramtric test
Procedure
Step 1. Enter the data in spss worksheet
Step 2 .Click on Analyze tehn click on compare mean
Step 3 . Click on smaple on one smaple t test
Youwill get one sample t test dialog box
Step 4 . select the variable thayt you want to test and drag them to test variable box
Step 5 . Click on option in confidence ineterval proceduire box use / input confidence interval default
Step6 .Excute cases analysis by analysis
Step7. Click on continue
Step 8. Click ok and interpret you output
2. Independent Sample T- test
The Independent Sample t-test also called the two sample t-test. It is an inferential statistical test that
determines whether there is a statistically significant difference between the means in two unrelated
groups. The Independent Sample t-test is a parametric test.
𝑃rocedure
Step 1 : Enter the data in worksheet that you want to test.
Step 2 : Click on “Analyze” then click on compare mean.
Step 3 : Click on Independent Sample t-test.
You’ll get a dialogue box.
Step 4 : Select the variable that you want to test and drag them to test variable test.
Step 5 : In grouping variable box drag the variable you divided into groups.
Step 6 : Click “Define group” you will get a window having Group 1 and Group 2. Enter the value that
you have specified in value. For this example (1 for section A, 2 for section B)
Step 7 : Click on continue. If you want to change confidence interval percentage then click on option.
And change it.
Step 8 : Click on continue and then click on OK. Then interpret your calculated result.
NOTE : For making interpretation.
If the value of p (i.e. Sig. (2-tailed) > 0.05 ) , then Null hypothesis is accepted. Otherwise,
rejected.
3. Paired Sample T-test
The paired sample t-test compares two means that are from the same individual object or related units.
The two means typically represents two different times (i.e. before experiment and after experiment) or
two different but related conditions or units.
The purpose of the test is to determine whether there is statistical evidence that the mean difference
paired observation on a particular outcomes is significantly different from zero.
𝐷̄−µ
t= 𝑆
√𝑛
where,
D̄ = sample mean
µ = population mean
S = standard deviation
n = sample size
PROCEDURE
Step 1 : Enter the data in SPSS worksheet that you want to test.
Step 2 : Click on “Analyze”. Then click on compare mean.
Step 3 : Click on paired – sample t test.
You will get paired – sample t test.
NOTE : As you have specified before test and after test variable.
Step 4 : In paired variables ; drag 1st variable (i.e. before test) in variable 1 and another variable (i.e. after
test) in variable 2.
NOTE : Pair column represents the numbers of paired sample t tests to run. You may choose to run
multiple paired sample t tests simultaneously by selecting multiple sets of matched variables.
Step 5 : Click on Option and change confidence interval percentage if required.
Step 6 : Click on Continue and then click on OK. Interpret the results.