SlideShare a Scribd company logo
1 of 11
The t-test
Inferences about Population Means
SUBMITTED TO:
Dr. Deepali Jat
Associate professor
Dr. H.S. Gour Central University,
Sagar -470003 (M.P.)
SUBMITTED BY: NAGENDRA
SAHU
Dr. H.S. Gour Central University
Sagar-470003 (M.P.)
TABLE OF CONTENTS
1. OBJECTIVE
2. BACKGROUND
3. Z-TEST
4. DISTRIBUTION OF t-TEST
5. DEGREE OF FREEDOM
6. SINGLE t-TEST
7. ASSUMPTIONS
8. REFERENCES
9. AKNOWELDGEMENT
Questions
• What is the main use of the t-test?
• How is the distribution of t related to the unit normal?
• When would we use a t-test instead of a z-test? Why might
we prefer one to the other?
• What are the chief varieties or forms of the t-test?
• What is the standard error of the difference between means?
What are the factors that influence its size?
Background
• The t-test is used to test hypotheses about means
when the population variance is unknown (the usual
case). Closely related to z, the unit normal.
• Developed by Gossett for the quality control of beer.
• Comes in 3 varieties:
• Single sample, independent samples, and dependent
What kind of t is it?
• 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
Single-sample z test
• For large samples (N>100) can use z to test
hypotheses about means.
• Suppose
• Then
• If
M
M
est
X
z
σ
µ
.
)( −
=
N
N
XX
N
s
est X
M
1
)(
.
2
−
−
==
∑
σ
200;5;10:;10: 10 ==≠= NsHH Xµµ
35.
14.14
5
200
5
. ====
N
s
est X
Mσ
05.96.183.2;83.2
35.
)1011(
11 <∴>=
−
=→= pzX
The t Distribution
We use t when the population variance is unknown (the usual case) and
sample size is small (N<100, the usual case). If you use a stat package
for testing hypotheses about means, you will use t.
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.
Degrees of Freedom
For the t distribution, degrees of freedom 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. It
is fixed by the other scores. 4+3+2+X = 10. X=1.
Single-sample t-test
With a small sample size, we compute the same numbers
as we did for z, but we compare them to the t distribution
instead of the z distribution.
25;5;10:;10: 10 ==≠= NsHH Xµµ
1
25
5
. ===
N
s
est X
Mσ 1
1
)1011(
11 =
−
=→= tX
064.2)24,05(. =t 1<2.064, n.s.
Interval =
]064.13,936.8[)1(064.211
ˆ
=±
± MtX σ
Interval is about 9 to 13 and contains 10, so n.s.
(c.f. z=1.96)
Assumptions
• The t-test is based on assumptions of normality and
homogeneity of variance.
• You can test for both these (make sure you learn the
SAS methods).
• As long as the samples in each group are large and
nearly equal, the t-test is robust, that is, still good,
the t test

More Related Content

What's hot

Central tendency and Variation or Dispersion
Central tendency and Variation or DispersionCentral tendency and Variation or Dispersion
Central tendency and Variation or DispersionJohny Kutty Joseph
 
DOE Project ANOVA Analysis Diet Type
DOE Project ANOVA Analysis Diet TypeDOE Project ANOVA Analysis Diet Type
DOE Project ANOVA Analysis Diet Typevidit jain
 
Stat 4 the normal distribution & steps of testing hypothesis
Stat 4 the normal distribution & steps of testing hypothesisStat 4 the normal distribution & steps of testing hypothesis
Stat 4 the normal distribution & steps of testing hypothesisForensic Pathology
 
Moments in statistics
Moments in statisticsMoments in statistics
Moments in statistics515329748
 
Repeated-Measures and Two-Factor Analysis of Variance
Repeated-Measures and Two-Factor Analysis of VarianceRepeated-Measures and Two-Factor Analysis of Variance
Repeated-Measures and Two-Factor Analysis of Variancejasondroesch
 
Measures of Central Tendency
Measures of Central TendencyMeasures of Central Tendency
Measures of Central TendencyNida Nafees
 
Normal curve in Biostatistics data inference and applications
Normal curve in Biostatistics data inference and applicationsNormal curve in Biostatistics data inference and applications
Normal curve in Biostatistics data inference and applicationsBala Vidyadhar
 
1.1 course notes inferential statistics
1.1 course notes inferential statistics1.1 course notes inferential statistics
1.1 course notes inferential statisticsDjamel Bob
 
Student's T test distributions & its Applications
Student's T test distributions & its Applications Student's T test distributions & its Applications
Student's T test distributions & its Applications vidit jain
 
Measures of Variation or Dispersion
Measures of Variation or Dispersion Measures of Variation or Dispersion
Measures of Variation or Dispersion Dr Athar Khan
 
2014 EUGM - Blinded Adaptations, Permutations Tests and T Tests
2014 EUGM - Blinded Adaptations, Permutations Tests and T Tests2014 EUGM - Blinded Adaptations, Permutations Tests and T Tests
2014 EUGM - Blinded Adaptations, Permutations Tests and T TestsCytel USA
 
3 descritive statistics measure of central tendency variatio
3 descritive statistics measure of   central   tendency variatio3 descritive statistics measure of   central   tendency variatio
3 descritive statistics measure of central tendency variatioLama K Banna
 
Introduction to kurtosis
Introduction to kurtosisIntroduction to kurtosis
Introduction to kurtosisAmba Datt Pant
 

What's hot (18)

Central tendency and Variation or Dispersion
Central tendency and Variation or DispersionCentral tendency and Variation or Dispersion
Central tendency and Variation or Dispersion
 
Chapter03
Chapter03Chapter03
Chapter03
 
DOE Project ANOVA Analysis Diet Type
DOE Project ANOVA Analysis Diet TypeDOE Project ANOVA Analysis Diet Type
DOE Project ANOVA Analysis Diet Type
 
Stat 4 the normal distribution & steps of testing hypothesis
Stat 4 the normal distribution & steps of testing hypothesisStat 4 the normal distribution & steps of testing hypothesis
Stat 4 the normal distribution & steps of testing hypothesis
 
Moments in statistics
Moments in statisticsMoments in statistics
Moments in statistics
 
Repeated-Measures and Two-Factor Analysis of Variance
Repeated-Measures and Two-Factor Analysis of VarianceRepeated-Measures and Two-Factor Analysis of Variance
Repeated-Measures and Two-Factor Analysis of Variance
 
Measures of central tendency and dispersion
Measures of central tendency and dispersionMeasures of central tendency and dispersion
Measures of central tendency and dispersion
 
Measures of Central Tendency
Measures of Central TendencyMeasures of Central Tendency
Measures of Central Tendency
 
Normal curve in Biostatistics data inference and applications
Normal curve in Biostatistics data inference and applicationsNormal curve in Biostatistics data inference and applications
Normal curve in Biostatistics data inference and applications
 
1.1 course notes inferential statistics
1.1 course notes inferential statistics1.1 course notes inferential statistics
1.1 course notes inferential statistics
 
Student's T test distributions & its Applications
Student's T test distributions & its Applications Student's T test distributions & its Applications
Student's T test distributions & its Applications
 
Central tendency and Measure of Dispersion
Central tendency and Measure of DispersionCentral tendency and Measure of Dispersion
Central tendency and Measure of Dispersion
 
Central tendency
Central tendencyCentral tendency
Central tendency
 
Measures of Variation or Dispersion
Measures of Variation or Dispersion Measures of Variation or Dispersion
Measures of Variation or Dispersion
 
2014 EUGM - Blinded Adaptations, Permutations Tests and T Tests
2014 EUGM - Blinded Adaptations, Permutations Tests and T Tests2014 EUGM - Blinded Adaptations, Permutations Tests and T Tests
2014 EUGM - Blinded Adaptations, Permutations Tests and T Tests
 
3 descritive statistics measure of central tendency variatio
3 descritive statistics measure of   central   tendency variatio3 descritive statistics measure of   central   tendency variatio
3 descritive statistics measure of central tendency variatio
 
Measures of dispersions
Measures of dispersionsMeasures of dispersions
Measures of dispersions
 
Introduction to kurtosis
Introduction to kurtosisIntroduction to kurtosis
Introduction to kurtosis
 

Similar to the t test (20)

The T-test
The T-testThe T-test
The T-test
 
Ttest
TtestTtest
Ttest
 
Research methodology
Research methodologyResearch methodology
Research methodology
 
tps5e_Ch10_2.ppt
tps5e_Ch10_2.ppttps5e_Ch10_2.ppt
tps5e_Ch10_2.ppt
 
Point Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis testsPoint Estimate, Confidence Interval, Hypotesis tests
Point Estimate, Confidence Interval, Hypotesis tests
 
Student's T-Test
Student's T-TestStudent's T-Test
Student's T-Test
 
Test of hypothesis (t)
Test of hypothesis (t)Test of hypothesis (t)
Test of hypothesis (t)
 
LECTURE 3.1.pdf
LECTURE 3.1.pdfLECTURE 3.1.pdf
LECTURE 3.1.pdf
 
Talk 3
Talk 3Talk 3
Talk 3
 
T-Test
T-TestT-Test
T-Test
 
T distribution
T distributionT distribution
T distribution
 
What is the need of the t Distribution According to the central.pdf
What is the need of the t Distribution According to the central.pdfWhat is the need of the t Distribution According to the central.pdf
What is the need of the t Distribution According to the central.pdf
 
Student t test
Student t testStudent t test
Student t test
 
tests of significance
tests of significancetests of significance
tests of significance
 
Unit-5.-t-test.ppt
Unit-5.-t-test.pptUnit-5.-t-test.ppt
Unit-5.-t-test.ppt
 
inferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfinferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdf
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
The t test mean comparison 1
The t test mean comparison 1The t test mean comparison 1
The t test mean comparison 1
 
Statistical analysis
Statistical  analysisStatistical  analysis
Statistical analysis
 
Lec 4 random sampling
Lec 4 random samplingLec 4 random sampling
Lec 4 random sampling
 

More from Nagendrasahu6

Blood group (population genetic and evolution) by nagendra sahu
Blood group (population genetic and evolution) by nagendra sahuBlood group (population genetic and evolution) by nagendra sahu
Blood group (population genetic and evolution) by nagendra sahuNagendrasahu6
 
Exponential functions
Exponential functionsExponential functions
Exponential functionsNagendrasahu6
 
Bacteriophage life cycle
Bacteriophage life cycleBacteriophage life cycle
Bacteriophage life cycleNagendrasahu6
 
BIOINFORMATICS - NCBI
BIOINFORMATICS - NCBIBIOINFORMATICS - NCBI
BIOINFORMATICS - NCBINagendrasahu6
 
Thyroid gland structure and function
Thyroid gland structure and functionThyroid gland structure and function
Thyroid gland structure and functionNagendrasahu6
 
communication and social media
communication and social mediacommunication and social media
communication and social mediaNagendrasahu6
 
Histological equipment
Histological equipmentHistological equipment
Histological equipmentNagendrasahu6
 

More from Nagendrasahu6 (13)

Blood group (population genetic and evolution) by nagendra sahu
Blood group (population genetic and evolution) by nagendra sahuBlood group (population genetic and evolution) by nagendra sahu
Blood group (population genetic and evolution) by nagendra sahu
 
Seq alignment
Seq alignment Seq alignment
Seq alignment
 
Exponential functions
Exponential functionsExponential functions
Exponential functions
 
blast and fasta
 blast and fasta blast and fasta
blast and fasta
 
Bacteriophage life cycle
Bacteriophage life cycleBacteriophage life cycle
Bacteriophage life cycle
 
Bilirubin
BilirubinBilirubin
Bilirubin
 
Bililrubin
BililrubinBililrubin
Bililrubin
 
BIOINFORMATICS - NCBI
BIOINFORMATICS - NCBIBIOINFORMATICS - NCBI
BIOINFORMATICS - NCBI
 
Thyroid gland structure and function
Thyroid gland structure and functionThyroid gland structure and function
Thyroid gland structure and function
 
communication and social media
communication and social mediacommunication and social media
communication and social media
 
Endocrinology
EndocrinologyEndocrinology
Endocrinology
 
Gene therapy
Gene therapyGene therapy
Gene therapy
 
Histological equipment
Histological equipmentHistological equipment
Histological equipment
 

Recently uploaded

Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Valters Lauzums
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...amitlee9823
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramMoniSankarHazra
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteedamy56318795
 

Recently uploaded (20)

(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 

the t test

  • 1. The t-test Inferences about Population Means SUBMITTED TO: Dr. Deepali Jat Associate professor Dr. H.S. Gour Central University, Sagar -470003 (M.P.) SUBMITTED BY: NAGENDRA SAHU Dr. H.S. Gour Central University Sagar-470003 (M.P.)
  • 2. TABLE OF CONTENTS 1. OBJECTIVE 2. BACKGROUND 3. Z-TEST 4. DISTRIBUTION OF t-TEST 5. DEGREE OF FREEDOM 6. SINGLE t-TEST 7. ASSUMPTIONS 8. REFERENCES 9. AKNOWELDGEMENT
  • 3. Questions • What is the main use of the t-test? • How is the distribution of t related to the unit normal? • When would we use a t-test instead of a z-test? Why might we prefer one to the other? • What are the chief varieties or forms of the t-test? • What is the standard error of the difference between means? What are the factors that influence its size?
  • 4. Background • The t-test is used to test hypotheses about means when the population variance is unknown (the usual case). Closely related to z, the unit normal. • Developed by Gossett for the quality control of beer. • Comes in 3 varieties: • Single sample, independent samples, and dependent
  • 5. What kind of t is it? • 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
  • 6. Single-sample z test • For large samples (N>100) can use z to test hypotheses about means. • Suppose • Then • If M M est X z σ µ . )( − = N N XX N s est X M 1 )( . 2 − − == ∑ σ 200;5;10:;10: 10 ==≠= NsHH Xµµ 35. 14.14 5 200 5 . ==== N s est X Mσ 05.96.183.2;83.2 35. )1011( 11 <∴>= − =→= pzX
  • 7. The t Distribution We use t when the population variance is unknown (the usual case) and sample size is small (N<100, the usual case). If you use a stat package for testing hypotheses about means, you will use t. 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.
  • 8. Degrees of Freedom For the t distribution, degrees of freedom 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. It is fixed by the other scores. 4+3+2+X = 10. X=1.
  • 9. Single-sample t-test With a small sample size, we compute the same numbers as we did for z, but we compare them to the t distribution instead of the z distribution. 25;5;10:;10: 10 ==≠= NsHH Xµµ 1 25 5 . === N s est X Mσ 1 1 )1011( 11 = − =→= tX 064.2)24,05(. =t 1<2.064, n.s. Interval = ]064.13,936.8[)1(064.211 ˆ =± ± MtX σ Interval is about 9 to 13 and contains 10, so n.s. (c.f. z=1.96)
  • 10. Assumptions • The t-test is based on assumptions of normality and homogeneity of variance. • You can test for both these (make sure you learn the SAS methods). • As long as the samples in each group are large and nearly equal, the t-test is robust, that is, still good,