SlideShare a Scribd company logo
1 of 26
AGUSTIN.DE
VILLA.DOMINGO.VERZOSA
III-BECQUEREL
T-TEST FOR INDEPENDENT
VARIABLES
WHAT IS THIS TEST?
 The t-test assesses whether the means
of two groups are statistically different
from each other. This analysis is
appropriate whenever you want to
compare the means of two groups, and
especially appropriate as the analysis
for the posttest-only two-group
randomized experimental design.
WHAT IS THIS TEST?
 The test statistic in the t-test is known as
the t-statistic. The t-test looks at the t-
statistic, t-distribution and degrees of
freedom to determine a p value
(probability) that can be used to determine
whether the population means differ. The t-
test is one of a number of hypothesis tests.
To compare three or more variables,
statisticians use an analysis of variance
(ANOVA). If the sample size is large, they
use a z-test. Other hypothesis tests include
the chi-square test and f-test.
WHAT IS THIS TEST?
 A statistical examination of two population
means.
 A two-sample t-test examines whether two
samples are different and is commonly
used when the variances of two normal
distributions are unknown and when an
experiment uses a small sample size. For
example, a t-test could be used to compare
the average floor routine score of the U.S.
women's Olympic gymnastic team to the
average floor routine score of China's
WHERE IS IT USED?
Hypothesis for the independent t-test
 The null hypothesis for the independent t-test is that the
population means from the two unrelated groups are
equal:
 H0: u1 = u2
 In most cases, we are looking to see if we can show that
we can reject the null hypothesis and accept the
alternative hypothesis, which is that the population means
are not equal:
 HA: u1 ≠ u2
 To do this, we need to set a significance level (alpha) that
allows us to either reject or accept the alternative
hypothesis. Most commonly, this value is set at 0.05.
What do you need to run an
independent t-test?
 In order to run an independent t-
test, you need the following:
 One independent, categorical variable that has
two levels.
 One dependent variable.
Unrelated groups
 Unrelated groups, also called unpaired groups or
independent groups, are groups in which the
cases in each group are different. Often we are
investigating differences in individuals, which
means that when comparing two groups, an
individual in one group cannot also be a member
of the other group and vice versa. An example
would be gender - an individual would have to be
classified as either male or female - not both.
STEPS
Determine the null and
alternative hypothesis.
Determine α
STEPS
Create four columns: "x",
"(x-Mx)2", "y", "(y-My)2"
Put the raw data for group
X in column x, and for
group Y in column y
STEPS
Calculate the mean for
both groups
STEPS
Calculate deviation scores
for each group by subtracting
each score from it's group
mean and squaring it and put
these in the columns "(x-
Mx)2" and "(y-My)2"
STEPS
Sum the squared
deviation scores
for each group
STEPS
Calculate S2 for
each group
x = individual scores
M = mean
n= number of scores in
group
STEPS
Set up formula
Calculate t
M = mean
n = number of scores per group
STEPS
Check to see if t is statistically
significant on probability table
with df = N-2 and p < .05 (N =
total number of scores)
PROBLEM
 Sam Sleepresearcher hypothesizes that people
who are allowed to sleep for only four hours will
score significantly lower than people who are
allowed to sleep for eight hours on a cognitive
skills test. He brings sixteen participants into his
sleep lab and randomly assigns them to one of
two groups. In one group he has participants
sleep for eight hours and in the other group he
has them sleep for four. The next morning he
administers the SCAT (Sam's Cognitive Ability
Test) to all participants. (Scores on the SCAT
range from 1-9 with high scores representing
better performance).
DATA TABLE
SCAT scores
8 hours sleep group (X) 5 7 5 3 5 3 3 9
4 hours sleep group (Y) 8 1 4 6 6 4 1 2
STEP 1
 Null hypothesis: People who are allowed to
sleep for only four hours will not score
significantly lower than people who are
allowed to sleep for eight hours on a cognitive
skills test.
 Alternative Hypothesis: People who are
allowed to sleep for only four hours will score
significantly lower than people who are
allowed to sleep for eight hours on a cognitive
skills test.
STEP 2
x (x-Mx)2 y (y - My)2
5 0 8 16
7 4 1 9
5 0 4 0
3 4 6 4
5 0 6 4
3 4 4 0
3 4 1 9
9 16 2 4
STEP 3
x (x-Mx)2 y (y - My)2
5 0 8 16
7 4 1 9
5 0 4 0
3 4 6 4
5 0 6 4
3 4 4 0
3 4 1 9
9 16 2 4
STEP 4
x (x-Mx)2 y (y - My)2
5 0 8 16
7 4 1 9
5 0 4 0
3 4 6 4
5 0 6 4
3 4 4 0
3 4 1 9
9 16 2 4
x=40 (x-Mx)2=32 y=32 (y-My)2=46
Mx=5 My=4
STEP 5
CALCULATE
FOR t.
STEP 6
According to the t
sig/probability table with df =
14, t must be at least 2.145
to reach p < .05, so this
difference is not statistically
significant
INTERPRETATION
Sam's hypothesis was not
confirmed. He did not find a
significant difference between
those who slept for four hours
versus those who slept for eight
hours on cognitive test
performance.

More Related Content

What's hot

T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anova
Qasim Raza
 

What's hot (20)

Experimental Research Design
Experimental Research DesignExperimental Research Design
Experimental Research Design
 
Estimating a Population Mean
Estimating a Population Mean  Estimating a Population Mean
Estimating a Population Mean
 
What is an independent samples-t test?
What is an independent samples-t test?What is an independent samples-t test?
What is an independent samples-t test?
 
Kruskal wallis test
Kruskal wallis testKruskal wallis test
Kruskal wallis test
 
The Kruskal-Wallis H Test
The Kruskal-Wallis H TestThe Kruskal-Wallis H Test
The Kruskal-Wallis H Test
 
Two sample t-test
Two sample t-testTwo sample t-test
Two sample t-test
 
Advanced statistics Lesson 1
Advanced statistics Lesson 1Advanced statistics Lesson 1
Advanced statistics Lesson 1
 
Comparative Research Method. t.mohamed
Comparative Research Method. t.mohamedComparative Research Method. t.mohamed
Comparative Research Method. t.mohamed
 
Frequency Distribution
Frequency DistributionFrequency Distribution
Frequency Distribution
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
 
Sign test
Sign testSign test
Sign test
 
Parametric tests
Parametric  testsParametric  tests
Parametric tests
 
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
 
Meaning and Importance of Statistics
Meaning and Importance of StatisticsMeaning and Importance of Statistics
Meaning and Importance of Statistics
 
Friedman Test- A Presentation
Friedman Test- A PresentationFriedman Test- A Presentation
Friedman Test- A Presentation
 
Bbs11 ppt ch12
Bbs11 ppt ch12Bbs11 ppt ch12
Bbs11 ppt ch12
 
Two way analysis of variance (anova)
Two way analysis of variance (anova)Two way analysis of variance (anova)
Two way analysis of variance (anova)
 
Mann Whitney U Test
Mann Whitney U TestMann Whitney U Test
Mann Whitney U Test
 
Measures of Variability
Measures of VariabilityMeasures of Variability
Measures of Variability
 
Shapiro wilk test
Shapiro wilk testShapiro wilk test
Shapiro wilk test
 

Similar to T test for independent variables

Assessment 3 ContextYou will review the theory, logic, and a.docx
Assessment 3 ContextYou will review the theory, logic, and a.docxAssessment 3 ContextYou will review the theory, logic, and a.docx
Assessment 3 ContextYou will review the theory, logic, and a.docx
galerussel59292
 
WEEK 6 – EXERCISES Enter your answers in the spaces pr.docx
WEEK 6 – EXERCISES Enter your answers in the spaces pr.docxWEEK 6 – EXERCISES Enter your answers in the spaces pr.docx
WEEK 6 – EXERCISES Enter your answers in the spaces pr.docx
wendolynhalbert
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docx
galerussel59292
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docx
festockton
 
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1 .docx
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1  .docx6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1  .docx
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1 .docx
alinainglis
 

Similar to T test for independent variables (20)

Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric) Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
 
Assessment 3 ContextYou will review the theory, logic, and a.docx
Assessment 3 ContextYou will review the theory, logic, and a.docxAssessment 3 ContextYou will review the theory, logic, and a.docx
Assessment 3 ContextYou will review the theory, logic, and a.docx
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
WEEK 6 – EXERCISES Enter your answers in the spaces pr.docx
WEEK 6 – EXERCISES Enter your answers in the spaces pr.docxWEEK 6 – EXERCISES Enter your answers in the spaces pr.docx
WEEK 6 – EXERCISES Enter your answers in the spaces pr.docx
 
Ttest
TtestTtest
Ttest
 
T test
T test T test
T test
 
Parametric & non-parametric
Parametric & non-parametricParametric & non-parametric
Parametric & non-parametric
 
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptx
 
GROUP 08 .pptx
GROUP 08 .pptxGROUP 08 .pptx
GROUP 08 .pptx
 
Basics of Educational Statistics (T-test)
Basics of Educational Statistics (T-test)Basics of Educational Statistics (T-test)
Basics of Educational Statistics (T-test)
 
Mann- Whitney Test.pptx
Mann- Whitney Test.pptxMann- Whitney Test.pptx
Mann- Whitney Test.pptx
 
Power study: 1-way anova vs kruskall wallis
Power study: 1-way anova vs kruskall wallisPower study: 1-way anova vs kruskall wallis
Power study: 1-way anova vs kruskall wallis
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docx
 
hypothesis testing.pptx
hypothesis testing.pptxhypothesis testing.pptx
hypothesis testing.pptx
 
Statistics for Anaesthesiologists
Statistics for AnaesthesiologistsStatistics for Anaesthesiologists
Statistics for Anaesthesiologists
 
Assessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docxAssessment 4 ContextRecall that null hypothesis tests are of.docx
Assessment 4 ContextRecall that null hypothesis tests are of.docx
 
non para.doc
non para.docnon para.doc
non para.doc
 
REVISION SLIDES 2.pptx
REVISION SLIDES 2.pptxREVISION SLIDES 2.pptx
REVISION SLIDES 2.pptx
 
Medical Statistics Part-II:Inferential statistics
Medical Statistics Part-II:Inferential  statisticsMedical Statistics Part-II:Inferential  statistics
Medical Statistics Part-II:Inferential statistics
 
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1 .docx
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1  .docx6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1  .docx
6ONE-WAY BETWEEN-SUBJECTS ANALYSIS OFVARIANCE6.1 .docx
 

Recently uploaded

Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Sheetaleventcompany
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
dlhescort
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
lizamodels9
 

Recently uploaded (20)

SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 MonthsSEO Case Study: How I Increased SEO Traffic & Ranking by 50-60%  in 6 Months
SEO Case Study: How I Increased SEO Traffic & Ranking by 50-60% in 6 Months
 
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
Call Girls In Majnu Ka Tilla 959961~3876 Shot 2000 Night 8000
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort ServiceEluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 

T test for independent variables

  • 2. WHAT IS THIS TEST?  The t-test assesses whether the means of two groups are statistically different from each other. This analysis is appropriate whenever you want to compare the means of two groups, and especially appropriate as the analysis for the posttest-only two-group randomized experimental design.
  • 3. WHAT IS THIS TEST?  The test statistic in the t-test is known as the t-statistic. The t-test looks at the t- statistic, t-distribution and degrees of freedom to determine a p value (probability) that can be used to determine whether the population means differ. The t- test is one of a number of hypothesis tests. To compare three or more variables, statisticians use an analysis of variance (ANOVA). If the sample size is large, they use a z-test. Other hypothesis tests include the chi-square test and f-test.
  • 4. WHAT IS THIS TEST?  A statistical examination of two population means.  A two-sample t-test examines whether two samples are different and is commonly used when the variances of two normal distributions are unknown and when an experiment uses a small sample size. For example, a t-test could be used to compare the average floor routine score of the U.S. women's Olympic gymnastic team to the average floor routine score of China's
  • 5. WHERE IS IT USED?
  • 6. Hypothesis for the independent t-test  The null hypothesis for the independent t-test is that the population means from the two unrelated groups are equal:  H0: u1 = u2  In most cases, we are looking to see if we can show that we can reject the null hypothesis and accept the alternative hypothesis, which is that the population means are not equal:  HA: u1 ≠ u2  To do this, we need to set a significance level (alpha) that allows us to either reject or accept the alternative hypothesis. Most commonly, this value is set at 0.05.
  • 7. What do you need to run an independent t-test?  In order to run an independent t- test, you need the following:  One independent, categorical variable that has two levels.  One dependent variable.
  • 8. Unrelated groups  Unrelated groups, also called unpaired groups or independent groups, are groups in which the cases in each group are different. Often we are investigating differences in individuals, which means that when comparing two groups, an individual in one group cannot also be a member of the other group and vice versa. An example would be gender - an individual would have to be classified as either male or female - not both.
  • 9. STEPS Determine the null and alternative hypothesis. Determine α
  • 10. STEPS Create four columns: "x", "(x-Mx)2", "y", "(y-My)2" Put the raw data for group X in column x, and for group Y in column y
  • 11. STEPS Calculate the mean for both groups
  • 12. STEPS Calculate deviation scores for each group by subtracting each score from it's group mean and squaring it and put these in the columns "(x- Mx)2" and "(y-My)2"
  • 13. STEPS Sum the squared deviation scores for each group
  • 14. STEPS Calculate S2 for each group x = individual scores M = mean n= number of scores in group
  • 15. STEPS Set up formula Calculate t M = mean n = number of scores per group
  • 16. STEPS Check to see if t is statistically significant on probability table with df = N-2 and p < .05 (N = total number of scores)
  • 17.
  • 18. PROBLEM  Sam Sleepresearcher hypothesizes that people who are allowed to sleep for only four hours will score significantly lower than people who are allowed to sleep for eight hours on a cognitive skills test. He brings sixteen participants into his sleep lab and randomly assigns them to one of two groups. In one group he has participants sleep for eight hours and in the other group he has them sleep for four. The next morning he administers the SCAT (Sam's Cognitive Ability Test) to all participants. (Scores on the SCAT range from 1-9 with high scores representing better performance).
  • 19. DATA TABLE SCAT scores 8 hours sleep group (X) 5 7 5 3 5 3 3 9 4 hours sleep group (Y) 8 1 4 6 6 4 1 2
  • 20. STEP 1  Null hypothesis: People who are allowed to sleep for only four hours will not score significantly lower than people who are allowed to sleep for eight hours on a cognitive skills test.  Alternative Hypothesis: People who are allowed to sleep for only four hours will score significantly lower than people who are allowed to sleep for eight hours on a cognitive skills test.
  • 21. STEP 2 x (x-Mx)2 y (y - My)2 5 0 8 16 7 4 1 9 5 0 4 0 3 4 6 4 5 0 6 4 3 4 4 0 3 4 1 9 9 16 2 4
  • 22. STEP 3 x (x-Mx)2 y (y - My)2 5 0 8 16 7 4 1 9 5 0 4 0 3 4 6 4 5 0 6 4 3 4 4 0 3 4 1 9 9 16 2 4
  • 23. STEP 4 x (x-Mx)2 y (y - My)2 5 0 8 16 7 4 1 9 5 0 4 0 3 4 6 4 5 0 6 4 3 4 4 0 3 4 1 9 9 16 2 4 x=40 (x-Mx)2=32 y=32 (y-My)2=46 Mx=5 My=4
  • 25. STEP 6 According to the t sig/probability table with df = 14, t must be at least 2.145 to reach p < .05, so this difference is not statistically significant
  • 26. INTERPRETATION Sam's hypothesis was not confirmed. He did not find a significant difference between those who slept for four hours versus those who slept for eight hours on cognitive test performance.