SlideShare a Scribd company logo
1 of 13
Download to read offline
Student’s t-Test
-PIE TUTORS
Your Statistical Partner

www.pietutors.com
…committed to deliver 24/7…
Agenda
• Background
• Different versions of t-test
• Main usage of t-test
• t-test v/s z-test
• Assumptions of T-test
• Distribution of t-test and normal distribution
• Case Studies
Background
• Introduced in 1908 by William Sealy Gosset for the quality control of
beer.
• Gosset published his mathematical work under the pseudonym
“Student”.
• It can be used to determine if two sets of data are significantly
different from each other, and is most commonly applied when the
test statistic would follow a normal distribution if the value of a
scaling term in the test statistic were known.
Different Version of T-test
• Single sample t – we have only 1 group; want to test against a
hypothetical mean.
• Independent samples t – we have 2 means, 2 groups; no relation
between groups, e.g., people randomly assigned to a single group.
• Dependent t – we have two means. Either same people in both groups,
or people are related, e.g., husband-wife, left hand-right hand, hospital
patient and visitor.
Main Usage of t-test
Among the most frequently used t-tests are:
• A one-sample location test of whether the mean of a population has a
value specified in a null hypothesis.
• A two-sample location test of the null hypothesis that the means of two
populations are equal. All such tests are usually called Student's t-tests,
though strictly speaking that name should only be used if the variance of
the two populations are also assumed to be equal; the form of the test
used when this assumption is dropped is sometimes called Welch’s t-test.
These tests are often referred to as "unpaired" or "independent
samples" t-tests, as they are typically applied when the statistical units
underlying the two samples being compared are non-overlapping.
Main Usage of t-test
• A test of the null hypothesis that the difference between two responses
measured on the same statistical unit has a mean value of zero. For
example, suppose we measure the size of a cancer patient's tumor
before and after a treatment. If the treatment is effective, we expect the
tumor size for many of the patients to be smaller following the
treatment. This is often referred to as the "paired" or "repeated
measures" t-test: see paired difference test.
• A test of whether the slope of a regression line differs significantly
from 0.
Z-test
• We can use z-test to test hypotheses about means for large samples
(N>100)
( X  X )2

N 1
N

• Consider

( X  )
zM 
est. M

• Then

H 0 :   10; H1 :   10; s X  5; N  200

• If

est. M

est. M

sX


N

sX
5
5



 .35
N
200 14.14

(11  10)
X  11  z 
 2.83; 2.83  1.96  p  0.05
0.35
T-test
We use t-test when the sample size is small (N<100, the usual case) and the population
variance is unknown (the usual case).

Degrees of Freedom
The degrees of freedom for t-distribution are always a simple function of the sample
size, e.g., (N-1).
One way of explaining df is that if we know the total or mean, and all but one score, the
last (N-1) score is not free to vary.
Assumptions
• Based on assumptions of normality and homogeneity of variance.
• Tested using any statistical package.
• As long as the samples in each group are large and nearly equal, the ttest is robust, that is, still good, even thought assumptions are not met.
T-Distribution
The t distribution is a short, fat relative of the normal. The shape of t depends on its df. As N becomes infinitely
large, t becomes normal.
Case Studies
One Sample t-test

• It is used in measuring whether a sample value significantly differs from a hypothesized value.
For example, a research scholar might hypothesize that on an average it takes 3 minutes for
people to drink a standard cup of coffee. He conducts an experiment and measures how long it
takes his subjects to drink a standard cup of coffee. The one sample t-test measures whether
the mean amount of time it took the experimental group to complete the task varies
significantly from the hypothesized 3 minutes value.

Paired-Samples t-test

• It is used in comparing the means of two variables for a single group. This test computes the
differences between values of two variables for each case and tests whether the average differs
from 0. For example, in a study on impact of a particular diet on weight, all patients are
measured at the beginning of the study, prescribed a fixed diet, and measured again. Thus each
subject has two measures, often called before and after measures.

Independent Samples t-test

• The independent-Samples t-test procedure compares means for two groups of cases. Patients
with high blood pressure are randomly assigned to a placebo group and a treatment group. The
placebo subjects receive an inactive pill, and the treatment subjects receive a new drug that is
expected to lower blood pressure. The two-sample t test is used to compare the average blood
pressures for the placebo group and the treatment group.
References
• http://pic.dhe.ibm.com/infocenter/spssstat/v20r0m0/topic/com.ibm.
spss.statistics.help/idh_ttin.htm
• http://en.wikipedia.org/wiki/Student%27s_t-test
Thank You
PIE TUTORS is a Statistical Consulting Company based in India. Visit www.pietutors.com to
learn more about us and our services.

PIE TUTORS
Your Statistical Partner
www.pietutors.com
admin@pietutors.com

More Related Content

What's hot (20)

NULL AND ALTERNATIVE HYPOTHESIS.pptx
NULL AND ALTERNATIVE HYPOTHESIS.pptxNULL AND ALTERNATIVE HYPOTHESIS.pptx
NULL AND ALTERNATIVE HYPOTHESIS.pptx
 
Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
Test of significance
Test of significanceTest of significance
Test of significance
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
The t test
The t testThe t test
The t test
 
Statistical tests of significance and Student`s T-Test
Statistical tests of significance and Student`s T-TestStatistical tests of significance and Student`s T-Test
Statistical tests of significance and Student`s T-Test
 
Tests of significance
Tests of significanceTests of significance
Tests of significance
 
Tests of Significance: The Basics Concepts
Tests of Significance: The Basics ConceptsTests of Significance: The Basics Concepts
Tests of Significance: The Basics Concepts
 
Analysis of variance (anova)
Analysis of variance (anova)Analysis of variance (anova)
Analysis of variance (anova)
 
Parametric tests
Parametric  testsParametric  tests
Parametric tests
 
{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptx
 
Goodness Of Fit Test
Goodness Of Fit TestGoodness Of Fit Test
Goodness Of Fit Test
 

Viewers also liked

Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt finalpiyushdhaker
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testShakehand with Life
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Dr Bryan Mills
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaQasim Raza
 
Dissolution f1 and f2 Analysis and IVIVC
Dissolution f1 and f2 Analysis and IVIVCDissolution f1 and f2 Analysis and IVIVC
Dissolution f1 and f2 Analysis and IVIVCCipla Pharmaceuticals
 
Sales budget ,forcasting and control
Sales budget ,forcasting and controlSales budget ,forcasting and control
Sales budget ,forcasting and controljack99
 
Pharmacokinetics ppt
Pharmacokinetics pptPharmacokinetics ppt
Pharmacokinetics pptNITISH SHAH
 
Industrial relations
Industrial relations Industrial relations
Industrial relations Geeno George
 

Viewers also liked (15)

Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
 
T test
T testT test
T test
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anova
 
Pradip ppt
Pradip pptPradip ppt
Pradip ppt
 
Chi square test
Chi square test Chi square test
Chi square test
 
Diffusion ppt ak
Diffusion ppt akDiffusion ppt ak
Diffusion ppt ak
 
Dissolution f1 and f2 Analysis and IVIVC
Dissolution f1 and f2 Analysis and IVIVCDissolution f1 and f2 Analysis and IVIVC
Dissolution f1 and f2 Analysis and IVIVC
 
Chi square test
Chi square testChi square test
Chi square test
 
Diffusion
DiffusionDiffusion
Diffusion
 
Sales budget ,forcasting and control
Sales budget ,forcasting and controlSales budget ,forcasting and control
Sales budget ,forcasting and control
 
Pharmacokinetics ppt
Pharmacokinetics pptPharmacokinetics ppt
Pharmacokinetics ppt
 
Chi square test
Chi square testChi square test
Chi square test
 
Industrial relations
Industrial relations Industrial relations
Industrial relations
 

Similar to Student's T-Test (20)

T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethics
 
Parametric test
Parametric testParametric test
Parametric test
 
Research methodology
Research methodologyResearch methodology
Research methodology
 
The t test
The t testThe t test
The t test
 
T‑tests
T‑testsT‑tests
T‑tests
 
tests of significance
tests of significancetests of significance
tests of significance
 
The t test mean comparison 1
The t test mean comparison 1The t test mean comparison 1
The t test mean comparison 1
 
Amrita kumari
Amrita kumariAmrita kumari
Amrita kumari
 
Summary of statistical tools used in spss
Summary of statistical tools used in spssSummary of statistical tools used in spss
Summary of statistical tools used in spss
 
Testing of hypothesis.pptx
Testing of hypothesis.pptxTesting of hypothesis.pptx
Testing of hypothesis.pptx
 
T-Test
T-TestT-Test
T-Test
 
satatistics Presentation.pptx
satatistics Presentation.pptxsatatistics Presentation.pptx
satatistics Presentation.pptx
 
Ttest
TtestTtest
Ttest
 
Parametric Test
Parametric TestParametric Test
Parametric Test
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
1 ANOVA.ppt
1 ANOVA.ppt1 ANOVA.ppt
1 ANOVA.ppt
 
Anova, ancova
Anova, ancovaAnova, ancova
Anova, ancova
 
t-test Parametric test Biostatics and Research Methodology
t-test Parametric test Biostatics and Research Methodologyt-test Parametric test Biostatics and Research Methodology
t-test Parametric test Biostatics and Research Methodology
 
T test
T testT test
T test
 
One Sample t test.pptx
One Sample t test.pptxOne Sample t test.pptx
One Sample t test.pptx
 

More from COSTARCH Analytical Consulting (P) Ltd.

More from COSTARCH Analytical Consulting (P) Ltd. (14)

Hospitality Analytics: Learn More About Your Customers
Hospitality Analytics: Learn More About Your CustomersHospitality Analytics: Learn More About Your Customers
Hospitality Analytics: Learn More About Your Customers
 
Dedh Ishqia: Social Sentiments
Dedh Ishqia: Social SentimentsDedh Ishqia: Social Sentiments
Dedh Ishqia: Social Sentiments
 
Karle Pyaar Karle: Social Sentiments
Karle Pyaar Karle: Social SentimentsKarle Pyaar Karle: Social Sentiments
Karle Pyaar Karle: Social Sentiments
 
Logistic Regression Analysis
Logistic Regression AnalysisLogistic Regression Analysis
Logistic Regression Analysis
 
Dyadic Data Analysis
Dyadic Data AnalysisDyadic Data Analysis
Dyadic Data Analysis
 
Sexiest of the Sexiest Job Profile: Sports Analyst
Sexiest of the Sexiest Job Profile: Sports AnalystSexiest of the Sexiest Job Profile: Sports Analyst
Sexiest of the Sexiest Job Profile: Sports Analyst
 
Structural Equation Modelling (SEM) Part 3
Structural Equation Modelling (SEM) Part 3Structural Equation Modelling (SEM) Part 3
Structural Equation Modelling (SEM) Part 3
 
Functional Data Analysis
Functional Data AnalysisFunctional Data Analysis
Functional Data Analysis
 
Within and Between Analysis (WABA).
Within and Between Analysis (WABA).Within and Between Analysis (WABA).
Within and Between Analysis (WABA).
 
Digital Marketing
Digital MarketingDigital Marketing
Digital Marketing
 
Structural Equation Modelling (SEM) Part 2
Structural Equation Modelling (SEM) Part 2Structural Equation Modelling (SEM) Part 2
Structural Equation Modelling (SEM) Part 2
 
Structural Equation Modelling (SEM) Part 1
Structural Equation Modelling (SEM) Part 1Structural Equation Modelling (SEM) Part 1
Structural Equation Modelling (SEM) Part 1
 
Data mining and its applications!
Data mining and its applications!Data mining and its applications!
Data mining and its applications!
 
Approaches to the_analysis_of_survey_data
Approaches to the_analysis_of_survey_dataApproaches to the_analysis_of_survey_data
Approaches to the_analysis_of_survey_data
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 

Recently uploaded (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

Student's T-Test

  • 1. Student’s t-Test -PIE TUTORS Your Statistical Partner www.pietutors.com …committed to deliver 24/7…
  • 2. Agenda • Background • Different versions of t-test • Main usage of t-test • t-test v/s z-test • Assumptions of T-test • Distribution of t-test and normal distribution • Case Studies
  • 3. Background • Introduced in 1908 by William Sealy Gosset for the quality control of beer. • Gosset published his mathematical work under the pseudonym “Student”. • It can be used to determine if two sets of data are significantly different from each other, and is most commonly applied when the test statistic would follow a normal distribution if the value of a scaling term in the test statistic were known.
  • 4. Different Version of T-test • Single sample t – we have only 1 group; want to test against a hypothetical mean. • Independent samples t – we have 2 means, 2 groups; no relation between groups, e.g., people randomly assigned to a single group. • Dependent t – we have two means. Either same people in both groups, or people are related, e.g., husband-wife, left hand-right hand, hospital patient and visitor.
  • 5. Main Usage of t-test Among the most frequently used t-tests are: • A one-sample location test of whether the mean of a population has a value specified in a null hypothesis. • A two-sample location test of the null hypothesis that the means of two populations are equal. All such tests are usually called Student's t-tests, though strictly speaking that name should only be used if the variance of the two populations are also assumed to be equal; the form of the test used when this assumption is dropped is sometimes called Welch’s t-test. These tests are often referred to as "unpaired" or "independent samples" t-tests, as they are typically applied when the statistical units underlying the two samples being compared are non-overlapping.
  • 6. Main Usage of t-test • A test of the null hypothesis that the difference between two responses measured on the same statistical unit has a mean value of zero. For example, suppose we measure the size of a cancer patient's tumor before and after a treatment. If the treatment is effective, we expect the tumor size for many of the patients to be smaller following the treatment. This is often referred to as the "paired" or "repeated measures" t-test: see paired difference test. • A test of whether the slope of a regression line differs significantly from 0.
  • 7. Z-test • We can use z-test to test hypotheses about means for large samples (N>100) ( X  X )2  N 1 N • Consider ( X  ) zM  est. M • Then H 0 :   10; H1 :   10; s X  5; N  200 • If est. M est. M sX   N sX 5 5     .35 N 200 14.14 (11  10) X  11  z   2.83; 2.83  1.96  p  0.05 0.35
  • 8. T-test We use t-test when the sample size is small (N<100, the usual case) and the population variance is unknown (the usual case). Degrees of Freedom The degrees of freedom for t-distribution are always a simple function of the sample size, e.g., (N-1). One way of explaining df is that if we know the total or mean, and all but one score, the last (N-1) score is not free to vary.
  • 9. Assumptions • Based on assumptions of normality and homogeneity of variance. • Tested using any statistical package. • As long as the samples in each group are large and nearly equal, the ttest is robust, that is, still good, even thought assumptions are not met.
  • 10. T-Distribution The t distribution is a short, fat relative of the normal. The shape of t depends on its df. As N becomes infinitely large, t becomes normal.
  • 11. Case Studies One Sample t-test • It is used in measuring whether a sample value significantly differs from a hypothesized value. For example, a research scholar might hypothesize that on an average it takes 3 minutes for people to drink a standard cup of coffee. He conducts an experiment and measures how long it takes his subjects to drink a standard cup of coffee. The one sample t-test measures whether the mean amount of time it took the experimental group to complete the task varies significantly from the hypothesized 3 minutes value. Paired-Samples t-test • It is used in comparing the means of two variables for a single group. This test computes the differences between values of two variables for each case and tests whether the average differs from 0. For example, in a study on impact of a particular diet on weight, all patients are measured at the beginning of the study, prescribed a fixed diet, and measured again. Thus each subject has two measures, often called before and after measures. Independent Samples t-test • The independent-Samples t-test procedure compares means for two groups of cases. Patients with high blood pressure are randomly assigned to a placebo group and a treatment group. The placebo subjects receive an inactive pill, and the treatment subjects receive a new drug that is expected to lower blood pressure. The two-sample t test is used to compare the average blood pressures for the placebo group and the treatment group.
  • 13. Thank You PIE TUTORS is a Statistical Consulting Company based in India. Visit www.pietutors.com to learn more about us and our services. PIE TUTORS Your Statistical Partner www.pietutors.com admin@pietutors.com