SlideShare a Scribd company logo
1 of 20
t-Tests give us more options
Inferential
Statistics
What we know already:
 Frequency distributions shown in graphs
 Summarizing data sets
 Central tendency (mean, median, mode)
 Variability (variance and standard deviation)
 Central Limit Theorem
 Sample means are normally distributed
 If n > 30 or population is normally distributed
 Hypothesis Testing basics
 Null hypothesis & critical region defined
 Sample data used to make a decision
Bad news:
“The shortcoming of using a z-score as an
inferential statistic is that the z-score formula
requires more information than is usually
available.”
“Specifically, a z-score requires that we know
the value of the population standard deviation
(or variance). In most situations, however,
the standard deviation for the population is
not known.”
One-Sample t-Test
 We want to compare a single sample to a
population mean, or a hypothetical mean
 We don’t know σ2 so we use s2, the Sample Variance
 We have an estimated standard error, sM
 We use sM to compute t
 t is similar to z in shape: bell curve
 It is shorter in the center, and the tails have more area
 There is more than one t curve
 The curve is determined by M, s2, and df
 Degrees of freedom, df is related to sample size
Distribution of the t statistic for different values of degrees of freedom are
compared to a normal z-score distribution. Like the normal distribution, t
distributions are bell-shaped and symmetrical and have a mean of zero. However, t
distributions have more variability, indicated by the flatter and more spread-out
shape. The larger the value of df is, the more closely the t distribution approximates
a normal distribution.
One-Sample t-Test
 The same 4 steps of hypothesis testing
 State the hypotheses, choose the alpha level
 Locate the critical region on the table of t values
 Collect sample data and compute t statistic
 Evaluate H0 and make a decision
 We can measure effect size with Cohen’s d and
with r 2 (proportion of variability explained)
 We can have directional (one-tailed) t-tests
Comparison of z- and t-Tests
 One-sample z-test
 Sample is drawn from a
population whose mean is
known or hypothesized
 σ2 is known, compute σM
 z=(M-µ) / σM
 One sample t-test
 Sample is drawn from a
population whose mean is
known or hypothesized
 σ2 not known
 Use s2 to compute sM
 df = n-1
 t = (M-µ) / sM
2
M
n

  2
2
so M
SS
SS s df
s s
df n n
  
One-sample t-Test
 One random sample of interval/ratio variable
 Comparison with population
or hypothesized mean
 Can be either a
one-tailed or a
two-tailed test
df = n-1










n
s
x
t
2

Degrees of Freedom
 Always related to the sample size
 Symbol: df
 Differs across statistical tests
 In t-tests, Degrees of Freedom depends on the
number of means that are computed:
 One sample mean: df = N – 1
 Two sample test: df = N – 2
 Repeated measures test computes the mean of the
change score (one mean) so df = N – 1
Sample Problem
A group of telemarketers averaged 80 sales per day.
A sample of n=16 people were randomly chosen for
training on a new technique. After training, the
sample averages 85 sales per day, with SS=60.
Does the sample provide sufficient evidence to
conclude that the training leads to higher levels of
sales?
THINK FIRST
 We cannot draw the population distribution,
because we do not know its standard deviation.
 We can draw the distribution of sales scores
(the scores of the 16 people) because we know the
mean and standard deviation of the sample.
 So: draw the curve representing the sample of
sales scores after training.
 What range contains about 95% of scores?
 Does it include the pre-training mean of 80?
Hypothesis Test: t-Test
 Step 1: Define Hypotheses
 H0:_______________________________________
 HA: _______________________________________
 Step 2: Set Criteria for a decision
 Alpha = .05 in two-tails combined
 Compute df
 Use Table or Calculator to find Critical Value of t
 Critical Value is t = __________________________
 Define Critical Region (draw yourself a picture)
t-Test Continued
 Step 3: Collect data and compute test statistics
 Means are given to us: M=85, µ=80
 Need to compute s2 in order to compute sM
 s2 = _______________
 sM = _______________
 Compute t = (M-µ) / sM
 t = ________________
 Step 4: Make a decision based on criteria
 Use your picture of the t-curve
Effect Size: Cohen’s d
 Effect size has the same meaning for the t-Test that it
did with the z-Test
 Equation for Cohen’s d used the population standard
deviation: now we do not have that.
 Substitute the sample standard deviation
 Compute Cohen’s d for this problem
df
SS
M 

ndev'stdsample
differencemean
dsCohen'
Effect size: r2
 Another way of measuring effect size
 Out of the total variability, how much is accounted
for by being in the treatment group?
 SS = Σ(X - M)2 = total variability
 Variability without treatment effect
 Subtract treatment effect (M-µ) from each score
 Then subtract Mean, square the difference, and sum

 Compute r2 for this problem
2
2
2
t
r
t df


How to Write Results
1. First sentence: What question was tested? Can
be a statement or a question.
2. Procedure / sample: How was the test done?
Who was tested?
3. What were the results? Report sample statistics
(M and sM), the test statistic (t) and its df,
the significance (p), and decision.
4. If significant, report effect size
5. Close with a summary sentence
Sample Narrative
A sample of 16 telemarketers received special
training. After training, their average daily sales
(M = 85, s = 2) were significantly higher than the
pre-training average of 80 for all the telemarketers
(t(15) = 10, p < .05). The effect size, measured
by Cohen’s d, is quite large (d = 2.5).
Approximately 87% of the variability is accounted
for by the training (r2 = .8695). The sales training
produced a significant and sizable difference,
leading to an increase in sales for the firm.
Types of t - Tests
 One sample t-Test
 Sample mean compared to hypothetical mean or μ
 df = 1 because one sample mean is computed
 Independent samples t-Test
 Two samples are compared to each other
 df = 2 because two sample means are computed
 Correlated/Paired/Repeated Measures t-test
 Two related measures; mean difference is computed
 df = 1 because one mean is computed
Basic dynamic of all of our tests
 They will involve a ratio (a fraction)
 The numerator (top) will measure variability
between group(s)
 The denominator (bottom) will measure the
variability that is due to random chance
 “Difference on the top, and error on the bottom”
Statz Rappers

More Related Content

What's hot (20)

Student's T-Test
Student's T-TestStudent's T-Test
Student's T-Test
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec doms
 
Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
T test and types of t-test
T test and types of t-testT test and types of t-test
T test and types of t-test
 
Parametric vs Nonparametric Tests: When to use which
Parametric vs Nonparametric Tests: When to use whichParametric vs Nonparametric Tests: When to use which
Parametric vs Nonparametric Tests: When to use which
 
Parametric and nonparametric test
Parametric and nonparametric testParametric and nonparametric test
Parametric and nonparametric test
 
Chi -square test
Chi -square testChi -square test
Chi -square test
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
Anova lecture
Anova lectureAnova lecture
Anova lecture
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
VARIANCE
VARIANCEVARIANCE
VARIANCE
 
Standard deviation
Standard deviationStandard deviation
Standard deviation
 
T test
T testT test
T test
 
Mean Deviation
Mean DeviationMean Deviation
Mean Deviation
 
F test
F testF test
F test
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
T test
T testT test
T test
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 

Similar to Introduction to the t test

Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis TestingSr Edith Bogue
 
Lec 5 statistical intervals
Lec 5 statistical intervalsLec 5 statistical intervals
Lec 5 statistical intervalscairo university
 
marketing research & applications on SPSS
marketing research & applications on SPSSmarketing research & applications on SPSS
marketing research & applications on SPSSANSHU TIWARI
 
Introduction To Data Science Using R
Introduction To Data Science Using RIntroduction To Data Science Using R
Introduction To Data Science Using RANURAG SINGH
 
Intro to data science
Intro to data scienceIntro to data science
Intro to data scienceANURAG SINGH
 
Topic 8a Basic Statistics
Topic 8a Basic StatisticsTopic 8a Basic Statistics
Topic 8a Basic StatisticsYee Bee Choo
 
Business Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalBusiness Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalRavindra Nath Shukla
 
SAMPLING MEAN DEFINITION The term sampling mean .docx
SAMPLING MEAN DEFINITION The term sampling mean .docxSAMPLING MEAN DEFINITION The term sampling mean .docx
SAMPLING MEAN DEFINITION The term sampling mean .docxanhlodge
 
Day 4 normal curve and standard scores
Day 4 normal curve and standard scoresDay 4 normal curve and standard scores
Day 4 normal curve and standard scoresElih Sutisna Yanto
 
Answer the questions in one paragraph 4-5 sentences. · Why did t.docx
Answer the questions in one paragraph 4-5 sentences. · Why did t.docxAnswer the questions in one paragraph 4-5 sentences. · Why did t.docx
Answer the questions in one paragraph 4-5 sentences. · Why did t.docxboyfieldhouse
 
Estimating population values ppt @ bec doms
Estimating population values ppt @ bec domsEstimating population values ppt @ bec doms
Estimating population values ppt @ bec domsBabasab Patil
 
Statistics
StatisticsStatistics
Statisticspikuoec
 

Similar to Introduction to the t test (20)

Data analysis
Data analysisData analysis
Data analysis
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
 
Lec 5 statistical intervals
Lec 5 statistical intervalsLec 5 statistical intervals
Lec 5 statistical intervals
 
marketing research & applications on SPSS
marketing research & applications on SPSSmarketing research & applications on SPSS
marketing research & applications on SPSS
 
statistics
statisticsstatistics
statistics
 
Introduction To Data Science Using R
Introduction To Data Science Using RIntroduction To Data Science Using R
Introduction To Data Science Using R
 
Intro to data science
Intro to data scienceIntro to data science
Intro to data science
 
Topic 8a Basic Statistics
Topic 8a Basic StatisticsTopic 8a Basic Statistics
Topic 8a Basic Statistics
 
Business Analytics _ Confidence Interval
Business Analytics _ Confidence IntervalBusiness Analytics _ Confidence Interval
Business Analytics _ Confidence Interval
 
SAMPLING MEAN DEFINITION The term sampling mean .docx
SAMPLING MEAN DEFINITION The term sampling mean .docxSAMPLING MEAN DEFINITION The term sampling mean .docx
SAMPLING MEAN DEFINITION The term sampling mean .docx
 
Basic statistics
Basic statisticsBasic statistics
Basic statistics
 
Day 4 normal curve and standard scores
Day 4 normal curve and standard scoresDay 4 normal curve and standard scores
Day 4 normal curve and standard scores
 
Answer the questions in one paragraph 4-5 sentences. · Why did t.docx
Answer the questions in one paragraph 4-5 sentences. · Why did t.docxAnswer the questions in one paragraph 4-5 sentences. · Why did t.docx
Answer the questions in one paragraph 4-5 sentences. · Why did t.docx
 
Introduction to the t-test
Introduction to the t-testIntroduction to the t-test
Introduction to the t-test
 
Hypothsis testing
Hypothsis testingHypothsis testing
Hypothsis testing
 
Estimating population values ppt @ bec doms
Estimating population values ppt @ bec domsEstimating population values ppt @ bec doms
Estimating population values ppt @ bec doms
 
Sampling theory
Sampling theorySampling theory
Sampling theory
 
STAT-t statistic.ppt
STAT-t statistic.pptSTAT-t statistic.ppt
STAT-t statistic.ppt
 
STATISTIC ESTIMATION
STATISTIC ESTIMATIONSTATISTIC ESTIMATION
STATISTIC ESTIMATION
 
Statistics
StatisticsStatistics
Statistics
 

More from Sr Edith Bogue

How to Report Test Results
How to Report Test ResultsHow to Report Test Results
How to Report Test ResultsSr Edith Bogue
 
Principles of Design (Williams)
Principles of Design (Williams)Principles of Design (Williams)
Principles of Design (Williams)Sr Edith Bogue
 
Repeated Measures ANOVA
Repeated Measures ANOVARepeated Measures ANOVA
Repeated Measures ANOVASr Edith Bogue
 
Two-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretationTwo-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretationSr Edith Bogue
 
Repeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewRepeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewSr Edith Bogue
 
Oneway ANOVA - Overview
Oneway ANOVA - OverviewOneway ANOVA - Overview
Oneway ANOVA - OverviewSr Edith Bogue
 
One-Sample Hypothesis Tests
One-Sample Hypothesis TestsOne-Sample Hypothesis Tests
One-Sample Hypothesis TestsSr Edith Bogue
 
Sustaining the Ministry of Sponsorship
Sustaining the Ministry of SponsorshipSustaining the Ministry of Sponsorship
Sustaining the Ministry of SponsorshipSr Edith Bogue
 
Data Management - Basic Concepts
Data Management - Basic ConceptsData Management - Basic Concepts
Data Management - Basic ConceptsSr Edith Bogue
 
Central Tendency - Overview
Central Tendency - Overview Central Tendency - Overview
Central Tendency - Overview Sr Edith Bogue
 
Introduction to z-Scores
Introduction to z-Scores Introduction to z-Scores
Introduction to z-Scores Sr Edith Bogue
 
Introduction to Statistics
Introduction to StatisticsIntroduction to Statistics
Introduction to StatisticsSr Edith Bogue
 

More from Sr Edith Bogue (20)

How to Report Test Results
How to Report Test ResultsHow to Report Test Results
How to Report Test Results
 
Location Scores
Location  ScoresLocation  Scores
Location Scores
 
Variability
VariabilityVariability
Variability
 
Principles of Design (Williams)
Principles of Design (Williams)Principles of Design (Williams)
Principles of Design (Williams)
 
Levels of Measurement
Levels of MeasurementLevels of Measurement
Levels of Measurement
 
Chi-Square Example
Chi-Square ExampleChi-Square Example
Chi-Square Example
 
Repeated Measures ANOVA
Repeated Measures ANOVARepeated Measures ANOVA
Repeated Measures ANOVA
 
Two-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretationTwo-Way ANOVA Overview & SPSS interpretation
Two-Way ANOVA Overview & SPSS interpretation
 
Repeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewRepeated Measures ANOVA - Overview
Repeated Measures ANOVA - Overview
 
Oneway ANOVA - Overview
Oneway ANOVA - OverviewOneway ANOVA - Overview
Oneway ANOVA - Overview
 
Effect size
Effect sizeEffect size
Effect size
 
One-Sample Hypothesis Tests
One-Sample Hypothesis TestsOne-Sample Hypothesis Tests
One-Sample Hypothesis Tests
 
Sustaining the Ministry of Sponsorship
Sustaining the Ministry of SponsorshipSustaining the Ministry of Sponsorship
Sustaining the Ministry of Sponsorship
 
Demographic Processes
Demographic ProcessesDemographic Processes
Demographic Processes
 
Location scores
Location scoresLocation scores
Location scores
 
Data Management - Basic Concepts
Data Management - Basic ConceptsData Management - Basic Concepts
Data Management - Basic Concepts
 
Central Tendency - Overview
Central Tendency - Overview Central Tendency - Overview
Central Tendency - Overview
 
Introduction to z-Scores
Introduction to z-Scores Introduction to z-Scores
Introduction to z-Scores
 
Graphing
GraphingGraphing
Graphing
 
Introduction to Statistics
Introduction to StatisticsIntroduction to Statistics
Introduction to Statistics
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
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.pptxheathfieldcps1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
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
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 

Introduction to the t test

  • 1. t-Tests give us more options Inferential Statistics
  • 2. What we know already:  Frequency distributions shown in graphs  Summarizing data sets  Central tendency (mean, median, mode)  Variability (variance and standard deviation)  Central Limit Theorem  Sample means are normally distributed  If n > 30 or population is normally distributed  Hypothesis Testing basics  Null hypothesis & critical region defined  Sample data used to make a decision
  • 3. Bad news: “The shortcoming of using a z-score as an inferential statistic is that the z-score formula requires more information than is usually available.” “Specifically, a z-score requires that we know the value of the population standard deviation (or variance). In most situations, however, the standard deviation for the population is not known.”
  • 4. One-Sample t-Test  We want to compare a single sample to a population mean, or a hypothetical mean  We don’t know σ2 so we use s2, the Sample Variance  We have an estimated standard error, sM  We use sM to compute t  t is similar to z in shape: bell curve  It is shorter in the center, and the tails have more area  There is more than one t curve  The curve is determined by M, s2, and df  Degrees of freedom, df is related to sample size
  • 5. Distribution of the t statistic for different values of degrees of freedom are compared to a normal z-score distribution. Like the normal distribution, t distributions are bell-shaped and symmetrical and have a mean of zero. However, t distributions have more variability, indicated by the flatter and more spread-out shape. The larger the value of df is, the more closely the t distribution approximates a normal distribution.
  • 6. One-Sample t-Test  The same 4 steps of hypothesis testing  State the hypotheses, choose the alpha level  Locate the critical region on the table of t values  Collect sample data and compute t statistic  Evaluate H0 and make a decision  We can measure effect size with Cohen’s d and with r 2 (proportion of variability explained)  We can have directional (one-tailed) t-tests
  • 7. Comparison of z- and t-Tests  One-sample z-test  Sample is drawn from a population whose mean is known or hypothesized  σ2 is known, compute σM  z=(M-µ) / σM  One sample t-test  Sample is drawn from a population whose mean is known or hypothesized  σ2 not known  Use s2 to compute sM  df = n-1  t = (M-µ) / sM 2 M n    2 2 so M SS SS s df s s df n n   
  • 8. One-sample t-Test  One random sample of interval/ratio variable  Comparison with population or hypothesized mean  Can be either a one-tailed or a two-tailed test df = n-1           n s x t 2 
  • 9. Degrees of Freedom  Always related to the sample size  Symbol: df  Differs across statistical tests  In t-tests, Degrees of Freedom depends on the number of means that are computed:  One sample mean: df = N – 1  Two sample test: df = N – 2  Repeated measures test computes the mean of the change score (one mean) so df = N – 1
  • 10. Sample Problem A group of telemarketers averaged 80 sales per day. A sample of n=16 people were randomly chosen for training on a new technique. After training, the sample averages 85 sales per day, with SS=60. Does the sample provide sufficient evidence to conclude that the training leads to higher levels of sales?
  • 11. THINK FIRST  We cannot draw the population distribution, because we do not know its standard deviation.  We can draw the distribution of sales scores (the scores of the 16 people) because we know the mean and standard deviation of the sample.  So: draw the curve representing the sample of sales scores after training.  What range contains about 95% of scores?  Does it include the pre-training mean of 80?
  • 12. Hypothesis Test: t-Test  Step 1: Define Hypotheses  H0:_______________________________________  HA: _______________________________________  Step 2: Set Criteria for a decision  Alpha = .05 in two-tails combined  Compute df  Use Table or Calculator to find Critical Value of t  Critical Value is t = __________________________  Define Critical Region (draw yourself a picture)
  • 13. t-Test Continued  Step 3: Collect data and compute test statistics  Means are given to us: M=85, µ=80  Need to compute s2 in order to compute sM  s2 = _______________  sM = _______________  Compute t = (M-µ) / sM  t = ________________  Step 4: Make a decision based on criteria  Use your picture of the t-curve
  • 14. Effect Size: Cohen’s d  Effect size has the same meaning for the t-Test that it did with the z-Test  Equation for Cohen’s d used the population standard deviation: now we do not have that.  Substitute the sample standard deviation  Compute Cohen’s d for this problem df SS M   ndev'stdsample differencemean dsCohen'
  • 15. Effect size: r2  Another way of measuring effect size  Out of the total variability, how much is accounted for by being in the treatment group?  SS = Σ(X - M)2 = total variability  Variability without treatment effect  Subtract treatment effect (M-µ) from each score  Then subtract Mean, square the difference, and sum   Compute r2 for this problem 2 2 2 t r t df  
  • 16. How to Write Results 1. First sentence: What question was tested? Can be a statement or a question. 2. Procedure / sample: How was the test done? Who was tested? 3. What were the results? Report sample statistics (M and sM), the test statistic (t) and its df, the significance (p), and decision. 4. If significant, report effect size 5. Close with a summary sentence
  • 17. Sample Narrative A sample of 16 telemarketers received special training. After training, their average daily sales (M = 85, s = 2) were significantly higher than the pre-training average of 80 for all the telemarketers (t(15) = 10, p < .05). The effect size, measured by Cohen’s d, is quite large (d = 2.5). Approximately 87% of the variability is accounted for by the training (r2 = .8695). The sales training produced a significant and sizable difference, leading to an increase in sales for the firm.
  • 18. Types of t - Tests  One sample t-Test  Sample mean compared to hypothetical mean or μ  df = 1 because one sample mean is computed  Independent samples t-Test  Two samples are compared to each other  df = 2 because two sample means are computed  Correlated/Paired/Repeated Measures t-test  Two related measures; mean difference is computed  df = 1 because one mean is computed
  • 19. Basic dynamic of all of our tests  They will involve a ratio (a fraction)  The numerator (top) will measure variability between group(s)  The denominator (bottom) will measure the variability that is due to random chance  “Difference on the top, and error on the bottom”