SlideShare une entreprise Scribd logo
1  sur  13
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx
SNEHA AGRAWAL GUPTA
 

Tendances (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
 

En vedette

Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
piyushdhaker
 
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
Qasim Raza
 
Industrial relations
Industrial relations Industrial relations
Industrial relations
Geeno George
 

En vedette (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
 

Similaire à Student's T-Test

Similaire à 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
 

Plus de COSTARCH Analytical Consulting (P) Ltd.

Plus de 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
 

Dernier

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
heathfieldcps1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Dernier (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
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
 
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
 
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...
 
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
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.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
 
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...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 

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