SlideShare ist ein Scribd-Unternehmen logo
1 von 19
t test and t distribution
 t test is alternative to Z test when population standard
deviation is unknown
 There is family of t distributions rather than single
distributions
 In general t distribution is flatter than z distribution
t test
• For single sample
• For independent samples design
• For repeated measures design
t test for single sample
Assumptions
1. Random sampling
2. Independent observations
3. Normal sampling distribution
• t =
• Whereas sM =
• s2 =
• SS =
M
s
X 

n
s2
1

n
SS
   2
2
2


 
 X
X
or
n
X
X
• Problem
A survey in a school district revealed that the
average age at which students first tried an
alcoholic drink was 14 years. To determine
whether anything has changed, a random
sample of students was asked questions about
alcohol use. The age at which drinking behavior
first began was reported by members of the
sample as follows: 11,13, 4,12, 10. Has there
been a change in the mean age at which
drinking began?
Effect Size
Cohen’s d =
s
X 

Independent measures t test
Assumptions
Observations must be independent within each
sample and between samples
Normal sampling distributions of the two
populations from which the samples were
selected
The two populations must have equal
variances
 
2
1
2
1
X
X
s
X
X
t



2
1
2
1
2
2
2
1
2
2
1
df
df
SS
SS
s
and
n
s
n
s
s
Whereas p
P
P
X
X






• In a study of jury behavior, two samples of subjects were
provided details about a trial in which the defendant was
obviously guilty. Although group 2 received the same
details as group 1, the second group was also told that
some evidence had been withheld from the jury by the
judge. Later the subjects were asked to recommend a
jail sentence. The length of term suggested by each
subject is presented here. Is there a significant
difference between the two groups in their responses,
supposing that literature review suggests that length of
the term suggested by group 2 should be more than as
suggested by group 1
Data
Group 1 Group2
6 11
5 12
4 12
4 10
5 12
5 12
4 13
3 12
Effect Size
Cohen’s d =
sp
X
X 2
1 
t test for repeated
measures designs
USe
• For the comparison of DV at two different
times in the same sample
• For the comparison of two variables in the
same sample
Assumptions
• The observations within each treatment
must be independent
• The sampling distribution of difference
scores (D values) must be normal
Formula
n
s
s
Whereas
s
D
t D
D
D
2


Problem
The investigator decides to examine the effect of
relaxation training on the severity of asthma
symptoms. A sample of five patients is selected for
the study. During the week before treatment, the
investigator records the severity of symptoms by
measuring how many doses of medication are
needed for asthma attacks. Then the patients
receive relaxation training. For the week following
training, the researcher once again records the
number of doses required by each patient. Do the
data indicate that relaxation training alters the
severity of symptoms?
Data
Subjects Before treatment After treatment
A 9 4
B 4 1
C 5 5
D 4 0
E 5 1
?
• What is the independent variable?
• What is the dependent variable?
• What is the degree of freedom?
• Operationally define the dependent
variable?
• What are the scores in the data?
Effect Size
D
s
D
d
s
Cohen 
'

Weitere ähnliche Inhalte

Ähnlich wie t test.ppt

Test of significance
Test of significanceTest of significance
Test of significancemigom doley
 
scope and need of biostatics
scope and need of  biostaticsscope and need of  biostatics
scope and need of biostaticsdr_sharmajyoti01
 
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
Parametric test  - t Test, ANOVA, ANCOVA, MANOVAParametric test  - t Test, ANOVA, ANCOVA, MANOVA
Parametric test - t Test, ANOVA, ANCOVA, MANOVAPrincy Francis M
 
tests of significance
tests of significancetests of significance
tests of significancebenita regi
 
Directions The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docxDirections The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docxeve2xjazwa
 
Repeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewRepeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewSr Edith Bogue
 
HFS3283 paired t tes-t and anova
HFS3283 paired t tes-t and anovaHFS3283 paired t tes-t and anova
HFS3283 paired t tes-t and anovawajihahwafa
 
Epidemiological study design and it's significance
Epidemiological study design and it's significanceEpidemiological study design and it's significance
Epidemiological study design and it's significanceGurunathVhanmane1
 
Statistical analysis.pptx
Statistical analysis.pptxStatistical analysis.pptx
Statistical analysis.pptxChinna Chadayan
 
Lecture 11 Paired t test.pptx
Lecture 11 Paired t test.pptxLecture 11 Paired t test.pptx
Lecture 11 Paired t test.pptxshakirRahman10
 
Research method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovaResearch method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovanaranbatn
 
slides Testing of hypothesis.pptx
slides Testing  of  hypothesis.pptxslides Testing  of  hypothesis.pptx
slides Testing of hypothesis.pptxssuser504dda
 

Ähnlich wie t test.ppt (20)

Parametric tests
Parametric testsParametric tests
Parametric tests
 
LECTURE 3.1.pdf
LECTURE 3.1.pdfLECTURE 3.1.pdf
LECTURE 3.1.pdf
 
Test of significance
Test of significanceTest of significance
Test of significance
 
scope and need of biostatics
scope and need of  biostaticsscope and need of  biostatics
scope and need of biostatics
 
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
Parametric test  - t Test, ANOVA, ANCOVA, MANOVAParametric test  - t Test, ANOVA, ANCOVA, MANOVA
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
 
tests of significance
tests of significancetests of significance
tests of significance
 
Fufal bhavin
Fufal bhavinFufal bhavin
Fufal bhavin
 
Parametric test
Parametric testParametric test
Parametric test
 
spss
spss spss
spss
 
Amrita kumari
Amrita kumariAmrita kumari
Amrita kumari
 
Directions The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docxDirections The purpose of Project 8 is to prepare you for the final.docx
Directions The purpose of Project 8 is to prepare you for the final.docx
 
The t test
The t testThe t test
The t test
 
Repeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewRepeated Measures ANOVA - Overview
Repeated Measures ANOVA - Overview
 
HFS3283 paired t tes-t and anova
HFS3283 paired t tes-t and anovaHFS3283 paired t tes-t and anova
HFS3283 paired t tes-t and anova
 
Epidemiological study design and it's significance
Epidemiological study design and it's significanceEpidemiological study design and it's significance
Epidemiological study design and it's significance
 
Statistical analysis.pptx
Statistical analysis.pptxStatistical analysis.pptx
Statistical analysis.pptx
 
Sample size calculation
Sample size calculationSample size calculation
Sample size calculation
 
Lecture 11 Paired t test.pptx
Lecture 11 Paired t test.pptxLecture 11 Paired t test.pptx
Lecture 11 Paired t test.pptx
 
Research method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovaResearch method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anova
 
slides Testing of hypothesis.pptx
slides Testing  of  hypothesis.pptxslides Testing  of  hypothesis.pptx
slides Testing of hypothesis.pptx
 

Kürzlich hochgeladen

Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPTBoston Institute of Analytics
 
Decoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis ProjectDecoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis ProjectBoston Institute of Analytics
 
Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Cathrine Wilhelmsen
 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksdeepakthakur548787
 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max PrincetonTimothy Spann
 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...Amil Baba Dawood bangali
 
Cyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded dataCyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded dataTecnoIncentive
 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingsocarem879
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxTasha Penwell
 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data VisualizationKianJazayeri1
 
What To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxWhat To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxSimranPal17
 
Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 217djon017
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfblazblazml
 
convolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfconvolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfSubhamKumar3239
 
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...Milind Agarwal
 
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxmodul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxaleedritatuxx
 
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...KarteekMane1
 
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Thomas Poetter
 
Learn How Data Science Changes Our World
Learn How Data Science Changes Our WorldLearn How Data Science Changes Our World
Learn How Data Science Changes Our WorldEduminds Learning
 

Kürzlich hochgeladen (20)

Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
 
Decoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis ProjectDecoding Patterns: Customer Churn Prediction Data Analysis Project
Decoding Patterns: Customer Churn Prediction Data Analysis Project
 
Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)Data Factory in Microsoft Fabric (MsBIP #82)
Data Factory in Microsoft Fabric (MsBIP #82)
 
Digital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing worksDigital Marketing Plan, how digital marketing works
Digital Marketing Plan, how digital marketing works
 
Real-Time AI Streaming - AI Max Princeton
Real-Time AI  Streaming - AI Max PrincetonReal-Time AI  Streaming - AI Max Princeton
Real-Time AI Streaming - AI Max Princeton
 
Insurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectInsurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis Project
 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
 
Cyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded dataCyber awareness ppt on the recorded data
Cyber awareness ppt on the recorded data
 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processing
 
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptxThe Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
The Power of Data-Driven Storytelling_ Unveiling the Layers of Insight.pptx
 
Principles and Practices of Data Visualization
Principles and Practices of Data VisualizationPrinciples and Practices of Data Visualization
Principles and Practices of Data Visualization
 
What To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptxWhat To Do For World Nature Conservation Day by Slidesgo.pptx
What To Do For World Nature Conservation Day by Slidesgo.pptx
 
Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2
 
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdfEnglish-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
English-8-Q4-W3-Synthesizing-Essential-Information-From-Various-Sources-1.pdf
 
convolutional neural network and its applications.pdf
convolutional neural network and its applications.pdfconvolutional neural network and its applications.pdf
convolutional neural network and its applications.pdf
 
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
Unveiling the Role of Social Media Suspect Investigators in Preventing Online...
 
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptxmodul pembelajaran robotic Workshop _ by Slidesgo.pptx
modul pembelajaran robotic Workshop _ by Slidesgo.pptx
 
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...
wepik-insightful-infographics-a-data-visualization-overview-20240401133220kwr...
 
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
Minimizing AI Hallucinations/Confabulations and the Path towards AGI with Exa...
 
Learn How Data Science Changes Our World
Learn How Data Science Changes Our WorldLearn How Data Science Changes Our World
Learn How Data Science Changes Our World
 

t test.ppt

  • 1. t test and t distribution  t test is alternative to Z test when population standard deviation is unknown  There is family of t distributions rather than single distributions  In general t distribution is flatter than z distribution
  • 2. t test • For single sample • For independent samples design • For repeated measures design
  • 3. t test for single sample Assumptions 1. Random sampling 2. Independent observations 3. Normal sampling distribution
  • 4. • t = • Whereas sM = • s2 = • SS = M s X   n s2 1  n SS    2 2 2      X X or n X X
  • 5. • Problem A survey in a school district revealed that the average age at which students first tried an alcoholic drink was 14 years. To determine whether anything has changed, a random sample of students was asked questions about alcohol use. The age at which drinking behavior first began was reported by members of the sample as follows: 11,13, 4,12, 10. Has there been a change in the mean age at which drinking began?
  • 6. Effect Size Cohen’s d = s X  
  • 7. Independent measures t test Assumptions Observations must be independent within each sample and between samples Normal sampling distributions of the two populations from which the samples were selected The two populations must have equal variances
  • 9. • In a study of jury behavior, two samples of subjects were provided details about a trial in which the defendant was obviously guilty. Although group 2 received the same details as group 1, the second group was also told that some evidence had been withheld from the jury by the judge. Later the subjects were asked to recommend a jail sentence. The length of term suggested by each subject is presented here. Is there a significant difference between the two groups in their responses, supposing that literature review suggests that length of the term suggested by group 2 should be more than as suggested by group 1
  • 10. Data Group 1 Group2 6 11 5 12 4 12 4 10 5 12 5 12 4 13 3 12
  • 11. Effect Size Cohen’s d = sp X X 2 1 
  • 12. t test for repeated measures designs
  • 13. USe • For the comparison of DV at two different times in the same sample • For the comparison of two variables in the same sample
  • 14. Assumptions • The observations within each treatment must be independent • The sampling distribution of difference scores (D values) must be normal
  • 16. Problem The investigator decides to examine the effect of relaxation training on the severity of asthma symptoms. A sample of five patients is selected for the study. During the week before treatment, the investigator records the severity of symptoms by measuring how many doses of medication are needed for asthma attacks. Then the patients receive relaxation training. For the week following training, the researcher once again records the number of doses required by each patient. Do the data indicate that relaxation training alters the severity of symptoms?
  • 17. Data Subjects Before treatment After treatment A 9 4 B 4 1 C 5 5 D 4 0 E 5 1
  • 18. ? • What is the independent variable? • What is the dependent variable? • What is the degree of freedom? • Operationally define the dependent variable? • What are the scores in the data?