Student's t test and variations

28
T test and its variations Dr. S. A. Rizwan, M.D. Public Health Specialist SBCM, Joint Program – Riyadh Ministry of Health, Kingdom of Saudi Arabia

Transcript of Student's t test and variations

Page 1: Student's t test and variations

T test and its variations Dr. S. A. Rizwan, M.D.

Public Health Specialist

SBCM, Joint Program – Riyadh

Ministry of Health, Kingdom of Saudi Arabia

Page 2: Student's t test and variations

Learning objectives

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• Describe the conditions in which this test is used • Describe the assumptions for this test • Describe the steps involved in calculating this test • Interpret the test result • Describe the types of this test

Page 3: Student's t test and variations

Introduction

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• T test, also called Student’s t test

• Introduced in 1908 by a chemist working for the Guinness brewery in Dublin, Ireland

• ‘Student’ was his pen name

Page 4: Student's t test and variations

Applications of t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• Test the single mean in single sample case • Test the equality of two means in double sample case

• Independent samples(Independent t test) • Dependent samples (Paired t test)

• Test the significance of observed correlation coefficient • Test the significance of observed partial correlation coefficient • Test the significance of observed regression coefficient

Page 5: Student's t test and variations

Types / variations

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• One sample t test

• Two sample t test

• Independent samples t test • Equal variance • Unequal variance (Welch’s t test)

• Paired t test

Page 6: Student's t test and variations

Assumptions of independent t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• Independence of groups • Data collected follows a continuous or ordinal scale • Simple random sample • Normal distribution (Reasonably large sample size) • Homogeneity of variance

Page 7: Student's t test and variations

Assumptions of paired t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• Samples are dependent/paired • Data collected follows a continuous or ordinal scale • Simple random sample • Normal distribution (Reasonably large sample size) • Homogeneity of variance

Page 8: Student's t test and variations

Formula for different types of t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 9: Student's t test and variations

One sample t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• To test the null hypothesis that the population mean is equal to a specified value μ0

• Degrees of freedom: n − 1

Page 10: Student's t test and variations

Independent samples t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• Equal sample sizes, equal variance

• Degrees of freedom: 2n − 1

Page 11: Student's t test and variations

Independent samples t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• Equal or unequal sample sizes, equal variance

• Degrees of freedom: n1 + n2 − 1

Page 12: Student's t test and variations

Independent samples t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• Equal or unequal sample sizes, unequal variance

• Welch’s t test

Page 13: Student's t test and variations

Paired t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• Used when the samples are dependent

• Degree of freedom: n - 1

Page 14: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• Recall the general steps

1. Null hypothesis 2. Alternative hypothesis 3. Level of significance 4. Test statistic 5. Critical value 6. Decision & interpretation

Page 15: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 16: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 17: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 18: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 19: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 20: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 21: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 22: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 23: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 24: Student's t test and variations

Steps in performing t test

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 25: Student's t test and variations

What about you?

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

Page 26: Student's t test and variations

Summary

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• With computers, these tests are performed easily

• But it is important to know when to and when not to use them

Page 27: Student's t test and variations

Take home messages

Demystifying statistics! – Lecture 7 SBCM, Joint Program – Riyadh

• Student’s t test is one of the most commonly used tests • Remember the types of t test available • Remember the assumptions for applying the test

Page 28: Student's t test and variations

Thank you! Email your queries to [email protected]