SlideShare ist ein Scribd-Unternehmen logo
1 von 19
© 1999 Prentice-Hall, Inc. Chap. 8 - 1
•General procedure for
hypothesis testing
Presentd by
Iram hassan
© 1999 Prentice-Hall, Inc. Chap. 8 - 2
A hypothesis is an
assumption about the
population parameter.
 A parameter is a
Population mean or
proportion
 The parameter must be
identified before
analysis.
I assume the mean GPA
of this class is 3.5!
© 1984-1994 T/Maker Co.
What is a Hypothesis?
© 1999 Prentice-Hall, Inc. Chap. 8 - 3
• States the Assumption (numerical) to be tested
e.g. The average # TV sets in US homes is at
least 3 (H0:  3)
• Begin with the assumption that the null
hypothesis is TRUE.
(Similar to the notion of innocent until proven guilty)
The Null Hypothesis, H0
•Always contains the ‘ = ‘ sign
•The Null Hypothesis may or may not be rejected.
© 1999 Prentice-Hall, Inc. Chap. 8 - 4
• Is the opposite of the null hypothesis
e.g. The average # TV sets in US homes is
less than 3 (H1:  < 3)
• Never contains the ‘=‘ sign
• The Alternative Hypothesis may or may
not be accepted
The Alternative Hypothesis, H1
© 1999 Prentice-Hall, Inc. Chap. 8 - 5
Steps:
 State the Null Hypothesis (H0:  3)
 State its opposite, the Alternative
Hypothesis (H1:  < 3)
 Hypotheses are mutually exclusive &
exhaustive
 Sometimes it is easier to form the
alternative hypothesis first.
Identify the Problem
© 1999 Prentice-Hall, Inc. Chap. 8 - 6
Population
Assume the
population
mean age is 50.
(Null Hypothesis)
REJECT
The Sample
Mean Is 20
Sample
Null Hypothesis
50?
20 

 
X
Is
Hypothesis Testing Process
No, not likely!
© 1999 Prentice-Hall, Inc. Chap. 8 - 7
• The significance level of a test is the
probabilty used as a standard rejecting a null
hypothesis Ho when Null Hypothesis Is True
 Called Rejection Region of Sampling
Distribution
• Designated a (alpha)
 Typical values are 0.01, 0.05, 0.10
• Selected by the Researcher at the Start
• Provides the Critical Value(s) of the Test
2.Level of Significance, a
© 1999 Prentice-Hall, Inc. Chap. 8 - 8
Level of Significance, aand
the Rejection Region
H0:  3
H1:  < 3
0
0
0
H0:   3
H1:  > 3
H0:  3
H1:   3
a
a
a/2
Critical
Value(s)
Rejection
Regions
© 1999 Prentice-Hall, Inc. Chap. 8 - 9
• Type I Error
 Reject True Null Hypothesis
 Has Serious Consequences
 Probability of Type I Error Is a
 Called Level of Significance
• Type II Error
 Do Not Reject False Null Hypothesis
 Probability of Type II Error Is b (Beta)
Errors in Making Decisions
© 1999 Prentice-Hall, Inc. Chap. 8 - 10
H0: Innocent
Jury Trial Hypothesis Test
Actual Situation Actual Situation
Verdict Innocent Guilty Decision H0 True H0 False
Innocent Correct Error
Do Not
Reject
H0
1 - a
Type II
Error (b )
Guilty Error Correct Reject
H0
Type I
Error
(a )
Power
(1 - b)
Result Possibilities
© 1999 Prentice-Hall, Inc. Chap. 8 - 11
• A test of statistics is a rule or procedure by
which sample results are used to decide
whethere to accept or reject the null
hypothesis.
• e.g: z test,t test,f test,ANOVA etc
3.Test Statistics
© 1999 Prentice-Hall, Inc. Chap. 8 - 12
• Probability of Obtaining a Test Statistic
More Extreme  or ) than Actual
Sample Value Given H0 Is True
• Called Observed Level of Significance
 Smallest Value of a H0 Can Be Rejected
• Used to Make Rejection Decision
 If p value a Do Not Reject H0
 If p value < a, Reject H0
p Value Test
© 1999 Prentice-Hall, Inc. Chap. 8 - 13
4.Critical region
• determine the rejection or crtical region n
such a way that the probabilty of rejecting
the null hypothesis Ho,if it is true,is equal to
the significance level,α.the location of the
crtical region depends upon the form of
H1.the significance level will seperate the
acceptance region from the rejection region.
• one tail and two tail test
© 1999 Prentice-Hall, Inc. Chap. 8 - 14
1. State H0 H0 : 3
2. State H1 H1 : <3
3. Choose a a = .05
4. Choose n n = 100
5. Choose Test: Z Test (or p Value)
Hypothesis Testing: Steps
Test the Assumption that the true mean #
of TV sets in US homes is at least 3.
© 1999 Prentice-Hall, Inc. Chap. 8 - 15
5.computation/calculation
compute the value of test statistics from
the sample data in order to decide
whethere to accept or reject the null
hypothesis.
© 1999 Prentice-Hall, Inc. Chap. 8 - 16
6.Decision
a.reject the null hypothesis Ho,if computed
value of the test statistics falls in the
rejection region and conclude that
Ho is true
b.accept the null hypothesis Ho,otherwise.
© 1999 Prentice-Hall, Inc. Chap. 8 - 17
Z
0
a
Reject H0
Z
0
Reject H0
a
H0: 
H1:  < 0
H0: 0
H1:  > 0
Must Be Significantly
Below = 0
Small values don’t contradict H0
Don’t Reject H0!
Rejection Region
© 1999 Prentice-Hall, Inc. Chap. 8 - 18
a= 0.025
n = 25
Critical Value: 1.645
Test Statistic:
Decision:
Conclusion:
Do Not Reject at a = .05
No Evidence True Mean
Is More than 368
Z
0 1.645
.05
Reject
Example Solution: One Tail
H0: 368
H1:  > 368
50
.
1



n
X
Z


© 1999 Prentice-Hall, Inc. Chap. 8 - 19
0 1.50 Z
Reject
(p Value = 0.0668)  (a = 0.05).
Do Not Reject.
p Value = 0.0668
a= 0.05
Test Statistic Is In the Do Not Reject Region
p Value Solution

Weitere ähnliche Inhalte

Ähnlich wie g p for hypothesis testing.pptx

Formulating Hypotheses
Formulating Hypotheses Formulating Hypotheses
Formulating Hypotheses Shilpi Panchal
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testingjundumaug1
 
Business Statistics Chapter 9
Business Statistics Chapter 9Business Statistics Chapter 9
Business Statistics Chapter 9Lux PP
 
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
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncrEdhole.com
 
Formulating hypotheses
Formulating hypothesesFormulating hypotheses
Formulating hypothesesAniket Verma
 
hypothesis test
 hypothesis test hypothesis test
hypothesis testUnsa Shakir
 
Hypothesis Testing (Statistical Significance)1Hypo.docx
Hypothesis Testing (Statistical Significance)1Hypo.docxHypothesis Testing (Statistical Significance)1Hypo.docx
Hypothesis Testing (Statistical Significance)1Hypo.docxadampcarr67227
 
Int 150 The Moral Instinct”1. Most cultures agree that abus.docx
Int 150 The Moral Instinct”1.   Most cultures agree that abus.docxInt 150 The Moral Instinct”1.   Most cultures agree that abus.docx
Int 150 The Moral Instinct”1. Most cultures agree that abus.docxmariuse18nolet
 
HYPOTHESIS TESTING 20200702.pptx
HYPOTHESIS TESTING 20200702.pptxHYPOTHESIS TESTING 20200702.pptx
HYPOTHESIS TESTING 20200702.pptxDr. Gururaj Phatak
 
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
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1HanaaBayomy
 

Ähnlich wie g p for hypothesis testing.pptx (20)

12주차
12주차12주차
12주차
 
Formulatinghypotheses
Formulatinghypotheses Formulatinghypotheses
Formulatinghypotheses
 
Formulating Hypotheses
Formulating Hypotheses Formulating Hypotheses
Formulating Hypotheses
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
Business Statistics Chapter 9
Business Statistics Chapter 9Business Statistics Chapter 9
Business Statistics Chapter 9
 
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
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Formulating hypotheses
Formulating hypothesesFormulating hypotheses
Formulating hypotheses
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
 
Hypothesis Testing (Statistical Significance)1Hypo.docx
Hypothesis Testing (Statistical Significance)1Hypo.docxHypothesis Testing (Statistical Significance)1Hypo.docx
Hypothesis Testing (Statistical Significance)1Hypo.docx
 
hypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdfhypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdf
 
hypothesis-tesing.pdf
hypothesis-tesing.pdfhypothesis-tesing.pdf
hypothesis-tesing.pdf
 
Int 150 The Moral Instinct”1. Most cultures agree that abus.docx
Int 150 The Moral Instinct”1.   Most cultures agree that abus.docxInt 150 The Moral Instinct”1.   Most cultures agree that abus.docx
Int 150 The Moral Instinct”1. Most cultures agree that abus.docx
 
HYPOTHESIS TESTING 20200702.pptx
HYPOTHESIS TESTING 20200702.pptxHYPOTHESIS TESTING 20200702.pptx
HYPOTHESIS TESTING 20200702.pptx
 
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
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 

Mehr von ShoaibNajeeb

Lecture No. 09 Parallelism in Discourse , lecture No 13 [Autosaved].pptx
Lecture No. 09 Parallelism in Discourse , lecture No 13 [Autosaved].pptxLecture No. 09 Parallelism in Discourse , lecture No 13 [Autosaved].pptx
Lecture No. 09 Parallelism in Discourse , lecture No 13 [Autosaved].pptxShoaibNajeeb
 
Introduction of Entrepreneurship and financial management.pptx
Introduction of Entrepreneurship and financial management.pptxIntroduction of Entrepreneurship and financial management.pptx
Introduction of Entrepreneurship and financial management.pptxShoaibNajeeb
 
Natural language Processing.pptx
Natural language Processing.pptxNatural language Processing.pptx
Natural language Processing.pptxShoaibNajeeb
 
Project Description ppts.pptx
Project Description ppts.pptxProject Description ppts.pptx
Project Description ppts.pptxShoaibNajeeb
 
Sociology lecture 1.pptx
Sociology lecture 1.pptxSociology lecture 1.pptx
Sociology lecture 1.pptxShoaibNajeeb
 

Mehr von ShoaibNajeeb (7)

Lecture No. 09 Parallelism in Discourse , lecture No 13 [Autosaved].pptx
Lecture No. 09 Parallelism in Discourse , lecture No 13 [Autosaved].pptxLecture No. 09 Parallelism in Discourse , lecture No 13 [Autosaved].pptx
Lecture No. 09 Parallelism in Discourse , lecture No 13 [Autosaved].pptx
 
Introduction of Entrepreneurship and financial management.pptx
Introduction of Entrepreneurship and financial management.pptxIntroduction of Entrepreneurship and financial management.pptx
Introduction of Entrepreneurship and financial management.pptx
 
Natural language Processing.pptx
Natural language Processing.pptxNatural language Processing.pptx
Natural language Processing.pptx
 
openai.pptx
openai.pptxopenai.pptx
openai.pptx
 
Analogy (2).pptx
Analogy (2).pptxAnalogy (2).pptx
Analogy (2).pptx
 
Project Description ppts.pptx
Project Description ppts.pptxProject Description ppts.pptx
Project Description ppts.pptx
 
Sociology lecture 1.pptx
Sociology lecture 1.pptxSociology lecture 1.pptx
Sociology lecture 1.pptx
 

Kürzlich hochgeladen

preservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptxpreservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptxnoordubaliya2003
 
Forensic limnology of diatoms by Sanjai.pptx
Forensic limnology of diatoms by Sanjai.pptxForensic limnology of diatoms by Sanjai.pptx
Forensic limnology of diatoms by Sanjai.pptxkumarsanjai28051
 
Pests of castor_Binomics_Identification_Dr.UPR.pdf
Pests of castor_Binomics_Identification_Dr.UPR.pdfPests of castor_Binomics_Identification_Dr.UPR.pdf
Pests of castor_Binomics_Identification_Dr.UPR.pdfPirithiRaju
 
Carbon Dioxide Capture and Storage (CSS)
Carbon Dioxide Capture and Storage (CSS)Carbon Dioxide Capture and Storage (CSS)
Carbon Dioxide Capture and Storage (CSS)Tamer Koksalan, PhD
 
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In DubaiDubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubaikojalkojal131
 
User Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationUser Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationColumbia Weather Systems
 
Base editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingBase editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingNetHelix
 
Davis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technologyDavis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technologycaarthichand2003
 
FREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by naFREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by naJASISJULIANOELYNV
 
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...lizamodels9
 
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...D. B. S. College Kanpur
 
Pests of Bengal gram_Identification_Dr.UPR.pdf
Pests of Bengal gram_Identification_Dr.UPR.pdfPests of Bengal gram_Identification_Dr.UPR.pdf
Pests of Bengal gram_Identification_Dr.UPR.pdfPirithiRaju
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPirithiRaju
 
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPirithiRaju
 
Topic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptxTopic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptxJorenAcuavera1
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxpriyankatabhane
 
The dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxThe dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxEran Akiva Sinbar
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...Universidade Federal de Sergipe - UFS
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024AyushiRastogi48
 

Kürzlich hochgeladen (20)

preservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptxpreservation, maintanence and improvement of industrial organism.pptx
preservation, maintanence and improvement of industrial organism.pptx
 
Forensic limnology of diatoms by Sanjai.pptx
Forensic limnology of diatoms by Sanjai.pptxForensic limnology of diatoms by Sanjai.pptx
Forensic limnology of diatoms by Sanjai.pptx
 
Pests of castor_Binomics_Identification_Dr.UPR.pdf
Pests of castor_Binomics_Identification_Dr.UPR.pdfPests of castor_Binomics_Identification_Dr.UPR.pdf
Pests of castor_Binomics_Identification_Dr.UPR.pdf
 
Carbon Dioxide Capture and Storage (CSS)
Carbon Dioxide Capture and Storage (CSS)Carbon Dioxide Capture and Storage (CSS)
Carbon Dioxide Capture and Storage (CSS)
 
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In DubaiDubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
 
User Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationUser Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather Station
 
Base editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editingBase editing, prime editing, Cas13 & RNA editing and organelle base editing
Base editing, prime editing, Cas13 & RNA editing and organelle base editing
 
Davis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technologyDavis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technology
 
Hot Sexy call girls in Moti Nagar,🔝 9953056974 🔝 escort Service
Hot Sexy call girls in  Moti Nagar,🔝 9953056974 🔝 escort ServiceHot Sexy call girls in  Moti Nagar,🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Moti Nagar,🔝 9953056974 🔝 escort Service
 
FREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by naFREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by na
 
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
 
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
 
Pests of Bengal gram_Identification_Dr.UPR.pdf
Pests of Bengal gram_Identification_Dr.UPR.pdfPests of Bengal gram_Identification_Dr.UPR.pdf
Pests of Bengal gram_Identification_Dr.UPR.pdf
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
 
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
 
Topic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptxTopic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptx
 
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptxMicrophone- characteristics,carbon microphone, dynamic microphone.pptx
Microphone- characteristics,carbon microphone, dynamic microphone.pptx
 
The dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxThe dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptx
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024
 

g p for hypothesis testing.pptx

  • 1. © 1999 Prentice-Hall, Inc. Chap. 8 - 1 •General procedure for hypothesis testing Presentd by Iram hassan
  • 2. © 1999 Prentice-Hall, Inc. Chap. 8 - 2 A hypothesis is an assumption about the population parameter.  A parameter is a Population mean or proportion  The parameter must be identified before analysis. I assume the mean GPA of this class is 3.5! © 1984-1994 T/Maker Co. What is a Hypothesis?
  • 3. © 1999 Prentice-Hall, Inc. Chap. 8 - 3 • States the Assumption (numerical) to be tested e.g. The average # TV sets in US homes is at least 3 (H0:  3) • Begin with the assumption that the null hypothesis is TRUE. (Similar to the notion of innocent until proven guilty) The Null Hypothesis, H0 •Always contains the ‘ = ‘ sign •The Null Hypothesis may or may not be rejected.
  • 4. © 1999 Prentice-Hall, Inc. Chap. 8 - 4 • Is the opposite of the null hypothesis e.g. The average # TV sets in US homes is less than 3 (H1:  < 3) • Never contains the ‘=‘ sign • The Alternative Hypothesis may or may not be accepted The Alternative Hypothesis, H1
  • 5. © 1999 Prentice-Hall, Inc. Chap. 8 - 5 Steps:  State the Null Hypothesis (H0:  3)  State its opposite, the Alternative Hypothesis (H1:  < 3)  Hypotheses are mutually exclusive & exhaustive  Sometimes it is easier to form the alternative hypothesis first. Identify the Problem
  • 6. © 1999 Prentice-Hall, Inc. Chap. 8 - 6 Population Assume the population mean age is 50. (Null Hypothesis) REJECT The Sample Mean Is 20 Sample Null Hypothesis 50? 20     X Is Hypothesis Testing Process No, not likely!
  • 7. © 1999 Prentice-Hall, Inc. Chap. 8 - 7 • The significance level of a test is the probabilty used as a standard rejecting a null hypothesis Ho when Null Hypothesis Is True  Called Rejection Region of Sampling Distribution • Designated a (alpha)  Typical values are 0.01, 0.05, 0.10 • Selected by the Researcher at the Start • Provides the Critical Value(s) of the Test 2.Level of Significance, a
  • 8. © 1999 Prentice-Hall, Inc. Chap. 8 - 8 Level of Significance, aand the Rejection Region H0:  3 H1:  < 3 0 0 0 H0:   3 H1:  > 3 H0:  3 H1:   3 a a a/2 Critical Value(s) Rejection Regions
  • 9. © 1999 Prentice-Hall, Inc. Chap. 8 - 9 • Type I Error  Reject True Null Hypothesis  Has Serious Consequences  Probability of Type I Error Is a  Called Level of Significance • Type II Error  Do Not Reject False Null Hypothesis  Probability of Type II Error Is b (Beta) Errors in Making Decisions
  • 10. © 1999 Prentice-Hall, Inc. Chap. 8 - 10 H0: Innocent Jury Trial Hypothesis Test Actual Situation Actual Situation Verdict Innocent Guilty Decision H0 True H0 False Innocent Correct Error Do Not Reject H0 1 - a Type II Error (b ) Guilty Error Correct Reject H0 Type I Error (a ) Power (1 - b) Result Possibilities
  • 11. © 1999 Prentice-Hall, Inc. Chap. 8 - 11 • A test of statistics is a rule or procedure by which sample results are used to decide whethere to accept or reject the null hypothesis. • e.g: z test,t test,f test,ANOVA etc 3.Test Statistics
  • 12. © 1999 Prentice-Hall, Inc. Chap. 8 - 12 • Probability of Obtaining a Test Statistic More Extreme  or ) than Actual Sample Value Given H0 Is True • Called Observed Level of Significance  Smallest Value of a H0 Can Be Rejected • Used to Make Rejection Decision  If p value a Do Not Reject H0  If p value < a, Reject H0 p Value Test
  • 13. © 1999 Prentice-Hall, Inc. Chap. 8 - 13 4.Critical region • determine the rejection or crtical region n such a way that the probabilty of rejecting the null hypothesis Ho,if it is true,is equal to the significance level,α.the location of the crtical region depends upon the form of H1.the significance level will seperate the acceptance region from the rejection region. • one tail and two tail test
  • 14. © 1999 Prentice-Hall, Inc. Chap. 8 - 14 1. State H0 H0 : 3 2. State H1 H1 : <3 3. Choose a a = .05 4. Choose n n = 100 5. Choose Test: Z Test (or p Value) Hypothesis Testing: Steps Test the Assumption that the true mean # of TV sets in US homes is at least 3.
  • 15. © 1999 Prentice-Hall, Inc. Chap. 8 - 15 5.computation/calculation compute the value of test statistics from the sample data in order to decide whethere to accept or reject the null hypothesis.
  • 16. © 1999 Prentice-Hall, Inc. Chap. 8 - 16 6.Decision a.reject the null hypothesis Ho,if computed value of the test statistics falls in the rejection region and conclude that Ho is true b.accept the null hypothesis Ho,otherwise.
  • 17. © 1999 Prentice-Hall, Inc. Chap. 8 - 17 Z 0 a Reject H0 Z 0 Reject H0 a H0:  H1:  < 0 H0: 0 H1:  > 0 Must Be Significantly Below = 0 Small values don’t contradict H0 Don’t Reject H0! Rejection Region
  • 18. © 1999 Prentice-Hall, Inc. Chap. 8 - 18 a= 0.025 n = 25 Critical Value: 1.645 Test Statistic: Decision: Conclusion: Do Not Reject at a = .05 No Evidence True Mean Is More than 368 Z 0 1.645 .05 Reject Example Solution: One Tail H0: 368 H1:  > 368 50 . 1    n X Z  
  • 19. © 1999 Prentice-Hall, Inc. Chap. 8 - 19 0 1.50 Z Reject (p Value = 0.0668)  (a = 0.05). Do Not Reject. p Value = 0.0668 a= 0.05 Test Statistic Is In the Do Not Reject Region p Value Solution