SlideShare a Scribd company logo
Hypothesis Testing and P Value
BY DR ZAHID KHAN
SENIOR LECTURER KING FAISAL UNIVERSITY, KSA
Two ways to learn
about a population


Confidence intervals



Hypothesis testing
HYPOTHESIS
What do you mean by a Hypothesis?
A hypothesis is a proposition that is –


assumed as a premise in an argument / claim



set forth as an explanation for the occurrence of
some specified group of phenomena



A hypothesis is a prediction about the outcome of an
experiment. In market research this could be the
result of the out come of a focus or field study
Why do we make hypotheses?


The practice of science traditionally involves
formulating and testing hypotheses



Hypotheses are assertions that are capable of being
proven false using a test of observed data



Hypothesis testing is a procedure through which
sample data is used to evaluate the credibility of a
hypothesis
TYPES OF HYPOTHESIS
Null Hypothesis



The null hypothesis typically corresponds to a
general or default position
Making this assertion will make no difference and
hence cannot be proven positively

Alternate Hypothesis
 An alternate hypothesis asserts a rival relationship
between the phenomena measured by the null
hypothesis
 It need not be a logical negation of the null
hypothesis as it only helps in rejecting or not
rejecting the null hypothesis
Dependant and independent
variables


Shoppers in a store playing music shop spend
more.



Independent Variable:
 Music



in the store

Dependent Variable:
 Amount

spent in store
Example -- Continued
1.

Obtain a random sample of shoppers who go
to stores with music

2.

Check shop spending

3.

Compare sample data to hypothesis

4.

Make decision:
1.

Reject the hypothesis

2.

Fail to reject the hypothesis
TYPES OF ERRORS
What are errors in Hypothesis
Testing?
The purpose of Hypothesis Testing is to reject or not
reject the Null Hypothesis based on statistical
evidence
Hypothesis Testing is said to have resulted in an error
when the decision regarding treatment of the Null
Hypothesis is wrong
TYPES OF ERRORS
Actual State of Affairs
Belief

Decision

H0 is True

H0 is False

H0 is False

Reject H0

Type I Error
False Positive

Correct Rejection
1Power

H0 is True

Fail to Reject H0

Correct Failure to
Reject
1-

Type II Error
False Negative
Statistical Power
1.

Probability that the test will correctly reject a
false null hypothesis.

2.

When a treatment effect exists
1.

A study may fail to discover it (Type II error, fail to
reject a false null hypothesis)

2.

A study may discover it (reject a false null
hypothesis)
α, β AND THE INTER-RELATIONSHIP
During the Hypothesis Testing,
α – is the probability of occurrence of a Type-I Error
β – is the probability of occurrence of a Type-II Error

Relationship between α and β




For a fixed sample size, the lower we set value of
α, the higher is the value of β and vice-versa
In many cases, it is difficult or almost impossible to
calculate the value of β and hence we usually
set only α
INTERPRETING RESULTS
Interpreting the weight of evidence against the Null
Hypothesis for rejecting / not rejecting Ho
If the p-value for testing Ho is less than –


< 0.05, we have strong evidence that Ho is false



< 0.01, we have very strong evidence that Ho is false



< 0.001, we have extremely strong evidence that Ho is false



P value is taken as 0.05 or 5% because it is a standard icon & it
nearly corresponds to the difference of two standard errors.
Jury’s Decision
Did Not Commit Crime

Committed Crime

Guilty

Type I Error
Convict Innocent
Person

Correct Verdict
Convict Guilty
Person

Not Guilty

Correct Acquittal
Type II Error
Fail to Convict Innocent Fail to Convict
Person
Guilty Person
Level of Significance
1. Alpha: probability of committing a Type I
error
1.

Reject H0 although it is true

2.

Symbolized by

2. Obtained result attributed to:
1.
2.

Real effect (reject H0)
Chance
One Sided & Two Sided Tests


Consider two means A & B.



One sided test only tells you that A > B.



Two sided tests tells you that either A>B or A <B so leaving you with
two options.



Mostly Two sided tests are used except in cases of equivalence tests
like Lumpectomy done for Breast surgery as well as radical
Mastectomy.



One sided test would be whether Lumpectomy is worst for survival
than Radical Mastectomy and we don't bother about better survival
results.
Any Questions !!!!

Thank

You.

More Related Content

What's hot

Null hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESISNull hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESIS
ADESH MEDICAL COLLEGE
 
Critical Value and The P Value
Critical Value and The P ValueCritical Value and The P Value
Critical Value and The P Value
Pharmacy Universe
 
hypothesis, testing of hypothesis
hypothesis, testing of hypothesishypothesis, testing of hypothesis
hypothesis, testing of hypothesis
Kavitha Ravi
 
Test of Hypothesis
Test of HypothesisTest of Hypothesis
Test of Hypothesis
Jubayer Alam Shoikat
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testingmsrpt
 
Hypothesis test
Hypothesis testHypothesis test
Hypothesis test
MD.ASHIQUZZAMAN KHONDAKER
 
Chapter 4 est. test of hypothesis
Chapter 4 est. test of hypothesisChapter 4 est. test of hypothesis
Chapter 4 est. test of hypothesis
Rione Drevale
 
Testing Of Hypothesis
Testing Of HypothesisTesting Of Hypothesis
Testing Of Hypothesis
SWATI SINGH
 
Hypothesis
HypothesisHypothesis
Hypothesis testing and p-value, www.eyenirvaan.com
Hypothesis testing and p-value, www.eyenirvaan.comHypothesis testing and p-value, www.eyenirvaan.com
Hypothesis testing and p-value, www.eyenirvaan.com
Eyenirvaan
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testingNirajan Bam
 
Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1yhchung
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
Sr Edith Bogue
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
Akhila Prabhakaran
 
Test of hypothesis 1
Test of hypothesis 1Test of hypothesis 1
Test of hypothesis 1
Md Mehedi Hasan
 
Hypothesis
HypothesisHypothesis
Hypothesis
RajaKrishnan M
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
Stephan Jade Navarro
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
Jaspreet1192
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
praveen3030
 

What's hot (20)

Null hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESISNull hypothesis AND ALTERNAT HYPOTHESIS
Null hypothesis AND ALTERNAT HYPOTHESIS
 
Critical Value and The P Value
Critical Value and The P ValueCritical Value and The P Value
Critical Value and The P Value
 
hypothesis, testing of hypothesis
hypothesis, testing of hypothesishypothesis, testing of hypothesis
hypothesis, testing of hypothesis
 
Test of Hypothesis
Test of HypothesisTest of Hypothesis
Test of Hypothesis
 
hypothesis testing
hypothesis testinghypothesis testing
hypothesis testing
 
Rm 3 Hypothesis
Rm   3   HypothesisRm   3   Hypothesis
Rm 3 Hypothesis
 
Hypothesis test
Hypothesis testHypothesis test
Hypothesis test
 
Chapter 4 est. test of hypothesis
Chapter 4 est. test of hypothesisChapter 4 est. test of hypothesis
Chapter 4 est. test of hypothesis
 
Testing Of Hypothesis
Testing Of HypothesisTesting Of Hypothesis
Testing Of Hypothesis
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Hypothesis testing and p-value, www.eyenirvaan.com
Hypothesis testing and p-value, www.eyenirvaan.comHypothesis testing and p-value, www.eyenirvaan.com
Hypothesis testing and p-value, www.eyenirvaan.com
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
 
Hypothesis testing Part1
Hypothesis testing Part1Hypothesis testing Part1
Hypothesis testing Part1
 
Test of hypothesis 1
Test of hypothesis 1Test of hypothesis 1
Test of hypothesis 1
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
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
 

Viewers also liked

P values and replication
P values and replicationP values and replication
P values and replication
Stephen Senn
 
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
Shakehand with Life
 
Hypothesis
HypothesisHypothesis
Hypothesis
rao_sahab
 
Chapter 8 – Hypothesis Testing
Chapter 8 – Hypothesis TestingChapter 8 – Hypothesis Testing
Chapter 8 – Hypothesis Testingguest3720ca
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
Rashmi Vaishya
 
Descriptive v inferential
Descriptive v inferentialDescriptive v inferential
Descriptive v inferential
Ken Plummer
 
SIADH
SIADH SIADH
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
RAVI PRASAD K.J.
 
Variance Analysis solution
Variance Analysis solutionVariance Analysis solution
Variance Analysis solution
Lou Foja
 
Syndrome of inappropriate anti diuretic hormone secretion (siadh)
Syndrome of inappropriate anti diuretic hormone secretion (siadh)Syndrome of inappropriate anti diuretic hormone secretion (siadh)
Syndrome of inappropriate anti diuretic hormone secretion (siadh)
DJ CrissCross
 
SIADH
SIADHSIADH
Guillain barré syndrome
Guillain barré syndromeGuillain barré syndrome
Guillain barré syndromekarnhareram
 
1a difference between inferential and descriptive statistics (explanation)
1a difference between inferential and descriptive statistics (explanation)1a difference between inferential and descriptive statistics (explanation)
1a difference between inferential and descriptive statistics (explanation)Ken Plummer
 
Huruf hijaiyah
Huruf hijaiyahHuruf hijaiyah
Huruf hijaiyah
Wardi Othman
 
Syndrome of inappropriate antidiuretic hormone secretion
Syndrome of inappropriate antidiuretic hormone secretionSyndrome of inappropriate antidiuretic hormone secretion
Syndrome of inappropriate antidiuretic hormone secretion
Rahul Arya
 
Guillain barre sindrom
Guillain barre sindromGuillain barre sindrom
Guillain barre sindromFionna Pohan
 

Viewers also liked (20)

P values and replication
P values and replicationP values and replication
P values and replication
 
P value
P valueP value
P value
 
T test
T testT test
T test
 
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
HypothesisHypothesis
Hypothesis
 
Chapter 8 – Hypothesis Testing
Chapter 8 – Hypothesis TestingChapter 8 – Hypothesis Testing
Chapter 8 – Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Problems and solutions_4
Problems and solutions_4Problems and solutions_4
Problems and solutions_4
 
Descriptive v inferential
Descriptive v inferentialDescriptive v inferential
Descriptive v inferential
 
SIADH
SIADH SIADH
SIADH
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Variance Analysis solution
Variance Analysis solutionVariance Analysis solution
Variance Analysis solution
 
Syndrome of inappropriate anti diuretic hormone secretion (siadh)
Syndrome of inappropriate anti diuretic hormone secretion (siadh)Syndrome of inappropriate anti diuretic hormone secretion (siadh)
Syndrome of inappropriate anti diuretic hormone secretion (siadh)
 
SIADH
SIADHSIADH
SIADH
 
Guillain barré syndrome
Guillain barré syndromeGuillain barré syndrome
Guillain barré syndrome
 
1a difference between inferential and descriptive statistics (explanation)
1a difference between inferential and descriptive statistics (explanation)1a difference between inferential and descriptive statistics (explanation)
1a difference between inferential and descriptive statistics (explanation)
 
Huruf hijaiyah
Huruf hijaiyahHuruf hijaiyah
Huruf hijaiyah
 
Syndrome of inappropriate antidiuretic hormone secretion
Syndrome of inappropriate antidiuretic hormone secretionSyndrome of inappropriate antidiuretic hormone secretion
Syndrome of inappropriate antidiuretic hormone secretion
 
Guillain barre sindrom
Guillain barre sindromGuillain barre sindrom
Guillain barre sindrom
 
Gullian barre syndrome
Gullian barre syndromeGullian barre syndrome
Gullian barre syndrome
 

Similar to Hypothesis testing and p values 06

Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesisvikramlawand
 
lecture no.7 computation.pptx
lecture no.7 computation.pptxlecture no.7 computation.pptx
lecture no.7 computation.pptx
ssuser378d7c
 
Hypothesis
HypothesisHypothesis
Hypothesis
Dr. Priyanka Jain
 
Hypothesis testing, error and bias
Hypothesis testing, error and biasHypothesis testing, error and bias
Hypothesis testing, error and bias
Dr.Jatin Chhaya
 
Hypothesistesting2
Hypothesistesting2Hypothesistesting2
Hypothesistesting2
Nithin Ramachandran
 
Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
Melba Shaya Sweety
 
Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
heencomm
 
Formulating Hypotheses
Formulating Hypotheses Formulating Hypotheses
Formulating Hypotheses
Shilpi Panchal
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
Afra Fathima
 
Formulating hypotheses
Formulating hypothesesFormulating hypotheses
Formulating hypothesesAniket Verma
 
importance of P value and its uses in the realtime Significance
importance of P value and its uses in the realtime Significanceimportance of P value and its uses in the realtime Significance
importance of P value and its uses in the realtime Significance
SukumarReddy43
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
Edhole.com
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptx
hemamalini398951
 
lorehtrtjyaeyreyayydrryareyreyrgreyardu.pptx
lorehtrtjyaeyreyayydrryareyreyrgreyardu.pptxlorehtrtjyaeyreyayydrryareyreyrgreyardu.pptx
lorehtrtjyaeyreyayydrryareyreyrgreyardu.pptx
garefed500
 
Hypothesis
HypothesisHypothesis
Hypothesis
Amit Sharma
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of Significance
Rai University
 

Similar to Hypothesis testing and p values 06 (20)

Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
lecture no.7 computation.pptx
lecture no.7 computation.pptxlecture no.7 computation.pptx
lecture no.7 computation.pptx
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Hypothesis testing, error and bias
Hypothesis testing, error and biasHypothesis testing, error and bias
Hypothesis testing, error and bias
 
Hypothesistesting2
Hypothesistesting2Hypothesistesting2
Hypothesistesting2
 
Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
 
Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
 
Formulatinghypotheses
Formulatinghypotheses Formulatinghypotheses
Formulatinghypotheses
 
Formulating Hypotheses
Formulating Hypotheses Formulating Hypotheses
Formulating Hypotheses
 
Hypotheses
Hypotheses Hypotheses
Hypotheses
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Formulating hypotheses
Formulating hypothesesFormulating hypotheses
Formulating hypotheses
 
importance of P value and its uses in the realtime Significance
importance of P value and its uses in the realtime Significanceimportance of P value and its uses in the realtime Significance
importance of P value and its uses in the realtime Significance
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptx
 
lorehtrtjyaeyreyayydrryareyreyrgreyardu.pptx
lorehtrtjyaeyreyayydrryareyreyrgreyardu.pptxlorehtrtjyaeyreyayydrryareyreyrgreyardu.pptx
lorehtrtjyaeyreyayydrryareyreyrgreyardu.pptx
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of Significance
 
Business research method
Business research methodBusiness research method
Business research method
 

More from DrZahid Khan

Snakebite spiderbiteguidelinessa sa-health08(1)
Snakebite spiderbiteguidelinessa sa-health08(1)Snakebite spiderbiteguidelinessa sa-health08(1)
Snakebite spiderbiteguidelinessa sa-health08(1)
DrZahid Khan
 
Lastminutemrcp1revision 140622171105-phpapp02
Lastminutemrcp1revision 140622171105-phpapp02Lastminutemrcp1revision 140622171105-phpapp02
Lastminutemrcp1revision 140622171105-phpapp02
DrZahid Khan
 
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
DrZahid Khan
 
3 elzohry mrcp questions - pass medicine 2013
3  elzohry mrcp questions - pass medicine 20133  elzohry mrcp questions - pass medicine 2013
3 elzohry mrcp questions - pass medicine 2013
DrZahid Khan
 
Pass medicine MRCP 2013
Pass medicine  MRCP 2013Pass medicine  MRCP 2013
Pass medicine MRCP 2013
DrZahid Khan
 
3 clinical skills
3 clinical skills3 clinical skills
3 clinical skills
DrZahid Khan
 
Davis s pocket clinical drug reference
Davis s pocket clinical drug referenceDavis s pocket clinical drug reference
Davis s pocket clinical drug reference
DrZahid Khan
 
Descrptive statistics
Descrptive statisticsDescrptive statistics
Descrptive statisticsDrZahid Khan
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersionDrZahid Khan
 
Burden of disease and determinants of health
Burden of disease and determinants of healthBurden of disease and determinants of health
Burden of disease and determinants of health
DrZahid Khan
 
05 confidence interval & probability statements
05 confidence interval & probability statements05 confidence interval & probability statements
05 confidence interval & probability statements
DrZahid Khan
 
Population & sample lecture 04
Population & sample lecture 04Population & sample lecture 04
Population & sample lecture 04DrZahid Khan
 
Data Display and Summary
Data Display and SummaryData Display and Summary
Data Display and Summary
DrZahid Khan
 
Amc material
Amc materialAmc material
Amc material
DrZahid Khan
 
Manikins examination for Medical students
Manikins examination for Medical studentsManikins examination for Medical students
Manikins examination for Medical students
DrZahid Khan
 
Occupational Lung Diseases
Occupational Lung DiseasesOccupational Lung Diseases
Occupational Lung Diseases
DrZahid Khan
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
DrZahid Khan
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
DrZahid Khan
 
Introduction to occupational diseases
Introduction to occupational diseasesIntroduction to occupational diseases
Introduction to occupational diseases
DrZahid Khan
 
Occupational heat stress and occupational health services
Occupational heat stress and occupational health servicesOccupational heat stress and occupational health services
Occupational heat stress and occupational health services
DrZahid Khan
 

More from DrZahid Khan (20)

Snakebite spiderbiteguidelinessa sa-health08(1)
Snakebite spiderbiteguidelinessa sa-health08(1)Snakebite spiderbiteguidelinessa sa-health08(1)
Snakebite spiderbiteguidelinessa sa-health08(1)
 
Lastminutemrcp1revision 140622171105-phpapp02
Lastminutemrcp1revision 140622171105-phpapp02Lastminutemrcp1revision 140622171105-phpapp02
Lastminutemrcp1revision 140622171105-phpapp02
 
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
94570764 diagnostic-procedures-in-ophthalmology-full-colour1-140426073515-php...
 
3 elzohry mrcp questions - pass medicine 2013
3  elzohry mrcp questions - pass medicine 20133  elzohry mrcp questions - pass medicine 2013
3 elzohry mrcp questions - pass medicine 2013
 
Pass medicine MRCP 2013
Pass medicine  MRCP 2013Pass medicine  MRCP 2013
Pass medicine MRCP 2013
 
3 clinical skills
3 clinical skills3 clinical skills
3 clinical skills
 
Davis s pocket clinical drug reference
Davis s pocket clinical drug referenceDavis s pocket clinical drug reference
Davis s pocket clinical drug reference
 
Descrptive statistics
Descrptive statisticsDescrptive statistics
Descrptive statistics
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
 
Burden of disease and determinants of health
Burden of disease and determinants of healthBurden of disease and determinants of health
Burden of disease and determinants of health
 
05 confidence interval & probability statements
05 confidence interval & probability statements05 confidence interval & probability statements
05 confidence interval & probability statements
 
Population & sample lecture 04
Population & sample lecture 04Population & sample lecture 04
Population & sample lecture 04
 
Data Display and Summary
Data Display and SummaryData Display and Summary
Data Display and Summary
 
Amc material
Amc materialAmc material
Amc material
 
Manikins examination for Medical students
Manikins examination for Medical studentsManikins examination for Medical students
Manikins examination for Medical students
 
Occupational Lung Diseases
Occupational Lung DiseasesOccupational Lung Diseases
Occupational Lung Diseases
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Introduction to occupational diseases
Introduction to occupational diseasesIntroduction to occupational diseases
Introduction to occupational diseases
 
Occupational heat stress and occupational health services
Occupational heat stress and occupational health servicesOccupational heat stress and occupational health services
Occupational heat stress and occupational health services
 

Recently uploaded

UNIVERSAL HUMAN VALUES- Harmony in the Nature
UNIVERSAL HUMAN VALUES- Harmony in the NatureUNIVERSAL HUMAN VALUES- Harmony in the Nature
UNIVERSAL HUMAN VALUES- Harmony in the Nature
Chandrakant Divate
 
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINTSOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
ssuser8d5e2d1
 
Collocation thường gặp trong đề thi THPT Quốc gia.pdf
Collocation thường gặp trong đề thi THPT Quốc gia.pdfCollocation thường gặp trong đề thi THPT Quốc gia.pdf
Collocation thường gặp trong đề thi THPT Quốc gia.pdf
ngochaavk33a
 
Program Your Destiny eBook - Destiny University.pdf
Program Your Destiny eBook - Destiny University.pdfProgram Your Destiny eBook - Destiny University.pdf
Program Your Destiny eBook - Destiny University.pdf
Michael Herlache, MBA
 
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptxEthical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
TANMAYJAIN511570
 
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docxCHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
ngochaavk33a
 
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docxÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
ngochaavk33a
 

Recently uploaded (7)

UNIVERSAL HUMAN VALUES- Harmony in the Nature
UNIVERSAL HUMAN VALUES- Harmony in the NatureUNIVERSAL HUMAN VALUES- Harmony in the Nature
UNIVERSAL HUMAN VALUES- Harmony in the Nature
 
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINTSOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
SOCIOLOGY PPT. SOCIAL SECURITY POWER POINT
 
Collocation thường gặp trong đề thi THPT Quốc gia.pdf
Collocation thường gặp trong đề thi THPT Quốc gia.pdfCollocation thường gặp trong đề thi THPT Quốc gia.pdf
Collocation thường gặp trong đề thi THPT Quốc gia.pdf
 
Program Your Destiny eBook - Destiny University.pdf
Program Your Destiny eBook - Destiny University.pdfProgram Your Destiny eBook - Destiny University.pdf
Program Your Destiny eBook - Destiny University.pdf
 
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptxEthical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
Ethical_dilemmas_MDI_Gurgaon-Business Ethics Case 1.pptx
 
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docxCHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
CHUYÊN ĐỀ READING ÔN THI HSG THPT HAY.docx
 
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docxÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
ÔN TẬP CỤM THÀNH NGỮ TIẾNG ANH CỰC HAY.docx
 

Hypothesis testing and p values 06

  • 1. Hypothesis Testing and P Value BY DR ZAHID KHAN SENIOR LECTURER KING FAISAL UNIVERSITY, KSA
  • 2. Two ways to learn about a population  Confidence intervals  Hypothesis testing
  • 3. HYPOTHESIS What do you mean by a Hypothesis? A hypothesis is a proposition that is –  assumed as a premise in an argument / claim  set forth as an explanation for the occurrence of some specified group of phenomena  A hypothesis is a prediction about the outcome of an experiment. In market research this could be the result of the out come of a focus or field study
  • 4. Why do we make hypotheses?  The practice of science traditionally involves formulating and testing hypotheses  Hypotheses are assertions that are capable of being proven false using a test of observed data  Hypothesis testing is a procedure through which sample data is used to evaluate the credibility of a hypothesis
  • 5. TYPES OF HYPOTHESIS Null Hypothesis   The null hypothesis typically corresponds to a general or default position Making this assertion will make no difference and hence cannot be proven positively Alternate Hypothesis  An alternate hypothesis asserts a rival relationship between the phenomena measured by the null hypothesis  It need not be a logical negation of the null hypothesis as it only helps in rejecting or not rejecting the null hypothesis
  • 6. Dependant and independent variables  Shoppers in a store playing music shop spend more.  Independent Variable:  Music  in the store Dependent Variable:  Amount spent in store
  • 7. Example -- Continued 1. Obtain a random sample of shoppers who go to stores with music 2. Check shop spending 3. Compare sample data to hypothesis 4. Make decision: 1. Reject the hypothesis 2. Fail to reject the hypothesis
  • 8. TYPES OF ERRORS What are errors in Hypothesis Testing? The purpose of Hypothesis Testing is to reject or not reject the Null Hypothesis based on statistical evidence Hypothesis Testing is said to have resulted in an error when the decision regarding treatment of the Null Hypothesis is wrong
  • 9. TYPES OF ERRORS Actual State of Affairs Belief Decision H0 is True H0 is False H0 is False Reject H0 Type I Error False Positive Correct Rejection 1Power H0 is True Fail to Reject H0 Correct Failure to Reject 1- Type II Error False Negative
  • 10. Statistical Power 1. Probability that the test will correctly reject a false null hypothesis. 2. When a treatment effect exists 1. A study may fail to discover it (Type II error, fail to reject a false null hypothesis) 2. A study may discover it (reject a false null hypothesis)
  • 11. α, β AND THE INTER-RELATIONSHIP During the Hypothesis Testing, α – is the probability of occurrence of a Type-I Error β – is the probability of occurrence of a Type-II Error Relationship between α and β   For a fixed sample size, the lower we set value of α, the higher is the value of β and vice-versa In many cases, it is difficult or almost impossible to calculate the value of β and hence we usually set only α
  • 12. INTERPRETING RESULTS Interpreting the weight of evidence against the Null Hypothesis for rejecting / not rejecting Ho If the p-value for testing Ho is less than –  < 0.05, we have strong evidence that Ho is false  < 0.01, we have very strong evidence that Ho is false  < 0.001, we have extremely strong evidence that Ho is false  P value is taken as 0.05 or 5% because it is a standard icon & it nearly corresponds to the difference of two standard errors.
  • 13. Jury’s Decision Did Not Commit Crime Committed Crime Guilty Type I Error Convict Innocent Person Correct Verdict Convict Guilty Person Not Guilty Correct Acquittal Type II Error Fail to Convict Innocent Fail to Convict Person Guilty Person
  • 14. Level of Significance 1. Alpha: probability of committing a Type I error 1. Reject H0 although it is true 2. Symbolized by 2. Obtained result attributed to: 1. 2. Real effect (reject H0) Chance
  • 15. One Sided & Two Sided Tests  Consider two means A & B.  One sided test only tells you that A > B.  Two sided tests tells you that either A>B or A <B so leaving you with two options.  Mostly Two sided tests are used except in cases of equivalence tests like Lumpectomy done for Breast surgery as well as radical Mastectomy.  One sided test would be whether Lumpectomy is worst for survival than Radical Mastectomy and we don't bother about better survival results.