SlideShare una empresa de Scribd logo
1 de 13
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente (20)

Tests of significance
Tests of significanceTests of significance
Tests of significance
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
Null hypothesis
Null hypothesisNull hypothesis
Null hypothesis
 
Analysis of variance (anova)
Analysis of variance (anova)Analysis of variance (anova)
Analysis of variance (anova)
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
t test
t testt test
t test
 
Anova - One way and two way
Anova - One way and two wayAnova - One way and two way
Anova - One way and two way
 
Non parametric tests
Non parametric testsNon parametric tests
Non parametric tests
 
Anova; analysis of variance
Anova; analysis of varianceAnova; analysis of variance
Anova; analysis of variance
 
Student T - test
Student T -  testStudent T -  test
Student T - test
 
Anova and T-Test
Anova and T-TestAnova and T-Test
Anova and T-Test
 
{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx{ANOVA} PPT-1.pptx
{ANOVA} PPT-1.pptx
 
Chi square test
Chi square testChi square test
Chi square test
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Regression
RegressionRegression
Regression
 
Test of significance in Statistics
Test of significance in StatisticsTest of significance in Statistics
Test of significance in Statistics
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 

Destacado

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
 

Destacado (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 a 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
 
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
 
Anova, ancova
Anova, ancovaAnova, ancova
Anova, ancova
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
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
 

Más de COSTARCH Analytical Consulting (P) Ltd.

Más 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
 

Último

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.christianmathematics
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
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.MaryamAhmad92
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
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.pptxMaritesTamaniVerdade
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
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
 
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
 
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
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 

Último (20)

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.
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
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.
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
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
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
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
 
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
 
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
 
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
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

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