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

Introduction to Analysis of Variance
Introduction to Analysis of VarianceIntroduction to Analysis of Variance
Introduction to Analysis of Variancejasondroesch
 
Mann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsMann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsTransweb Global Inc
 
Absolute Measures of dispersion
Absolute Measures of dispersionAbsolute Measures of dispersion
Absolute Measures of dispersionAyushi Jain
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaQasim Raza
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank testBiswash Sapkota
 
Frequency distribution
Frequency distributionFrequency distribution
Frequency distributionAishwarya PT
 
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?Ken Plummer
 
One Sample T Test
One Sample T TestOne Sample T Test
One Sample T Testshoffma5
 
Chi square test
Chi square testChi square test
Chi square testNayna Azad
 
Statistics-Measures of dispersions
Statistics-Measures of dispersionsStatistics-Measures of dispersions
Statistics-Measures of dispersionsCapricorn
 

What's hot (20)

Chi – square test
Chi – square testChi – square test
Chi – square test
 
The Sign Test
The Sign TestThe Sign Test
The Sign Test
 
Introduction to Analysis of Variance
Introduction to Analysis of VarianceIntroduction to Analysis of Variance
Introduction to Analysis of Variance
 
Student T - test
Student T -  testStudent T -  test
Student T - test
 
Mann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsMann Whitney U Test | Statistics
Mann Whitney U Test | Statistics
 
Absolute Measures of dispersion
Absolute Measures of dispersionAbsolute Measures of dispersion
Absolute Measures of dispersion
 
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
 
Non parametric presentation
Non parametric presentationNon parametric presentation
Non parametric presentation
 
Paired t Test
Paired t TestPaired t Test
Paired t Test
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank test
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 
Z-test
Z-testZ-test
Z-test
 
Frequency distribution
Frequency distributionFrequency distribution
Frequency distribution
 
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?
 
T test
T testT test
T test
 
VARIANCE
VARIANCEVARIANCE
VARIANCE
 
One Sample T Test
One Sample T TestOne Sample T Test
One Sample T Test
 
Chi square test
Chi square testChi square test
Chi square test
 
T test statistic
T test statisticT test statistic
T test statistic
 
Statistics-Measures of dispersions
Statistics-Measures of dispersionsStatistics-Measures of dispersions
Statistics-Measures of dispersions
 

Similar to T test for independent variables

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) Dexlab Analytics
 
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.docxgalerussel59292
 
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.docxwendolynhalbert
 
Parametric & non-parametric
Parametric & non-parametricParametric & non-parametric
Parametric & non-parametricSoniaBabaee
 
Marketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxMarketing Research Hypothesis Testing.pptx
Marketing Research Hypothesis Testing.pptxxababid981
 
Basics of Educational Statistics (T-test)
Basics of Educational Statistics (T-test)Basics of Educational Statistics (T-test)
Basics of Educational Statistics (T-test)HennaAnsari
 
Mann- Whitney Test.pptx
Mann- Whitney Test.pptxMann- Whitney Test.pptx
Mann- Whitney Test.pptxEchaACagalitan
 
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 wallisDon Cua
 
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.docxgalerussel59292
 
hypothesis testing.pptx
hypothesis testing.pptxhypothesis testing.pptx
hypothesis testing.pptxRUELLICANTO1
 
Statistics for Anaesthesiologists
Statistics for AnaesthesiologistsStatistics for Anaesthesiologists
Statistics for Anaesthesiologistsxeonfusion
 
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.docxfestockton
 
REVISION SLIDES 2.pptx
REVISION SLIDES 2.pptxREVISION SLIDES 2.pptx
REVISION SLIDES 2.pptxssuser0bb1f22
 
Medical Statistics Part-II:Inferential statistics
Medical Statistics Part-II:Inferential  statisticsMedical Statistics Part-II:Inferential  statistics
Medical Statistics Part-II:Inferential statisticsRamachandra Barik
 
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 .docxalinainglis
 

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

Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Associazione Digital Days
 
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxGo for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxRakhi Bazaar
 
Technical Leaders - Working with the Management Team
Technical Leaders - Working with the Management TeamTechnical Leaders - Working with the Management Team
Technical Leaders - Working with the Management TeamArik Fletcher
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerAggregage
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesDoe Paoro
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...Operational Excellence Consulting
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024Adnet Communications
 
Pitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckPitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckHajeJanKamps
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Anamaria Contreras
 
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdfChris Skinner
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Peter Ward
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMVoces Mineras
 
Healthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterHealthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterJamesConcepcion7
 
NAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataNAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdfMintel Group
 
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxThe-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxmbikashkanyari
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfShashank Mehta
 
20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdfChris Skinner
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...ssuserf63bd7
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfJamesConcepcion7
 

Recently uploaded (20)

Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
 
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxGo for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
 
Technical Leaders - Working with the Management Team
Technical Leaders - Working with the Management TeamTechnical Leaders - Working with the Management Team
Technical Leaders - Working with the Management Team
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon Harmer
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic Experiences
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024
 
Pitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckPitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deck
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.
 
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQM
 
Healthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare NewsletterHealthcare Feb. & Mar. Healthcare Newsletter
Healthcare Feb. & Mar. Healthcare Newsletter
 
NAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataNAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors Data
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
 
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxThe-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdf
 
20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
 
WSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdfWSMM Media and Entertainment Feb_March_Final.pdf
WSMM Media and Entertainment Feb_March_Final.pdf
 

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.