SlideShare a Scribd company logo
1 of 23
Statistical Inference
Hypothesis Testing
•   What is a statistical hypothesis?
•   What is so important about it?
•   What is a rejection region?
•   What does it mean to say that a finding is
    statistically significant?
•   Describe Type I and Type II errors.
Hypothesis Testing
• Task: Statement about unknown vales of population
  parameters in terms of sample information
• Elements of a hypothesis test:
   – Null hypothesis (H0 ) - Statement on the value(s) of unknown
     parameter(s);
   – Alternative hypothesis - Statement contradictory to the null
     hypothesis
   – Test statistic – Estimate based on sample information and null
     hypothesis used to test between null and alternative
     hypotheses
   – Rejection (Critical) region – Range of value on the test statistic
     for which we reject the null in favor of the alternative
     hypothesis
Hypothesis Testing
      True State        H0 True          HA True


Decision
Do not reject                       Type II Error
Null               Correct Decision P(Type II)=

Reject Null        Type I Error      Correct Decision
                   p(Type I)=        Power=1-
Critical Value
• Critical value: Value that separates the
  critical (rejection) region from the
  values of the test statistic that do not
  lead to rejection of the null hypothesis,
  given the sampling distribution and the
  significance level .
Significance Level
• The significance level ( ): Probability of
  the test statistic falling in the critical
  region under a valid null hypothesis.
• : Conventional Choices for are 0.05,
  0.01, and 0.10.
• p-value: Probability of observing the
  test statistic under the null hypothesis
Significance Level and Power
• Level of significance: Probability that the test
  rejects the null hypothesis on the assumption
  that the null hypothesis is true.
• Power of a test: Probability that that the test
  rejects the null hypothesis on the assumption
  that that alternative hypothesis is true.
Test of Hypothesis: Interpretations
• Rejecting the null hypothesis
• Do not reject H0 : Does not mean that H0 is true;
  nor that the data supports H0.If the observations
  are few, the test would not have the power, that
  is, difficult for a test to reject a false null H0.
• Reject H0 does not mean that HA is true. It
  means that either H0 is false or the event has
  probability no larger than the significance level.
Statistical Significance vs. Practical
               Importance
• An effect may be of importance but not
  statistically significant because of sample
  limitations (poor quality or few
  observations).
• The effect may not be of much policy
  significance in terms of impact but still
  statistically significant due to high quality of
  data.
Hypothesis Testing: Steps
• State the maintained hypothesis.
• State the null & alternative hypotheses.
• Choose the test statistic and estimate its value.
• Specify the sampling distribution of the test
  statistics under the null hypothesis.
• Determine the critical value(s) corresponding to
  a significance level.
• Determine the p-value for the test statistic.
• State the conclusion of a hypothesis test in
  simple, nontechnical terms.
Hypothesis Testing: Rationale
• We infer that the assumption is probably
  incorrect given the maintained and null
  hypotheses, if the probability of getting the
  sample is exceptionally small.
• Please note that the null hypothesis contains
  equality. Comparing the assumption and the
  sample results, we infer one of the
  following:
Hypothesis Testing: Rationale
• Under the null hypothesis, if the probability
  of observing the sample estimate is
  high, discrepancy between the assumption
  and the sample estimate, if any, is due to
  chance.
• If this probability is very low, even relatively
  large discrepancy between the assumption
  and the sample is due to invalid null
  hypothesis.
Test of Hypothesis: Population Means
• Assumptions:
1) Simple random sample
2) Population variance is known
3) Population distribution is normal or sample
  size is more than 30
Test of Hypothesis: Population Means
               Known population variance

• Test statistic

                         x – µx
               z=
                            n
Two Tail Test
One- and Two Tail Tests
One-Tail Test   Two-Tail Test   One-Tail Test
 (left tail)                     (right tail)
Test of Hypothesis: Population Means
• Assumptions:
1) Simple random sample
2) Population variance is unknown
3) Population distribution is normal or sample
  size is more than 30
Test of Hypothesis: Population Means
              Unknown population variance

• Test statistic
                      x –µx
                    t= s
                       n
Student’s t-test: An Illustration
• Question: The diameter of some ball for
  study is specified to be one meter. A random
  sample of 10 such balls is selected to check
  the specification. The sample selected gave
  the following
  measurements:1.01, 1.01, 1.02, 1.00, 0.99, 0.
  99, 1.02, 1.02, 1.00, 1.02
• Is there any reason to believe that there has
  been a change in the average diameter?
Student’s t-test
• Level of significance = 0.05
• Maintained hypothesis: Distribution of
  diameters is normal
• n = 10
• H0 : m = 1.0
• HA : m <> 1.0
• Sample mean = 1.008
Student’s t-test
•   Estimate of population variance = 0.000151
•   Std. deviation = 0.012288
•   t-statistic = 1.953125 (9 d.f.)
•   t(9,0.05) = 2.262
•   Computed t < tabulated t
•   Do not reject H0
•   Conclusion: Sample information supports the
    hypothesis that the average diameter of the ball
    is one meter.
What would be the sampling
distribution of a sample mean from
a normally distributed population?
      Sample mean from a normal
    population will also be normally
    distributed for any sample size n
Central Limit Theorem
• The sampling distribution of mean of n
  sample observations from any population
  would be approximately normal when n is
  sufficiently large.

More Related Content

What's hot (20)

STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Tests of Significance: The Basics Concepts
Tests of Significance: The Basics ConceptsTests of Significance: The Basics Concepts
Tests of Significance: The Basics Concepts
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-test
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Variable inferential statistics
Variable inferential statisticsVariable inferential statistics
Variable inferential statistics
 
8.1
8.18.1
8.1
 
Statistics Presentation week 7
Statistics Presentation week 7Statistics Presentation week 7
Statistics Presentation week 7
 
Introduction to Hypothesis Testing
Introduction to Hypothesis TestingIntroduction to Hypothesis Testing
Introduction to Hypothesis Testing
 
Statistical significance
Statistical significanceStatistical significance
Statistical significance
 
Hypothesis testing lectures
Hypothesis testing lectures Hypothesis testing lectures
Hypothesis testing lectures
 
Tests of significance Periodontology
Tests of significance PeriodontologyTests of significance Periodontology
Tests of significance Periodontology
 
Introduction to the t Statistic
Introduction to the t StatisticIntroduction to the t Statistic
Introduction to the t Statistic
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 

Similar to Topic 7 stat inference

Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1HanaaBayomy
 
Test of significance in Statistics
Test of significance in StatisticsTest of significance in Statistics
Test of significance in StatisticsVikash Keshri
 
Chapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.pptChapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.pptHasanGilani3
 
Hypothesis_Testing.ppt
Hypothesis_Testing.pptHypothesis_Testing.ppt
Hypothesis_Testing.pptssuserac2a40
 
Chapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptxChapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptxNELVINNOOL1
 
Hypothesis testing definitions
Hypothesis testing definitionsHypothesis testing definitions
Hypothesis testing definitionsJJkedst
 
Day-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxDay-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxrjaisankar
 
hypothesis testing
 hypothesis testing hypothesis testing
hypothesis testingzoheb khan
 
TOPIC- HYPOTHESIS TESTING RMS.pptx
TOPIC- HYPOTHESIS TESTING  RMS.pptxTOPIC- HYPOTHESIS TESTING  RMS.pptx
TOPIC- HYPOTHESIS TESTING RMS.pptxanamikamishra29
 
teast mean one and two sample
teast mean one and two sampleteast mean one and two sample
teast mean one and two sampleMuzamil Hussain
 

Similar to Topic 7 stat inference (20)

Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
BBA 020
BBA 020BBA 020
BBA 020
 
Test of significance in Statistics
Test of significance in StatisticsTest of significance in Statistics
Test of significance in Statistics
 
Testing of Hypothesis
Testing of Hypothesis Testing of Hypothesis
Testing of Hypothesis
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
7 hypothesis testing
7 hypothesis testing7 hypothesis testing
7 hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Chapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.pptChapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.ppt
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis_Testing.ppt
Hypothesis_Testing.pptHypothesis_Testing.ppt
Hypothesis_Testing.ppt
 
Chapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptxChapter 18 Hypothesis testing (1).pptx
Chapter 18 Hypothesis testing (1).pptx
 
Ds 2251 -_hypothesis test
Ds 2251 -_hypothesis testDs 2251 -_hypothesis test
Ds 2251 -_hypothesis test
 
Hypothesis testing definitions
Hypothesis testing definitionsHypothesis testing definitions
Hypothesis testing definitions
 
Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
 
312320.pptx
312320.pptx312320.pptx
312320.pptx
 
Day-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxDay-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptx
 
hypothesis.pptx
hypothesis.pptxhypothesis.pptx
hypothesis.pptx
 
hypothesis testing
 hypothesis testing hypothesis testing
hypothesis testing
 
TOPIC- HYPOTHESIS TESTING RMS.pptx
TOPIC- HYPOTHESIS TESTING  RMS.pptxTOPIC- HYPOTHESIS TESTING  RMS.pptx
TOPIC- HYPOTHESIS TESTING RMS.pptx
 
teast mean one and two sample
teast mean one and two sampleteast mean one and two sample
teast mean one and two sample
 

More from Sizwan Ahammed

Topic 21 evidence on diet diversity
Topic 21 evidence on diet diversityTopic 21 evidence on diet diversity
Topic 21 evidence on diet diversitySizwan Ahammed
 
Topic 21 diet diversity
Topic 21 diet diversityTopic 21 diet diversity
Topic 21 diet diversitySizwan Ahammed
 
Topic 21 diet diversity stata
Topic 21  diet diversity stataTopic 21  diet diversity stata
Topic 21 diet diversity stataSizwan Ahammed
 
Topic 20 anthropomeric indicators
Topic 20 anthropomeric indicatorsTopic 20 anthropomeric indicators
Topic 20 anthropomeric indicatorsSizwan Ahammed
 
Topic 20 anthro meaurement
Topic 20 anthro meaurementTopic 20 anthro meaurement
Topic 20 anthro meaurementSizwan Ahammed
 
Topic 20 anthro meaurement230312
Topic 20 anthro meaurement230312Topic 20 anthro meaurement230312
Topic 20 anthro meaurement230312Sizwan Ahammed
 
Topic 19 inequality stata
Topic 19 inequality stataTopic 19 inequality stata
Topic 19 inequality stataSizwan Ahammed
 
Topic 18 multiple regression
Topic 18 multiple regressionTopic 18 multiple regression
Topic 18 multiple regressionSizwan Ahammed
 
Topic17 regression spss
Topic17 regression spssTopic17 regression spss
Topic17 regression spssSizwan Ahammed
 
Topic 15 correlation spss
Topic 15 correlation spssTopic 15 correlation spss
Topic 15 correlation spssSizwan Ahammed
 
Topic 14 maternal education
Topic 14 maternal educationTopic 14 maternal education
Topic 14 maternal educationSizwan Ahammed
 
Topic 13 con pattern spss
Topic 13 con pattern spssTopic 13 con pattern spss
Topic 13 con pattern spssSizwan Ahammed
 

More from Sizwan Ahammed (20)

Topic 21 evidence on diet diversity
Topic 21 evidence on diet diversityTopic 21 evidence on diet diversity
Topic 21 evidence on diet diversity
 
Topic 21 diet diversity
Topic 21 diet diversityTopic 21 diet diversity
Topic 21 diet diversity
 
Topic 21 diet diversity stata
Topic 21  diet diversity stataTopic 21  diet diversity stata
Topic 21 diet diversity stata
 
Topic 20 anthropomeric indicators
Topic 20 anthropomeric indicatorsTopic 20 anthropomeric indicators
Topic 20 anthropomeric indicators
 
Topic 20 anthro meaurement
Topic 20 anthro meaurementTopic 20 anthro meaurement
Topic 20 anthro meaurement
 
Topic 20 anthro meaurement230312
Topic 20 anthro meaurement230312Topic 20 anthro meaurement230312
Topic 20 anthro meaurement230312
 
Topic 20 anthro stata
Topic 20 anthro stataTopic 20 anthro stata
Topic 20 anthro stata
 
Topic 19 inequaltiy
Topic 19 inequaltiyTopic 19 inequaltiy
Topic 19 inequaltiy
 
Topic 19 inequality stata
Topic 19 inequality stataTopic 19 inequality stata
Topic 19 inequality stata
 
Topic 18 multiple regression
Topic 18 multiple regressionTopic 18 multiple regression
Topic 18 multiple regression
 
Topic 17 regression
Topic 17 regressionTopic 17 regression
Topic 17 regression
 
Topic17 regression spss
Topic17 regression spssTopic17 regression spss
Topic17 regression spss
 
Topic 16 poverty(ii)
Topic 16 poverty(ii)Topic 16 poverty(ii)
Topic 16 poverty(ii)
 
Topic 16 poverty(i)
Topic 16 poverty(i)Topic 16 poverty(i)
Topic 16 poverty(i)
 
Topic 15 correlation spss
Topic 15 correlation spssTopic 15 correlation spss
Topic 15 correlation spss
 
Topic 15 correlation
Topic 15 correlationTopic 15 correlation
Topic 15 correlation
 
Topic 14 two anova
Topic 14 two anovaTopic 14 two anova
Topic 14 two anova
 
Topic 14 maternal education
Topic 14 maternal educationTopic 14 maternal education
Topic 14 maternal education
 
Topic 13 cons pattern
Topic 13 cons patternTopic 13 cons pattern
Topic 13 cons pattern
 
Topic 13 con pattern spss
Topic 13 con pattern spssTopic 13 con pattern spss
Topic 13 con pattern spss
 

Recently uploaded

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 

Recently uploaded (20)

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Topic 7 stat inference

  • 2. Hypothesis Testing • What is a statistical hypothesis? • What is so important about it? • What is a rejection region? • What does it mean to say that a finding is statistically significant? • Describe Type I and Type II errors.
  • 3. Hypothesis Testing • Task: Statement about unknown vales of population parameters in terms of sample information • Elements of a hypothesis test: – Null hypothesis (H0 ) - Statement on the value(s) of unknown parameter(s); – Alternative hypothesis - Statement contradictory to the null hypothesis – Test statistic – Estimate based on sample information and null hypothesis used to test between null and alternative hypotheses – Rejection (Critical) region – Range of value on the test statistic for which we reject the null in favor of the alternative hypothesis
  • 4. Hypothesis Testing True State H0 True HA True Decision Do not reject Type II Error Null Correct Decision P(Type II)= Reject Null Type I Error Correct Decision p(Type I)= Power=1-
  • 5. Critical Value • Critical value: Value that separates the critical (rejection) region from the values of the test statistic that do not lead to rejection of the null hypothesis, given the sampling distribution and the significance level .
  • 6. Significance Level • The significance level ( ): Probability of the test statistic falling in the critical region under a valid null hypothesis. • : Conventional Choices for are 0.05, 0.01, and 0.10. • p-value: Probability of observing the test statistic under the null hypothesis
  • 7. Significance Level and Power • Level of significance: Probability that the test rejects the null hypothesis on the assumption that the null hypothesis is true. • Power of a test: Probability that that the test rejects the null hypothesis on the assumption that that alternative hypothesis is true.
  • 8. Test of Hypothesis: Interpretations • Rejecting the null hypothesis • Do not reject H0 : Does not mean that H0 is true; nor that the data supports H0.If the observations are few, the test would not have the power, that is, difficult for a test to reject a false null H0. • Reject H0 does not mean that HA is true. It means that either H0 is false or the event has probability no larger than the significance level.
  • 9. Statistical Significance vs. Practical Importance • An effect may be of importance but not statistically significant because of sample limitations (poor quality or few observations). • The effect may not be of much policy significance in terms of impact but still statistically significant due to high quality of data.
  • 10. Hypothesis Testing: Steps • State the maintained hypothesis. • State the null & alternative hypotheses. • Choose the test statistic and estimate its value. • Specify the sampling distribution of the test statistics under the null hypothesis. • Determine the critical value(s) corresponding to a significance level. • Determine the p-value for the test statistic. • State the conclusion of a hypothesis test in simple, nontechnical terms.
  • 11. Hypothesis Testing: Rationale • We infer that the assumption is probably incorrect given the maintained and null hypotheses, if the probability of getting the sample is exceptionally small. • Please note that the null hypothesis contains equality. Comparing the assumption and the sample results, we infer one of the following:
  • 12. Hypothesis Testing: Rationale • Under the null hypothesis, if the probability of observing the sample estimate is high, discrepancy between the assumption and the sample estimate, if any, is due to chance. • If this probability is very low, even relatively large discrepancy between the assumption and the sample is due to invalid null hypothesis.
  • 13. Test of Hypothesis: Population Means • Assumptions: 1) Simple random sample 2) Population variance is known 3) Population distribution is normal or sample size is more than 30
  • 14. Test of Hypothesis: Population Means Known population variance • Test statistic x – µx z= n
  • 16. One- and Two Tail Tests One-Tail Test Two-Tail Test One-Tail Test (left tail) (right tail)
  • 17. Test of Hypothesis: Population Means • Assumptions: 1) Simple random sample 2) Population variance is unknown 3) Population distribution is normal or sample size is more than 30
  • 18. Test of Hypothesis: Population Means Unknown population variance • Test statistic x –µx t= s n
  • 19. Student’s t-test: An Illustration • Question: The diameter of some ball for study is specified to be one meter. A random sample of 10 such balls is selected to check the specification. The sample selected gave the following measurements:1.01, 1.01, 1.02, 1.00, 0.99, 0. 99, 1.02, 1.02, 1.00, 1.02 • Is there any reason to believe that there has been a change in the average diameter?
  • 20. Student’s t-test • Level of significance = 0.05 • Maintained hypothesis: Distribution of diameters is normal • n = 10 • H0 : m = 1.0 • HA : m <> 1.0 • Sample mean = 1.008
  • 21. Student’s t-test • Estimate of population variance = 0.000151 • Std. deviation = 0.012288 • t-statistic = 1.953125 (9 d.f.) • t(9,0.05) = 2.262 • Computed t < tabulated t • Do not reject H0 • Conclusion: Sample information supports the hypothesis that the average diameter of the ball is one meter.
  • 22. What would be the sampling distribution of a sample mean from a normally distributed population? Sample mean from a normal population will also be normally distributed for any sample size n
  • 23. Central Limit Theorem • The sampling distribution of mean of n sample observations from any population would be approximately normal when n is sufficiently large.