SlideShare ist ein Scribd-Unternehmen logo
1 von 29
FK6163



Basic Hypothesis Testing

  Assoc. Prof. Dr Azmi Mohd Tamil
     Dept of Community Health
  Universiti Kebangsaan Malaysia
Inferential Statistic

   When we conduct a study, we want to
    make an inference from the data
    collected. For example;

    “drug A is better than drug B in treating
    disease D"
Drug A Better Than Drug B?


   Drug A has a higher rate of cure than
    drug B. (Cured/Not Cured)
   If for controlling BP, the mean of BP
    drop for drug A is larger than drug B.
    (continuous data – mm Hg)
Null Hypothesis

   Null Hyphotesis;

    “no difference of effectiveness between
    drug A and drug B in treating disease D"
Null Hypothesis

   H0 is assumed TRUE unless data indicate
    otherwise:
    • The experiment is trying to reject the null
      hypothesis
    • Can reject, but cannot prove, a hypothesis
      – e.g. “all swans are white”
         Âť One black swan suffices to reject
            » H0 “Not all swans are white”
         » No number of white swans can prove the hypothesis –
           since the next swan could still be black.
Can reindeer fly?
   You believe reindeer can fly
   Null hypothesis: “reindeer cannot fly”
   Experimental design: to throw reindeer off the
    roof
   Implementation: they all go splat on the ground
   Evaluation: null hypothesis not rejected
    • This does not prove reindeer cannot fly: what you have
      shown is that
        – “from this roof, on this day, under these weather conditions,
          these particular reindeer either could not, or chose not to,
          fly”
   It is possible, in principle, to reject the null
    hypothesis
    • By exhibiting a flying reindeer!
Significance
   Inferential statistics determine whether a significant
    difference of effectiveness exist between drug A
    and drug B.
   If there is a significant difference (p<0.05), then the
    null hypothesis would be rejected.
   Otherwise, if no significant difference (p>0.05), then
    the null hypothesis would not be rejected.
   The usual level of significance utilised to reject or
    not reject the null hypothesis are either 0.05 or 0.01.
    In the above example, it was set at 0.05.
Confidence interval

   Confidence interval = 1 - level of
    significance.
   If the level of significance is 0.05, then
    the confidence interval is 95%.
   CI = 1 – 0.05 = 0.95 = 95%
   If CI = 99%, then level of
    significance is 0.01.
What is level of
              significance? Chance?

Reject H        0       Reject H       0

   .025                     .025

    -2.0639 -1.96   0 2.0639
                        1.96       t
Fisher’s Use of p-Values

   R.A. Fisher referred to the probability to declare
    significance as “p-value”.
   “It is a common practice to judge a result
    significant, if it is of such a magnitude that it
    would be produced by chance not more
    frequently than once in 20 trials.”
   1/20 = 0.05. If p-value less than 0.05, then the
    probability of the effect detected were due to
    chance is less than 5%.
   We would be 95% confident that the effect
    detected is due to real effect, not due to chance.
Error

   Although we have determined the level
    of significance and confidence interval,
    there is still a chance of error.
   There are 2 types;
    • Type I Error
    • Type II Error
Error
                                REALITY

                  Treatments are     Treatments are
DECISION           not different        different


   Conclude      Correct Decision     Type II error
treatments are                          β error
 not different
                     (Cell a)             (Cell b)

   Conclude        Type I error     Correct Decision
treatments are       Îą error
   different
                      (Cell c)            (Cell d)
Error
                                              Incorrect Null
     Test of      Correct Null Hypothesis      Hypothesis
  Significance       (Ho not rejected)        (Ho rejected)
Null Hypothesis
Not Rejected        Correct Conclusion         Type II Error
Null Hypothesis
Rejected               Type I Error         Correct Conclusion
Type I Error

• Type I Error – rejecting the null hypothesis
  although the null hypothesis is correct
  e.g.
• when we compare the mean/proportion of
  the 2 groups, the difference is small but the
  difference is found to be significant.
  Therefore the null hypothesis is rejected.
• It may occur due to inappropriate choice of
  alpha (level of significance).
Type II Error

• Type II Error – not rejecting the null
  hypothesis although the null hypothesis is
  wrong
• e.g. when we compare the mean/proportion
  of the 2 groups, the difference is big but the
  difference is not significant. Therefore the
  null hypothesis is not rejected.
• It may occur when the sample size is
  too small.
Example of Type II Error
  Data of a clinical trial on 30 patients on comparison of pain control between
  two modes of treatment.
                     Type of treatment * Pain (2 hrs post-op) Crosstabulation

                                                         Pain (2 hrs post-op)
                                                         No pain      In pain     Total
         Type of treatment   Pethidine   Count                  8             7           15
                                         % within Type
                                                           53.3%        46.7%     100.0%
                                         of treatment
                             Cocktail    Count                  4           11            15
                                         % within Type
                                                           26.7%        73.3%     100.0%
                                         of treatment
         Total                           Count                 12           18            30
                                         % within Type
                                                           40.0%        60.0%     100.0%
                                         of treatment

         Chi-square =2.222, p=0.136

p = 0.136 therefore larger than 0.05. Despite the large difference of rates (53.3% versus
26.7%), the test indicated no significant difference and the null hypothesis was not rejected.

Type II Error?
Not significant since power of
  the study is less than 80%.



               Power is only
                  32%!
Check for the errors

   You can check for type II errors of your
    own data analysis by checking for the
    power of the respective analysis
   This can easily be done by utilising
    software such as Power & Sample Size
    (PS2) from the website of the Vanderbilt
    University
Determining the
appropriate statistical
         test
Data Analysis

   Descriptive – summarising data
   Test of Association
   Multivariate – controlling for
    confounders
Test of Association

   To study the relationship between one
    or more risk variable(s) (independent)
    with outcome variable (dependent)
   For example; does ethnicity affects the
    suicidal/para-suicidal tendencies of
    psychiatric patients.
Problem Flow Chart

        Independent Variables


Ethnicity                     Marital Status




            Suicidal Tendencies

             Dependent Variable
Hypothesis Testing

   Distinguish parametric & non-parametric
    procedures
   Test two or more populations using
    parametric & non-parametric procedures
    • Means
    • Medians
    • Variances
Hypothesis Testing
       Procedures
Parametric Analysis –
        Quantitative
non-parametric tests
Variable 1       Variable 2     Criteria                      Type of Test
Qualitative      Qualitative    Sample size < 20 or (< 40 but Fisher Test
Dichotomus       Dichotomus     with at least one expected
                                value < 5)
Qualitative      Quantitative Data not normally distributed Wilcoxon Rank Sum
Dichotomus                                                    Test or U Mann-
                                                              Whitney Test
Qualitative      Quantitative Data not normally distributed Kruskal-Wallis One
Polinomial                                                    Way ANOVA Test
Quantitative     Quantitative Repeated measurement of the Wilcoxon Rank Sign
                                same individual & item        Test
Quantitative -   Quantitative - Data not normally distributed Spearman/Kendall
continous        continous                                    Rank Correlation
Statistical Tests - Qualitative
Multivariat

   Studies the association between multiple
    causative factors/variables (independent
    variables) with the outcome (dependent)
   For example; risk factors such as parental
    care, practise of religion, education level
    of parents; and their effect on disciplinary
    problems of their child (outcome).
Take Home Message
Use the tables to decide on what type of analysis to use.

Weitere ähnliche Inhalte

Was ist angesagt?

Confidence intervals
Confidence intervalsConfidence intervals
Confidence intervals
Tanay Tandon
 
Basis of statistical inference
Basis of statistical inferenceBasis of statistical inference
Basis of statistical inference
zahidacademy
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
piyushdhaker
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
Jags Jagdish
 

Was ist angesagt? (20)

Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Lecture2 hypothesis testing
Lecture2 hypothesis testingLecture2 hypothesis testing
Lecture2 hypothesis testing
 
Confidence intervals
Confidence intervalsConfidence intervals
Confidence intervals
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Basis of statistical inference
Basis of statistical inferenceBasis of statistical inference
Basis of statistical inference
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
 
Basics of Hypothesis Testing
Basics of Hypothesis Testing  Basics of Hypothesis Testing
Basics of Hypothesis Testing
 
Estimation and confidence interval
Estimation and confidence intervalEstimation and confidence interval
Estimation and confidence interval
 
Testing of hypothesis and tests of significance
Testing of hypothesis and tests of significanceTesting of hypothesis and tests of significance
Testing of hypothesis and tests of significance
 
PROCEDURE FOR TESTING HYPOTHESIS
PROCEDURE FOR   TESTING HYPOTHESIS PROCEDURE FOR   TESTING HYPOTHESIS
PROCEDURE FOR TESTING HYPOTHESIS
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 
Ch4 Confidence Interval
Ch4 Confidence IntervalCh4 Confidence Interval
Ch4 Confidence Interval
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
 
Chi square mahmoud
Chi square mahmoudChi square mahmoud
Chi square mahmoud
 

Andere mochten auch

Deciding on a medical research topic: your first challenge
Deciding on a medical research topic: your first challengeDeciding on a medical research topic: your first challenge
Deciding on a medical research topic: your first challenge
Azmi Mohd Tamil
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
vikramlawand
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
Harish Lunani
 

Andere mochten auch (20)

Student's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestStudent's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
 
Exploratory Data Analysis - Checking For Normality
Exploratory Data Analysis - Checking For NormalityExploratory Data Analysis - Checking For Normality
Exploratory Data Analysis - Checking For Normality
 
How to run ANOVA on SPSS
How to run ANOVA on SPSSHow to run ANOVA on SPSS
How to run ANOVA on SPSS
 
How to run Student's t-test on SPSS
How to run Student's t-test on SPSSHow to run Student's t-test on SPSS
How to run Student's t-test on SPSS
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
Deciding on a medical research topic: your first challenge
Deciding on a medical research topic: your first challengeDeciding on a medical research topic: your first challenge
Deciding on a medical research topic: your first challenge
 
How to run Pearson's Chi-square for SPSS
How to run Pearson's Chi-square for SPSSHow to run Pearson's Chi-square for SPSS
How to run Pearson's Chi-square for SPSS
 
Choosing your study design
Choosing your study designChoosing your study design
Choosing your study design
 
Introduction to spss: define variables
Introduction to spss: define variablesIntroduction to spss: define variables
Introduction to spss: define variables
 
Sample size calculation - a brief overview
Sample size calculation - a brief overviewSample size calculation - a brief overview
Sample size calculation - a brief overview
 
Pearson Chi-Square
Pearson Chi-SquarePearson Chi-Square
Pearson Chi-Square
 
Student's t-test
Student's t-testStudent's t-test
Student's t-test
 
How to draw Scatter plot on SPSS
How to draw Scatter plot on SPSSHow to draw Scatter plot on SPSS
How to draw Scatter plot on SPSS
 
Running Pearson's Correlation on SPSS
Running Pearson's Correlation on SPSSRunning Pearson's Correlation on SPSS
Running Pearson's Correlation on SPSS
 
How to run Simple Linear Regression on SPSS
How to run Simple Linear Regression on SPSSHow to run Simple Linear Regression on SPSS
How to run Simple Linear Regression on SPSS
 
Pearson Correlation, Spearman Correlation &Linear Regression
Pearson Correlation, Spearman Correlation &Linear RegressionPearson Correlation, Spearman Correlation &Linear Regression
Pearson Correlation, Spearman Correlation &Linear Regression
 
Non-parametric analysis: Wilcoxon, Kruskal Wallis & Spearman
Non-parametric analysis: Wilcoxon, Kruskal Wallis & SpearmanNon-parametric analysis: Wilcoxon, Kruskal Wallis & Spearman
Non-parametric analysis: Wilcoxon, Kruskal Wallis & Spearman
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
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
 

Ähnlich wie Testing Hypothesis

Statistics tests and Probablity
Statistics tests and ProbablityStatistics tests and Probablity
Statistics tests and Probablity
Abdul Wasay Baloch
 
Parametric tests seminar
Parametric tests seminarParametric tests seminar
Parametric tests seminar
drdeepika87
 
Chapter8
Chapter8Chapter8
Chapter8
mlmihjaz
 

Ähnlich wie Testing Hypothesis (20)

How to do the maths
How to do the mathsHow to do the maths
How to do the maths
 
Umeapresjr
UmeapresjrUmeapresjr
Umeapresjr
 
Biostatistics.pptx
Biostatistics.pptxBiostatistics.pptx
Biostatistics.pptx
 
T test and ANOVA
T test and ANOVAT test and ANOVA
T test and ANOVA
 
Statistics tests and Probablity
Statistics tests and ProbablityStatistics tests and Probablity
Statistics tests and Probablity
 
Testing of Hypothesis.pptx
Testing of Hypothesis.pptxTesting of Hypothesis.pptx
Testing of Hypothesis.pptx
 
Research methodology iii
Research methodology iiiResearch methodology iii
Research methodology iii
 
Parametric tests seminar
Parametric tests seminarParametric tests seminar
Parametric tests seminar
 
Hypothesis testing.ppt
Hypothesis testing.pptHypothesis testing.ppt
Hypothesis testing.ppt
 
Testing of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdfTesting of Hypothesis combined with tests.pdf
Testing of Hypothesis combined with tests.pdf
 
chapter8.ppt
chapter8.pptchapter8.ppt
chapter8.ppt
 
chapter8.ppt
chapter8.pptchapter8.ppt
chapter8.ppt
 
Chapter8
Chapter8Chapter8
Chapter8
 
Epidemiology Chapter 5.pptx
Epidemiology Chapter 5.pptxEpidemiology Chapter 5.pptx
Epidemiology Chapter 5.pptx
 
312320.pptx
312320.pptx312320.pptx
312320.pptx
 
RM U3 MGR Hypothesis Testing.ppt
RM U3 MGR Hypothesis Testing.pptRM U3 MGR Hypothesis Testing.ppt
RM U3 MGR Hypothesis Testing.ppt
 
Lund 2009
Lund 2009Lund 2009
Lund 2009
 
Chapter 28 clincal trials
Chapter 28 clincal trials Chapter 28 clincal trials
Chapter 28 clincal trials
 
hypothesis.pptx
hypothesis.pptxhypothesis.pptx
hypothesis.pptx
 
Abc4
Abc4Abc4
Abc4
 

Mehr von Azmi Mohd Tamil

Mehr von Azmi Mohd Tamil (20)

Hybrid setup - How to conduct simultaneous face-to-face and online presentati...
Hybrid setup - How to conduct simultaneous face-to-face and online presentati...Hybrid setup - How to conduct simultaneous face-to-face and online presentati...
Hybrid setup - How to conduct simultaneous face-to-face and online presentati...
 
Audiovisual and technicalities from preparation to retrieval how to enhance m...
Audiovisual and technicalities from preparation to retrieval how to enhance m...Audiovisual and technicalities from preparation to retrieval how to enhance m...
Audiovisual and technicalities from preparation to retrieval how to enhance m...
 
Broadcast quality online teaching at zero budget
Broadcast quality online teaching at zero budgetBroadcast quality online teaching at zero budget
Broadcast quality online teaching at zero budget
 
Video for Teaching & Learning: OBS
Video for Teaching & Learning: OBSVideo for Teaching & Learning: OBS
Video for Teaching & Learning: OBS
 
Bengkel 21-12-2020 - Etika atas Talian & Alat Minima
Bengkel 21-12-2020 - Etika atas Talian & Alat MinimaBengkel 21-12-2020 - Etika atas Talian & Alat Minima
Bengkel 21-12-2020 - Etika atas Talian & Alat Minima
 
GIS & History of Mapping in Malaya (lecture notes circa 2009)
GIS & History of Mapping in Malaya (lecture notes circa 2009)GIS & History of Mapping in Malaya (lecture notes circa 2009)
GIS & History of Mapping in Malaya (lecture notes circa 2009)
 
Blended e-learning in UKMFolio
Blended e-learning in UKMFolioBlended e-learning in UKMFolio
Blended e-learning in UKMFolio
 
How to Compute & Recode SPSS Data
How to Compute & Recode SPSS DataHow to Compute & Recode SPSS Data
How to Compute & Recode SPSS Data
 
Introduction to Data Analysis With R and R Studio
Introduction to Data Analysis With R and R StudioIntroduction to Data Analysis With R and R Studio
Introduction to Data Analysis With R and R Studio
 
Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...
Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...
Hack#38 - How to Stream Zoom to Facebook & YouTube Without Using An Encoder o...
 
Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...
Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...
Hack#37 - How to simultaneously live stream to 4 sites using a single hardwar...
 
Cochran Mantel Haenszel Test with Breslow-Day Test & Quadratic Equation
Cochran Mantel Haenszel Test with Breslow-Day Test & Quadratic EquationCochran Mantel Haenszel Test with Breslow-Day Test & Quadratic Equation
Cochran Mantel Haenszel Test with Breslow-Day Test & Quadratic Equation
 
New Emerging And Reemerging Infections circa 2006
New Emerging And Reemerging Infections circa 2006New Emerging And Reemerging Infections circa 2006
New Emerging And Reemerging Infections circa 2006
 
Hacks#36 -Raspberry Pi 4 Mini Computer
Hacks#36 -Raspberry Pi 4 Mini ComputerHacks#36 -Raspberry Pi 4 Mini Computer
Hacks#36 -Raspberry Pi 4 Mini Computer
 
Hack#35 How to FB Live using a Video Encoder
Hack#35 How to FB Live using a Video EncoderHack#35 How to FB Live using a Video Encoder
Hack#35 How to FB Live using a Video Encoder
 
Hack#34 - Online Teaching with Microsoft Teams
Hack#34 - Online Teaching with Microsoft TeamsHack#34 - Online Teaching with Microsoft Teams
Hack#34 - Online Teaching with Microsoft Teams
 
Hack#33 How To FB-Live
Hack#33 How To FB-LiveHack#33 How To FB-Live
Hack#33 How To FB-Live
 
Skype for Business for UKM
Skype for Business for UKM Skype for Business for UKM
Skype for Business for UKM
 
Introduction to Structural Equation Modeling
Introduction to Structural Equation ModelingIntroduction to Structural Equation Modeling
Introduction to Structural Equation Modeling
 
Safe computing (circa 2004)
Safe computing (circa 2004)Safe computing (circa 2004)
Safe computing (circa 2004)
 

KĂźrzlich hochgeladen

Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Sheetaleventcompany
 
👉 Amritsar Call Girls 👉📞 8725944379 👉📞 Just📲 Call Ruhi Call Girl Near Me Amri...
👉 Amritsar Call Girls 👉📞 8725944379 👉📞 Just📲 Call Ruhi Call Girl Near Me Amri...👉 Amritsar Call Girls 👉📞 8725944379 👉📞 Just📲 Call Ruhi Call Girl Near Me Amri...
👉 Amritsar Call Girls 👉📞 8725944379 👉📞 Just📲 Call Ruhi Call Girl Near Me Amri...
Sheetaleventcompany
 
Call Girl In Indore 📞9235973566📞 Just📲 Call Inaaya Indore Call Girls Service ...
Call Girl In Indore 📞9235973566📞 Just📲 Call Inaaya Indore Call Girls Service ...Call Girl In Indore 📞9235973566📞 Just📲 Call Inaaya Indore Call Girls Service ...
Call Girl In Indore 📞9235973566📞 Just📲 Call Inaaya Indore Call Girls Service ...
Sheetaleventcompany
 
Control of Local Blood Flow: acute and chronic
Control of Local Blood Flow: acute and chronicControl of Local Blood Flow: acute and chronic
Control of Local Blood Flow: acute and chronic
MedicoseAcademics
 
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service DehradunDehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
Sheetaleventcompany
 
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
rajnisinghkjn
 
Electrocardiogram (ECG) physiological basis .pdf
Electrocardiogram (ECG) physiological basis .pdfElectrocardiogram (ECG) physiological basis .pdf
Electrocardiogram (ECG) physiological basis .pdf
MedicoseAcademics
 

KĂźrzlich hochgeladen (20)

Intramuscular & Intravenous Injection.pptx
Intramuscular & Intravenous Injection.pptxIntramuscular & Intravenous Injection.pptx
Intramuscular & Intravenous Injection.pptx
 
ANATOMY AND PHYSIOLOGY OF REPRODUCTIVE SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF REPRODUCTIVE SYSTEM.pptxANATOMY AND PHYSIOLOGY OF REPRODUCTIVE SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF REPRODUCTIVE SYSTEM.pptx
 
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service AvailableCall Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
Call Girls Shahdol Just Call 8250077686 Top Class Call Girl Service Available
 
Most Beautiful Call Girl in Chennai 7427069034 Contact on WhatsApp
Most Beautiful Call Girl in Chennai 7427069034 Contact on WhatsAppMost Beautiful Call Girl in Chennai 7427069034 Contact on WhatsApp
Most Beautiful Call Girl in Chennai 7427069034 Contact on WhatsApp
 
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9809698092 👄🫦Independent Escort Service Cha...
 
Circulatory Shock, types and stages, compensatory mechanisms
Circulatory Shock, types and stages, compensatory mechanismsCirculatory Shock, types and stages, compensatory mechanisms
Circulatory Shock, types and stages, compensatory mechanisms
 
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
Gorgeous Call Girls Dehradun {8854095900} ❤️VVIP ROCKY Call Girls in Dehradun...
 
👉 Amritsar Call Girls 👉📞 8725944379 👉📞 Just📲 Call Ruhi Call Girl Near Me Amri...
👉 Amritsar Call Girls 👉📞 8725944379 👉📞 Just📲 Call Ruhi Call Girl Near Me Amri...👉 Amritsar Call Girls 👉📞 8725944379 👉📞 Just📲 Call Ruhi Call Girl Near Me Amri...
👉 Amritsar Call Girls 👉📞 8725944379 👉📞 Just📲 Call Ruhi Call Girl Near Me Amri...
 
Call Girl In Indore 📞9235973566📞 Just📲 Call Inaaya Indore Call Girls Service ...
Call Girl In Indore 📞9235973566📞 Just📲 Call Inaaya Indore Call Girls Service ...Call Girl In Indore 📞9235973566📞 Just📲 Call Inaaya Indore Call Girls Service ...
Call Girl In Indore 📞9235973566📞 Just📲 Call Inaaya Indore Call Girls Service ...
 
Call 8250092165 Patna Call Girls ₹4.5k Cash Payment With Room Delivery
Call 8250092165 Patna Call Girls ₹4.5k Cash Payment With Room DeliveryCall 8250092165 Patna Call Girls ₹4.5k Cash Payment With Room Delivery
Call 8250092165 Patna Call Girls ₹4.5k Cash Payment With Room Delivery
 
Genuine Call Girls Hyderabad 9630942363 Book High Profile Call Girl in Hydera...
Genuine Call Girls Hyderabad 9630942363 Book High Profile Call Girl in Hydera...Genuine Call Girls Hyderabad 9630942363 Book High Profile Call Girl in Hydera...
Genuine Call Girls Hyderabad 9630942363 Book High Profile Call Girl in Hydera...
 
Kolkata Call Girls Naktala 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
Kolkata Call Girls Naktala  💯Call Us 🔝 8005736733 🔝 💃  Top Class Call Girl Se...Kolkata Call Girls Naktala  💯Call Us 🔝 8005736733 🔝 💃  Top Class Call Girl Se...
Kolkata Call Girls Naktala 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Girl Se...
 
💰Call Girl In Bangalore☎️63788-78445💰 Call Girl service in Bangalore☎️Bangalo...
💰Call Girl In Bangalore☎️63788-78445💰 Call Girl service in Bangalore☎️Bangalo...💰Call Girl In Bangalore☎️63788-78445💰 Call Girl service in Bangalore☎️Bangalo...
💰Call Girl In Bangalore☎️63788-78445💰 Call Girl service in Bangalore☎️Bangalo...
 
Kolkata Call Girls Shobhabazar 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Gir...
Kolkata Call Girls Shobhabazar  💯Call Us 🔝 8005736733 🔝 💃  Top Class Call Gir...Kolkata Call Girls Shobhabazar  💯Call Us 🔝 8005736733 🔝 💃  Top Class Call Gir...
Kolkata Call Girls Shobhabazar 💯Call Us 🔝 8005736733 🔝 💃 Top Class Call Gir...
 
Control of Local Blood Flow: acute and chronic
Control of Local Blood Flow: acute and chronicControl of Local Blood Flow: acute and chronic
Control of Local Blood Flow: acute and chronic
 
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service DehradunDehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
Dehradun Call Girl Service ❤️🍑 8854095900 👄🫦Independent Escort Service Dehradun
 
🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...
🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...
🚺LEELA JOSHI WhatsApp Number +91-9930245274 ✔ Unsatisfied Bhabhi Call Girls T...
 
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
👉 Chennai Sexy Aunty’s WhatsApp Number 👉📞 7427069034 👉📞 Just📲 Call Ruhi Colle...
 
Electrocardiogram (ECG) physiological basis .pdf
Electrocardiogram (ECG) physiological basis .pdfElectrocardiogram (ECG) physiological basis .pdf
Electrocardiogram (ECG) physiological basis .pdf
 
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
Ahmedabad Call Girls Book Now 9630942363 Top Class Ahmedabad Escort Service A...
 

Testing Hypothesis

  • 1. FK6163 Basic Hypothesis Testing Assoc. Prof. Dr Azmi Mohd Tamil Dept of Community Health Universiti Kebangsaan Malaysia
  • 2. Inferential Statistic  When we conduct a study, we want to make an inference from the data collected. For example; “drug A is better than drug B in treating disease D"
  • 3. Drug A Better Than Drug B?  Drug A has a higher rate of cure than drug B. (Cured/Not Cured)  If for controlling BP, the mean of BP drop for drug A is larger than drug B. (continuous data – mm Hg)
  • 4. Null Hypothesis  Null Hyphotesis; “no difference of effectiveness between drug A and drug B in treating disease D"
  • 5. Null Hypothesis  H0 is assumed TRUE unless data indicate otherwise: • The experiment is trying to reject the null hypothesis • Can reject, but cannot prove, a hypothesis – e.g. “all swans are white” Âť One black swan suffices to reject Âť H0 “Not all swans are white” Âť No number of white swans can prove the hypothesis – since the next swan could still be black.
  • 6. Can reindeer fly?  You believe reindeer can fly  Null hypothesis: “reindeer cannot fly”  Experimental design: to throw reindeer off the roof  Implementation: they all go splat on the ground  Evaluation: null hypothesis not rejected • This does not prove reindeer cannot fly: what you have shown is that – “from this roof, on this day, under these weather conditions, these particular reindeer either could not, or chose not to, fly”  It is possible, in principle, to reject the null hypothesis • By exhibiting a flying reindeer!
  • 7. Significance  Inferential statistics determine whether a significant difference of effectiveness exist between drug A and drug B.  If there is a significant difference (p<0.05), then the null hypothesis would be rejected.  Otherwise, if no significant difference (p>0.05), then the null hypothesis would not be rejected.  The usual level of significance utilised to reject or not reject the null hypothesis are either 0.05 or 0.01. In the above example, it was set at 0.05.
  • 8. Confidence interval  Confidence interval = 1 - level of significance.  If the level of significance is 0.05, then the confidence interval is 95%.  CI = 1 – 0.05 = 0.95 = 95%  If CI = 99%, then level of significance is 0.01.
  • 9. What is level of significance? Chance? Reject H 0 Reject H 0 .025 .025 -2.0639 -1.96 0 2.0639 1.96 t
  • 10. Fisher’s Use of p-Values  R.A. Fisher referred to the probability to declare significance as “p-value”.  “It is a common practice to judge a result significant, if it is of such a magnitude that it would be produced by chance not more frequently than once in 20 trials.”  1/20 = 0.05. If p-value less than 0.05, then the probability of the effect detected were due to chance is less than 5%.  We would be 95% confident that the effect detected is due to real effect, not due to chance.
  • 11. Error  Although we have determined the level of significance and confidence interval, there is still a chance of error.  There are 2 types; • Type I Error • Type II Error
  • 12. Error REALITY Treatments are Treatments are DECISION not different different Conclude Correct Decision Type II error treatments are β error not different (Cell a) (Cell b) Conclude Type I error Correct Decision treatments are Îą error different (Cell c) (Cell d)
  • 13. Error Incorrect Null Test of Correct Null Hypothesis Hypothesis Significance (Ho not rejected) (Ho rejected) Null Hypothesis Not Rejected Correct Conclusion Type II Error Null Hypothesis Rejected Type I Error Correct Conclusion
  • 14. Type I Error • Type I Error – rejecting the null hypothesis although the null hypothesis is correct e.g. • when we compare the mean/proportion of the 2 groups, the difference is small but the difference is found to be significant. Therefore the null hypothesis is rejected. • It may occur due to inappropriate choice of alpha (level of significance).
  • 15. Type II Error • Type II Error – not rejecting the null hypothesis although the null hypothesis is wrong • e.g. when we compare the mean/proportion of the 2 groups, the difference is big but the difference is not significant. Therefore the null hypothesis is not rejected. • It may occur when the sample size is too small.
  • 16. Example of Type II Error Data of a clinical trial on 30 patients on comparison of pain control between two modes of treatment. Type of treatment * Pain (2 hrs post-op) Crosstabulation Pain (2 hrs post-op) No pain In pain Total Type of treatment Pethidine Count 8 7 15 % within Type 53.3% 46.7% 100.0% of treatment Cocktail Count 4 11 15 % within Type 26.7% 73.3% 100.0% of treatment Total Count 12 18 30 % within Type 40.0% 60.0% 100.0% of treatment Chi-square =2.222, p=0.136 p = 0.136 therefore larger than 0.05. Despite the large difference of rates (53.3% versus 26.7%), the test indicated no significant difference and the null hypothesis was not rejected. Type II Error?
  • 17. Not significant since power of the study is less than 80%. Power is only 32%!
  • 18. Check for the errors  You can check for type II errors of your own data analysis by checking for the power of the respective analysis  This can easily be done by utilising software such as Power & Sample Size (PS2) from the website of the Vanderbilt University
  • 20. Data Analysis  Descriptive – summarising data  Test of Association  Multivariate – controlling for confounders
  • 21. Test of Association  To study the relationship between one or more risk variable(s) (independent) with outcome variable (dependent)  For example; does ethnicity affects the suicidal/para-suicidal tendencies of psychiatric patients.
  • 22. Problem Flow Chart Independent Variables Ethnicity Marital Status Suicidal Tendencies Dependent Variable
  • 23. Hypothesis Testing  Distinguish parametric & non-parametric procedures  Test two or more populations using parametric & non-parametric procedures • Means • Medians • Variances
  • 24. Hypothesis Testing Procedures
  • 26. non-parametric tests Variable 1 Variable 2 Criteria Type of Test Qualitative Qualitative Sample size < 20 or (< 40 but Fisher Test Dichotomus Dichotomus with at least one expected value < 5) Qualitative Quantitative Data not normally distributed Wilcoxon Rank Sum Dichotomus Test or U Mann- Whitney Test Qualitative Quantitative Data not normally distributed Kruskal-Wallis One Polinomial Way ANOVA Test Quantitative Quantitative Repeated measurement of the Wilcoxon Rank Sign same individual & item Test Quantitative - Quantitative - Data not normally distributed Spearman/Kendall continous continous Rank Correlation
  • 27. Statistical Tests - Qualitative
  • 28. Multivariat  Studies the association between multiple causative factors/variables (independent variables) with the outcome (dependent)  For example; risk factors such as parental care, practise of religion, education level of parents; and their effect on disciplinary problems of their child (outcome).
  • 29. Take Home Message Use the tables to decide on what type of analysis to use.

Hinweis der Redaktion

  1. 2 As a result of this class, you will be able to ...