SlideShare uma empresa Scribd logo
1 de 51
Hypothesis Testing
        The Basics

      Advanced Statistics
           SRSTHS
  Mrs. Ma. Cristina C. Pegollo
What is Hypothesis?
       in statistics, is a claim or statement about
    a property of a population
       an educated guess about the population
    parameter
What is hypothesis testing?
     This is the process of making
an inference or generalization on
population parameters based on
the results of the study on
samples.
What is statistical hypothesis?

     It is a guess or prediction
made by the researcher
regarding the possible outcome
of the study.
Fundamentals of
Hypothesis Testing
Central Limit Theorem
    If n (the sample size) is large, the
theoretical sampling distribution of
the mean can be approximated
closely with a normal distribution.


If researchers increase the samples to a considerable
number, the shape of the distribution approximates a
                     normal curve.
Central Limit Theorem
The Expected Distribution of Sample Means
          Assuming that  = 98.6

              Likely sample means




                  µx = 98.6
Figure 7-1   Central Limit Theorem
      The Expected Distribution of Sample Means
                Assuming that  = 98.6


                      Likely sample means




                            µx = 98.6


               z = - 1.96               z=   1.96
                   or                        or
                x = 98.48               x = 98.72
Components of a
Formal Hypothesis
Test
Null Hypothesis: H0
    This is the statement that is under
    investigation or being tested.

    It is always hoped to be rejected.

     Usually the null hypothesis represents a
    statement of “no effect”, “no difference”, or
    , put another way, “things haven’t changed.”
    Must contain condition of equality
    =, , or 
    Reject H0 or fail to reject H0
Alternative Hypothesis: H1
 This is the statement you will adopt in
  the situation in which the evidence
  (data) is so strong that you reject H0
  „opposite‟ of H0

    , <, >
  generally represents the idea which
  the researcher wants to prove.
Example1: Null and Alternate Hypothesis

Example 2

Example 3

Example 4

Example 5

Example 6

Note about Forming Your Own Claims
(Hypotheses)

 If you are conducting a study and
 want to use a hypothesis test to
 support your claim, the claim
 must be worded so that it
 becomes the alternative
 hypothesis.
Note about Testing the Validity of
Someone Else’s Claim

  Someone else’s claim may
 become the null hypothesis
 (because it contains equality), and
 it sometimes becomes the
 alternative hypothesis (because it
 does not contain equality).
Exercises:
Formulate the null and alternative hypotheses of the
following research problems
1. A manager wants to know if the average length of
    time for board meetings is 3 hours.
2. The researchers want to know if the proportion of
    car accidents in Balete Drive has increased from 5%
    of the total car accidents recorded in Quezon City
    in a day.
3. A teacher wants to know if there is a significant
    difference in the academic performance between
    Pasteur and Linnaeus students.
4. The registrar wants to know if the average encoding
    time is lower than 30 minutes.
5. The Discipline officer wants to know if the new
    policy on smoking has reduced the number of
    smokers this year than the previous year.
Test Statistic
a value computed from the sample data that
   is used in making the decision about the
        rejection of the null hypothesis
Test Statistic
a value computed from the sample data that is used in making
     the decision about the rejection of the null hypothesis
 For large samples, testing claims about population means




                            x - µx
                     z=
                                
                                n
Critical Region
Set of all values of the test statistic that would cause a
                       rejection of the
                      null hypothesis
Critical Region
Set of all values of the test statistic that would cause a
                       rejection of the
                      null hypothesis



   Critical
   Region
Critical Region
Set of all values of the test statistic that would cause a
                       rejection of the
                      null hypothesis


                                             Critical
                                             Region
Critical Region
Set of all values of the test statistic that would cause a
                       rejection of the
                      null hypothesis


                                             Critical
                                             Regions
Significance Level
   denoted by 
 the probability that the
test statistic will fall in the
critical region when the null
hypothesis is actually true.
common choices are
0.05, 0.01, and 0.10
Critical Value
Value or values that separate the critical region
 (where we reject the null hypothesis) from the
   values of the test statistics that do not lead
       to a rejection of the null hypothesis
Critical Value
Value or values that separate the critical region
 (where we reject the null hypothesis) from the
   values of the test statistics that do not lead
       to a rejection of the null hypothesis




    Critical Value
     ( z score )
Critical Value
Value or values that separate the critical region
 (where we reject the null hypothesis) from the
   values of the test statistics that do not lead
       to a rejection of the null hypothesis

   Reject H0         Fail to reject H0




    Critical Value
     ( z score )
Two-tailed,Right-tailed,
Left-tailed Tests

 The tails in a distribution are the extreme regions bounded
 by critical values.
Two-tailed Test
   H0: µ = 100
   H1: µ  100
Two-tailed Test
   H0: µ = 100
                  is divided equally between
   H1: µ  100    the two tails of the critical
                            region
Two-tailed Test
      H0: µ = 100
                          is divided equally between
      H1: µ  100         the two tails of the critical
                                    region

Means less than or greater than
Two-tailed Test
      H0: µ = 100
                             is divided equally between
      H1: µ  100               the two tails of the critical
                                          region

Means less than or greater than


      Reject H0    Fail to reject H0      Reject H0




                          100

       Values that differ significantly from 100
Right-tailed Test
       H0: µ  100
       H1: µ > 100
Right-tailed Test
       H0: µ  100
       H1: µ > 100




                     Points Right
Right-tailed Test
            H0: µ  100
            H1: µ > 100




                                 Points Right


    Fail to reject H0     Reject H0




                                          Values that
                                      differ significantly
              100
                                            from 100
Left-tailed Test
      H0: µ  100
      H1: µ < 100
Left-tailed Test
              H0: µ  100
              H1: µ < 100
Points Left
Left-tailed Test
                 H0: µ  100
                 H1: µ < 100
Points Left

                       Reject H0   Fail to reject H0




    Values that
differ significantly                    100
      from 100
Conclusions
    in Hypothesis Testing
 always   test the null hypothesis

 1. Reject the H0

 2. Fail to reject the H0

 need   to formulate correct wording of final conclusion


             See Figure 7-4
FIGURE 7-4              Wording of Final Conclusion
             Start




          Does the                                                          “There is sufficient             (This is the
    original claim contain   Yes                    Do          Yes
                                                 you reject                 evidence to warrant              only case in
       the condition of      (Original claim        H0?.        (Reject H0) rejection of the claim           which the
           equality                                                         that. . . (original claim).”     original claim
                             contains equality
                             and becomes H0)
                                                       No                                                    is rejected).
                                                       (Fail to
                                                                              “There is not sufficient
                 No                                    reject H0)
                                                                              evidence to warrant
                 (Original claim
                                                                              rejection of the claim
                 does not contain
                                                                              that. . . (original claim).”
                 equality and
                 becomes H1)
                                                                                                             (This is the
                                                    Do          Yes            “The sample data              only case in
                                                 you reject                    supports the claim that       which the
                                                    H0?         (Reject H0)     . . . (original claim).”     original claim
                                                       No                                                    is supported).
                                                       (Fail to
                                                       reject H0)             “There is not sufficient
                                                                              evidence to support
                                                                              the claim
                                                                              that. . . (original claim).”
Accept versus Fail to Reject
 some     texts use “accept the null hypothesis

 we    are not proving the null hypothesis

 sample  evidence is not strong enough to warrant
  rejection (such as not enough evidence to convict a
  suspect)

 If   you reject Ho, iit means it is wrong!

 Ifyou fail to reject Ho , it doesn’t mean it is correct –
  you simply do not have enough evidence to reject it!
Type I Error
 The
    mistake of rejecting the null hypothesis
 when it is true.

(alpha) is used to represent the probability
 of a type I error

 Example:Rejecting a claim that the mean
 body temperature is 98.6 degrees when the
 mean really does equal 98.6
Type II Error
 the
    mistake of failing to reject the null
 hypothesis when it is false.

ß (beta) is used to represent the probability of
 a type II error

 Example: Failing to reject the claim that the
 mean body temperature is 98.6 degrees when
 the mean is really different from 98.6
Table 7-2      Type I and Type II Errors
                                         True State of Nature
                                      The null           The null
                                   hypothesis is      hypothesis is
                                        true              false

                                    Type I error
                 We decide to                             Correct
                                  (rejecting a true
                   reject the                             decision
                                  null hypothesis)
                null hypothesis
                                          
    Decision
                                                        Type II error
                   We fail to         Correct         (rejecting a false
                   reject the         decision        null hypothesis)
                null hypothesis
                                                               
Controlling Type I and Type II Errors
 Forany fixed , an increase in the
  sample size n will cause a decrease in 

 For  any fixed sample size n , a decrease
  in  will cause an increase in .
  Conversely, an increase in  will cause a
  decrease in  .

 Todecrease both  and , increase the
  sample size.
Approaches in Hypothesis Testing

    1.   Critical Value Approach

         2.   P-value Approach
5-step solution

Example:
The average score in the final examination
in College Algebra at ABC University is
known to be 80 with a standard deviation
of 10. A random sample of 39 students was
taken from this year’s batch and it was
found that they have a mean score of 84.
Test at 0.05 level of significance.

Mais conteúdo relacionado

Mais procurados

t test using spss
t test using spsst test using spss
t test using spssParag Shah
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introductionGeetika Gulyani
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt finalpiyushdhaker
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Dr Bryan Mills
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesisvikramlawand
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1HanaaBayomy
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...nszakir
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingiamkim
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesisJaspreet1192
 
INFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTIONINFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTIONJohn Labrador
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statisticsewhite00
 

Mais procurados (20)

TEST OF HYPOTHESIS
TEST OF HYPOTHESISTEST OF HYPOTHESIS
TEST OF HYPOTHESIS
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
t test using spss
t test using spsst test using spss
t test using spss
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 
Introduction to t-tests (statistics)
Introduction to t-tests (statistics)Introduction to t-tests (statistics)
Introduction to t-tests (statistics)
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
T distribution
T distributionT distribution
T distribution
 
INFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTIONINFERENTIAL STATISTICS: AN INTRODUCTION
INFERENTIAL STATISTICS: AN INTRODUCTION
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 

Destaque

Introduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec domsIntroduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec domsBabasab Patil
 
Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)shafi khan
 
Four steps to hypothesis testing
Four steps to hypothesis testingFour steps to hypothesis testing
Four steps to hypothesis testingHasnain Baber
 
Research hypothesis
Research hypothesisResearch hypothesis
Research hypothesisNursing Path
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testShakehand with Life
 
Research hypothesis....ppt
Research hypothesis....pptResearch hypothesis....ppt
Research hypothesis....pptRahul Dhaker
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis TestingJeremy Lane
 
Quantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingQuantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingMurni Mohd Yusof
 
Review Z Test Ci 1
Review Z Test Ci 1Review Z Test Ci 1
Review Z Test Ci 1shoffma5
 
NG BB 33 Hypothesis Testing Basics
NG BB 33 Hypothesis Testing BasicsNG BB 33 Hypothesis Testing Basics
NG BB 33 Hypothesis Testing BasicsLeanleaders.org
 
Hypothesis Testing in Six Sigma
Hypothesis Testing in Six SigmaHypothesis Testing in Six Sigma
Hypothesis Testing in Six SigmaBody of Knowledge
 
Developing a Hypothesis and Title for your Experiment
Developing a Hypothesis and Title for your ExperimentDeveloping a Hypothesis and Title for your Experiment
Developing a Hypothesis and Title for your ExperimentJeremy Mularella
 
Formulating hypotheses
Formulating hypothesesFormulating hypotheses
Formulating hypothesesAniket Verma
 
Hypothesis
HypothesisHypothesis
Hypothesis17somya
 

Destaque (20)

Introduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec domsIntroduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec doms
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)Chap#9 hypothesis testing (3)
Chap#9 hypothesis testing (3)
 
Four steps to hypothesis testing
Four steps to hypothesis testingFour steps to hypothesis testing
Four steps to hypothesis testing
 
Research hypothesis
Research hypothesisResearch hypothesis
Research hypothesis
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Research hypothesis....ppt
Research hypothesis....pptResearch hypothesis....ppt
Research hypothesis....ppt
 
Hypothesis
Hypothesis Hypothesis
Hypothesis
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Quantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis TestingQuantitative Data Analysis: Hypothesis Testing
Quantitative Data Analysis: Hypothesis Testing
 
Review Z Test Ci 1
Review Z Test Ci 1Review Z Test Ci 1
Review Z Test Ci 1
 
NG BB 33 Hypothesis Testing Basics
NG BB 33 Hypothesis Testing BasicsNG BB 33 Hypothesis Testing Basics
NG BB 33 Hypothesis Testing Basics
 
Hypothesis Testing in Six Sigma
Hypothesis Testing in Six SigmaHypothesis Testing in Six Sigma
Hypothesis Testing in Six Sigma
 
Developing a Hypothesis and Title for your Experiment
Developing a Hypothesis and Title for your ExperimentDeveloping a Hypothesis and Title for your Experiment
Developing a Hypothesis and Title for your Experiment
 
Formulating hypotheses
Formulating hypothesesFormulating hypotheses
Formulating hypotheses
 
Hypothesis
HypothesisHypothesis
Hypothesis
 

Semelhante a Hypothesis testing

Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesisTesting of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesissvmmcradonco1
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11thangv
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncrEdhole.com
 
Statistics lecture 9 (chapter 8)
Statistics lecture 9 (chapter 8)Statistics lecture 9 (chapter 8)
Statistics lecture 9 (chapter 8)jillmitchell8778
 
teast mean one and two sample
teast mean one and two sampleteast mean one and two sample
teast mean one and two sampleMuzamil Hussain
 
lecture no.7 computation.pptx
lecture no.7 computation.pptxlecture no.7 computation.pptx
lecture no.7 computation.pptxssuser378d7c
 
Study unit 4 (oct 2014)
Study unit 4 (oct 2014)Study unit 4 (oct 2014)
Study unit 4 (oct 2014)vfvfx
 
Study unit 4 (oct 2014)
Study unit 4 (oct 2014)Study unit 4 (oct 2014)
Study unit 4 (oct 2014)vfvfx
 
Hypothesis testing definitions
Hypothesis testing definitionsHypothesis testing definitions
Hypothesis testing definitionsJJkedst
 
Hypothesis_Testing.ppt
Hypothesis_Testing.pptHypothesis_Testing.ppt
Hypothesis_Testing.pptssuserac2a40
 
Biostatistics Made Ridiculously Simple by Dr. Aryan (Medical Booklet Series b...
Biostatistics Made Ridiculously Simple by Dr. Aryan (Medical Booklet Series b...Biostatistics Made Ridiculously Simple by Dr. Aryan (Medical Booklet Series b...
Biostatistics Made Ridiculously Simple by Dr. Aryan (Medical Booklet Series b...Dr. Aryan (Anish Dhakal)
 
Procedure For Hypothesis Testing
Procedure For Hypothesis TestingProcedure For Hypothesis Testing
Procedure For Hypothesis Testingshubham6395
 

Semelhante a Hypothesis testing (20)

Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Testofhypothesis
TestofhypothesisTestofhypothesis
Testofhypothesis
 
FEC 512.05
FEC 512.05FEC 512.05
FEC 512.05
 
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesisTesting of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
Statistics lecture 9 (chapter 8)
Statistics lecture 9 (chapter 8)Statistics lecture 9 (chapter 8)
Statistics lecture 9 (chapter 8)
 
teast mean one and two sample
teast mean one and two sampleteast mean one and two sample
teast mean one and two sample
 
lecture no.7 computation.pptx
lecture no.7 computation.pptxlecture no.7 computation.pptx
lecture no.7 computation.pptx
 
More Statistics
More StatisticsMore Statistics
More Statistics
 
Study unit 4 (oct 2014)
Study unit 4 (oct 2014)Study unit 4 (oct 2014)
Study unit 4 (oct 2014)
 
Study unit 4 (oct 2014)
Study unit 4 (oct 2014)Study unit 4 (oct 2014)
Study unit 4 (oct 2014)
 
Hypothesis testing definitions
Hypothesis testing definitionsHypothesis testing definitions
Hypothesis testing definitions
 
Formulatinghypotheses
Formulatinghypotheses Formulatinghypotheses
Formulatinghypotheses
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Hypothesis_Testing.ppt
Hypothesis_Testing.pptHypothesis_Testing.ppt
Hypothesis_Testing.ppt
 
hypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdfhypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdf
 
Biostatistics Made Ridiculously Simple by Dr. Aryan (Medical Booklet Series b...
Biostatistics Made Ridiculously Simple by Dr. Aryan (Medical Booklet Series b...Biostatistics Made Ridiculously Simple by Dr. Aryan (Medical Booklet Series b...
Biostatistics Made Ridiculously Simple by Dr. Aryan (Medical Booklet Series b...
 
Procedure For Hypothesis Testing
Procedure For Hypothesis TestingProcedure For Hypothesis Testing
Procedure For Hypothesis Testing
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 

Último

Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 

Último (20)

Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 

Hypothesis testing

  • 1. Hypothesis Testing The Basics Advanced Statistics SRSTHS Mrs. Ma. Cristina C. Pegollo
  • 2. What is Hypothesis?  in statistics, is a claim or statement about a property of a population  an educated guess about the population parameter
  • 3. What is hypothesis testing? This is the process of making an inference or generalization on population parameters based on the results of the study on samples.
  • 4. What is statistical hypothesis? It is a guess or prediction made by the researcher regarding the possible outcome of the study.
  • 6. Central Limit Theorem If n (the sample size) is large, the theoretical sampling distribution of the mean can be approximated closely with a normal distribution. If researchers increase the samples to a considerable number, the shape of the distribution approximates a normal curve.
  • 7. Central Limit Theorem The Expected Distribution of Sample Means Assuming that  = 98.6 Likely sample means µx = 98.6
  • 8. Figure 7-1 Central Limit Theorem The Expected Distribution of Sample Means Assuming that  = 98.6 Likely sample means µx = 98.6 z = - 1.96 z= 1.96 or or x = 98.48 x = 98.72
  • 9. Components of a Formal Hypothesis Test
  • 10. Null Hypothesis: H0  This is the statement that is under investigation or being tested.  It is always hoped to be rejected.  Usually the null hypothesis represents a statement of “no effect”, “no difference”, or , put another way, “things haven’t changed.”  Must contain condition of equality  =, , or   Reject H0 or fail to reject H0
  • 11. Alternative Hypothesis: H1 This is the statement you will adopt in the situation in which the evidence (data) is so strong that you reject H0  „opposite‟ of H0  , <, >  generally represents the idea which the researcher wants to prove.
  • 12. Example1: Null and Alternate Hypothesis 
  • 18. Note about Forming Your Own Claims (Hypotheses) If you are conducting a study and want to use a hypothesis test to support your claim, the claim must be worded so that it becomes the alternative hypothesis.
  • 19. Note about Testing the Validity of Someone Else’s Claim Someone else’s claim may become the null hypothesis (because it contains equality), and it sometimes becomes the alternative hypothesis (because it does not contain equality).
  • 20. Exercises: Formulate the null and alternative hypotheses of the following research problems 1. A manager wants to know if the average length of time for board meetings is 3 hours. 2. The researchers want to know if the proportion of car accidents in Balete Drive has increased from 5% of the total car accidents recorded in Quezon City in a day. 3. A teacher wants to know if there is a significant difference in the academic performance between Pasteur and Linnaeus students. 4. The registrar wants to know if the average encoding time is lower than 30 minutes. 5. The Discipline officer wants to know if the new policy on smoking has reduced the number of smokers this year than the previous year.
  • 21. Test Statistic a value computed from the sample data that is used in making the decision about the rejection of the null hypothesis
  • 22. Test Statistic a value computed from the sample data that is used in making the decision about the rejection of the null hypothesis For large samples, testing claims about population means x - µx z=  n
  • 23. Critical Region Set of all values of the test statistic that would cause a rejection of the null hypothesis
  • 24. Critical Region Set of all values of the test statistic that would cause a rejection of the null hypothesis Critical Region
  • 25. Critical Region Set of all values of the test statistic that would cause a rejection of the null hypothesis Critical Region
  • 26. Critical Region Set of all values of the test statistic that would cause a rejection of the null hypothesis Critical Regions
  • 27. Significance Level  denoted by   the probability that the test statistic will fall in the critical region when the null hypothesis is actually true. common choices are 0.05, 0.01, and 0.10
  • 28. Critical Value Value or values that separate the critical region (where we reject the null hypothesis) from the values of the test statistics that do not lead to a rejection of the null hypothesis
  • 29. Critical Value Value or values that separate the critical region (where we reject the null hypothesis) from the values of the test statistics that do not lead to a rejection of the null hypothesis Critical Value ( z score )
  • 30. Critical Value Value or values that separate the critical region (where we reject the null hypothesis) from the values of the test statistics that do not lead to a rejection of the null hypothesis Reject H0 Fail to reject H0 Critical Value ( z score )
  • 31. Two-tailed,Right-tailed, Left-tailed Tests The tails in a distribution are the extreme regions bounded by critical values.
  • 32. Two-tailed Test H0: µ = 100 H1: µ  100
  • 33. Two-tailed Test H0: µ = 100  is divided equally between H1: µ  100 the two tails of the critical region
  • 34. Two-tailed Test H0: µ = 100  is divided equally between H1: µ  100 the two tails of the critical region Means less than or greater than
  • 35. Two-tailed Test H0: µ = 100  is divided equally between H1: µ  100 the two tails of the critical region Means less than or greater than Reject H0 Fail to reject H0 Reject H0 100 Values that differ significantly from 100
  • 36. Right-tailed Test H0: µ  100 H1: µ > 100
  • 37. Right-tailed Test H0: µ  100 H1: µ > 100 Points Right
  • 38. Right-tailed Test H0: µ  100 H1: µ > 100 Points Right Fail to reject H0 Reject H0 Values that differ significantly 100 from 100
  • 39. Left-tailed Test H0: µ  100 H1: µ < 100
  • 40. Left-tailed Test H0: µ  100 H1: µ < 100 Points Left
  • 41. Left-tailed Test H0: µ  100 H1: µ < 100 Points Left Reject H0 Fail to reject H0 Values that differ significantly 100 from 100
  • 42. Conclusions in Hypothesis Testing  always test the null hypothesis 1. Reject the H0 2. Fail to reject the H0  need to formulate correct wording of final conclusion See Figure 7-4
  • 43. FIGURE 7-4 Wording of Final Conclusion Start Does the “There is sufficient (This is the original claim contain Yes Do Yes you reject evidence to warrant only case in the condition of (Original claim H0?. (Reject H0) rejection of the claim which the equality that. . . (original claim).” original claim contains equality and becomes H0) No is rejected). (Fail to “There is not sufficient No reject H0) evidence to warrant (Original claim rejection of the claim does not contain that. . . (original claim).” equality and becomes H1) (This is the Do Yes “The sample data only case in you reject supports the claim that which the H0? (Reject H0) . . . (original claim).” original claim No is supported). (Fail to reject H0) “There is not sufficient evidence to support the claim that. . . (original claim).”
  • 44. Accept versus Fail to Reject  some texts use “accept the null hypothesis  we are not proving the null hypothesis  sample evidence is not strong enough to warrant rejection (such as not enough evidence to convict a suspect)  If you reject Ho, iit means it is wrong!  Ifyou fail to reject Ho , it doesn’t mean it is correct – you simply do not have enough evidence to reject it!
  • 45. Type I Error  The mistake of rejecting the null hypothesis when it is true. (alpha) is used to represent the probability of a type I error  Example:Rejecting a claim that the mean body temperature is 98.6 degrees when the mean really does equal 98.6
  • 46. Type II Error  the mistake of failing to reject the null hypothesis when it is false. ß (beta) is used to represent the probability of a type II error  Example: Failing to reject the claim that the mean body temperature is 98.6 degrees when the mean is really different from 98.6
  • 47. Table 7-2 Type I and Type II Errors True State of Nature The null The null hypothesis is hypothesis is true false Type I error We decide to Correct (rejecting a true reject the decision null hypothesis) null hypothesis  Decision Type II error We fail to Correct (rejecting a false reject the decision null hypothesis) null hypothesis 
  • 48. Controlling Type I and Type II Errors  Forany fixed , an increase in the sample size n will cause a decrease in   For any fixed sample size n , a decrease in  will cause an increase in . Conversely, an increase in  will cause a decrease in  .  Todecrease both  and , increase the sample size.
  • 49. Approaches in Hypothesis Testing 1. Critical Value Approach 2. P-value Approach
  • 51. Example: The average score in the final examination in College Algebra at ABC University is known to be 80 with a standard deviation of 10. A random sample of 39 students was taken from this year’s batch and it was found that they have a mean score of 84. Test at 0.05 level of significance.