T test
-
Upload
abdelrahman-alkilani -
Category
Science
-
view
19 -
download
0
Transcript of T test
![Page 1: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/1.jpg)
RAK college of NursingRAK Medical and Health Sciences University
Seminar on: T-test, independent and paired samples
Course: Statistics for health professionals
Prepared by:
Abdelrahman Alkilani- 15906012Sultan Sultan- 15906013
Submitted to Dr. Maragatham Kannan, Associate professor
Date of submission: 15/11/2015
![Page 2: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/2.jpg)
Objectives
By the end of this seminar, you’ll be able to: Define T-test Discuss the merits and demerits of t-test Identify the independent t-test and discuss when
to use it. Identify the paired t-test and discuss when to use
it. Use the correct formulas of t-test Use the t-test through SPSS
![Page 3: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/3.jpg)
T-test
The t-test assesses whether the means of two groups are statistically different from each other
![Page 4: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/4.jpg)
Merits and demerits
Merits:– It reduces the possibility of guising the correct answer .– It covers greater amount of contents than matching
types test. Demerits
– it is only appropriate for questions that can be answered by short responses
– There is a difficult in scoring when the questions are not prepared properly and clearly
![Page 5: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/5.jpg)
Independent t-test
It is a parametric test used to determine if a difference exists in the means of two groups on a particular characteristic.
![Page 6: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/6.jpg)
Independent t-test
Used when:– The grouping variables is dichotomous– The variable measuring the characteristics of
interest is normally distributed.– The variable measuring the characteristic of
interest in interval or ratio– The measure of each value of the variable, which
measures the characteristic of interest, constitute and independent random sample
![Page 7: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/7.jpg)
Computing the independent t-test
Need two t-values:– Calculated t-value– Critical t-value
If calculated t-value is greater than critical t-value, then reject the null hypothesis.
![Page 8: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/8.jpg)
Computing the independent t-test
Example:In a study, we want to know whether smokers and
non-smokers have equal brain sizes.
![Page 9: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/9.jpg)
n Non-smokers Smokers
1 7.3 4.2
2 6.5 4.0
3 5.2 2.6
4 6.3 4.9
5 7.0 4.4
6 5.9 4.4
7 5.2 5.5
8 5.0 5.1
9 4.7 5.1
10 5.7 3.2
11 5.7 3.9
12 3.3 3.2
13 5.0 4.9
14 4.6 4.3
15 4.8 4.8
16 3.8 2.4
17 4.6 5.5
18 5.5
19 3.7
![Page 10: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/10.jpg)
Computing the independent t-test
1. State the null and alternative hypothesis.
H0 : There will be no difference in the means of the two groups.“smokers and non-smokers have equal brain size”
HA : smokers and non-smokers have unequal brain size
![Page 11: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/11.jpg)
Computing the independent t-test
![Page 12: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/12.jpg)
Computing the independent t-test
![Page 13: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/13.jpg)
![Page 14: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/14.jpg)
Computing the independent t-test
As the calculated t-value (3.07) greater than critical t-value (2.042), the null hypothesis can be rejected.
![Page 15: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/15.jpg)
Independent t-test using SPSS
![Page 16: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/16.jpg)
Independent t-test using SPSS
1- check if it is normally distributed
![Page 17: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/17.jpg)
A- Put the independent variables in the factor listB- Put the dependent variable in the dependent listC- Click on “Plots” and choose “histogram”
![Page 18: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/18.jpg)
A- in the output window, double click on the histograms of the independent variables. The choose the icon of curve
![Page 19: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/19.jpg)
A- in the output window, double click on the histograms of the independent variables. The choose the icon of curve
![Page 20: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/20.jpg)
2- Compare the means of the independent variable
![Page 21: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/21.jpg)
A- Put the independent variables as the grouping variablesB- Define the groups as entered in the SPSS.E.g. Gender; Male=M, Female=F
![Page 22: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/22.jpg)
-Sig = 0.679-alpha= 0.05-Sig > alpha. So, we will reject the null hypothesis
![Page 23: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/23.jpg)
Paired t-test
The measurements of the same variable at two different points are compared.
It can be measured at the same time on two different people who are matched on some condition (e.g. age, gender, twins).
![Page 24: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/24.jpg)
Paired t-test
Used when:– There are two measurements of characteristic of
interest.– The two measures that are compared are
normally distributed or at least 30 pairs.– The measurement scale is either interval or ratio.
![Page 25: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/25.jpg)
Computing the paired t-test
Need two t-values:– Calculated t-value– Critical t-value
If calculated t-value is greater than critical t-value, then reject the null hypothesis.
![Page 26: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/26.jpg)
Computing the paired t-test
Pre post Difference (D)
Difference 2
1 7 6 36
2 6 4 16
1 8 7 49
Sum=17 Sum = 101
![Page 27: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/27.jpg)
Computing the paired t-test
![Page 28: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/28.jpg)
Computing the paired t-test
![Page 29: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/29.jpg)
Computing the paired t-test
Degree of freedom = n-1 = 2
Alpha = 0.05
Critical t from the t- table = 2.92
![Page 30: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/30.jpg)
Computing the paired t-test
Calculated t > critical t 6.425 > 2.92
We will reject the null hypothesis. So, there is a difference between pre and post
![Page 31: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/31.jpg)
Paired test using SPSS
![Page 32: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/32.jpg)
1- check the normal distribution the same as we did in the independent variables
![Page 33: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/33.jpg)
1- check the paired sample t-test
![Page 34: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/34.jpg)
Paired test using SPSS
As the sig. < alpha
0.023 <0.05
Null hypothesis will be accepted
![Page 35: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/35.jpg)
Summary
The t-test assesses whether the means of two groups are statistically different from each other
Independent t- test is to determine if a difference exists in the means of two groups on a particular characteristic.
Paired samples t-test is a measurements of the same variable at two different points are compared
![Page 36: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/36.jpg)
Summary
To calculate t-test, we need two t-values:– Calculated t-value– Critical t-value
If calculated t-value is greater than critical t-value, then reject the null hypothesis.
In SPSS:– analyze for normal distribution– Perform the test– If the sig < alpha value, null hypothesis will be accepted
![Page 37: T test](https://reader035.fdocuments.in/reader035/viewer/2022062523/58f9b1121a28aba02f8b4603/html5/thumbnails/37.jpg)
Reference
Stacey B., Laurel S. (1st edtion). Statistics for Nursing and Allied Health