SlideShare a Scribd company logo
1 of 33
Download to read offline
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Test of Significance
& Test of Hypothesis
Tuan V. Nguyen
Professor and NHMRC Senior Research Fellow
Garvan Institute of Medical Research
University of New South Wales
Sydney, Australia
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
What we are going to learn
•  An example
•  Test of significance
•  Test of hypothesis
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
g1 = c( 0.2, 0.3, 0.4, 1.1, 2.0, 2.1, 3.3, 3.8, 4.5, 4.8, 4.9, 5.0, 5.3,
7.5, 9.8, 10.4, 10.9, 11.3, 12.4, 16.2, 17.6, 18.9, 20.7,
24.0, 25.4, 40.0, 42.2, 50.0, 60)
g2 = c(0.2, 0.3, 0.4, 0.7, 1.2, 1.5, 1.5, 1.9, 2.0, 2.4, 2.5, 2.8, 3.6,
4.8, 4.8, 5.4, 5.7, 5.8, 7.5, 8.7, 8.8, 9.1, 10.3, 15.6, 16.1, 16.5,
16.7, 20.0, 20.7, 33.0)
t.test(g1, g2)
data: g1 and g2
t = 2.0357, df = 40.804, p-value = 0.04831
alternative hypothesis: true difference in means is not
equal to 0
95 percent confidence interval:
0.05163216 13.20239083
sample estimates:
mean of x mean of y
14.310345 7.683333
Unpaired t-test by R
What does P = 0.048 mean ?
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Two paradigms of test
•  Test of significance (Ronald A. Fisher)
Statistics is a vital part in inductive inference
(drawing conclusion from sample to population, from
the particular to the general)
•  Test of hypothesis (Jerzy Neyman and
Egon Pearson)
NP dismiss the concept of inductive inference;
statistics as a mechanism for making decisions and
guiding behavior
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Fisher’s test of significance
•  Set up a null hypothesis (i.e., no difference between
groups)
•  Compute the probability of obtaining data if the null
hypothesis is true
•  Report the exact level of significance (e.g., p = 0.051 or
p = 0.049). Do not use a conventional 5% level, and do
not talk about accepting or rejecting hypotheses.
•  Use this procedure only if you know very little about
the problem at hand.
“A null hypothesis can be disproved, but never
proved or established” (Fisher, 1925)
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Fisher’s test of significance
•  Ho: there no NO difference between g1 and g2
•  Conducted an experiment (study), obtained data
•  Compute P(data | Ho is true)
P = 0.048
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
What does “data” mean ?
•  “Data” here is the test statistic (i.e., t-statistic, z-
statistic, etc)
data: g1 and g2
t = 2.0357, df = 40.804, p-value = 0.04831
alternative hypothesis: true difference in means is not
equal to 0
95 percent confidence interval:
0.05163216 13.20239083
sample estimates:
mean of x mean of y
14.310345 7.683333
Data P(Data | no difference)
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
An example of test of significance
Study: 10 subjects were on 2 treatments (A and B); 8
patients showed B>A. Was there a real difference?
ID A B B>A
1 1.00 1.02 Yes
2 0.76 0.80 Yes
3 0.89 0.85 No
4 0.70 0.73 Yes
5 0.90 0.92 Yes
6 0.88 0.93 Yes
7 0.92 0.95 Yes
8 0.80 0.82 Yes
9 0.72 0.78 Yes
10 1.10 1.08 No
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
An example of test of significance
•  Let p = proportion of B>A
•  Null hypothesis: there was no difference (p = 0.5)
•  Alternative hypothesis: there was an effect
•  Under the null hypothesis, we can work out the
exact probability that there was 0, 1, 2, …, 10 B>A
outcomes
( ) ( ) k
k
p
p
k
k
−
−
⎟
⎟
⎠
⎞
⎜
⎜
⎝
⎛
=
10
1
10
Pr
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
An example of test of significance
•  Probability that there was/were 0, 1, 2, … outcomes with B>A
k Pr(k)
0 0.0009765625
1 0.009765625
2 0.04394531
3 0.1171875
4 0.2050781
5 0.2460938
6 0.2050781
7 0.1171875
8 0.04394531
9 0.009765625
10 0.0009765625
P(k>=8) 0.054687
0.00
0.05
0.10
0.15
0.20
0.25
0.30
0 1 2 3 4 5 6 7 8 9 10
k
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Neyman-Pearson model of test of hypothesis
THE TRUTH
•  There is an effect
•  No effect
TEST STATISTIC
•  Significant
•  Not significant
TRUTH STATISTICAL TEST Not significant
Effect
Effect
No effect
No effect
Significant
Not significant
Significant
Not significant
OK (1-b)
Type II error (b)
Type I error (a)
OK
a : significance level, 1-b : power
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
NP’s test of hypothesis
•  Proposed by Neyman and Pearson
•  Set up two hypotheses, H0 and H1,
•  Decide about α (the probability of wrongly reject H1)
and β (the probability of wrongly rejecting H0), and
sample size before the experiment, based on
subjective cost-benefit considerations.
•  If the data falls into the rejection region of H0, accept
H1; otherwise accept H0. Note that accepting a
hypothesis does not mean that you believe in it, but
only that you act as if it were true.
Rule of behaviour: we pick H0 and H1 so that “in the long
run of experience, we shall not be too often wrong”
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Scientific research and medical diagnosis
•  Medical diagnosis
–  We don’t know whether the patient has a disease (yes/no)
–  We rely on diagnostic test (+ve/-ve)
–  Two mistakes: false positive (patient doesnot has the
disease, but the test is +ve); false negative (patient has the
disease, but the test is –ve).
•  Scientific research
–  We don’t know whether there is an effect / association (yes/
no)
–  We rely on statistical test (significant / non-significant)
–  Two mistakes: type I error (there is no effect, but the test
result is significant); type II error (there is an effect, but the
test result is non-significant).
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Hybrid system
•  Set up a null hypothesis of “no difference”
•  Use 5% as a convention for rejecting the null
•  If significant, accept your research hypothesis.
Report the result as p < 0.05, p < 0.01, or p < 0.001
(whichever comes next to the obtained p-value).
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Actual procedure
Propose a hypothesis – H1
Propose a null hypothesis – H0
Collect the data – D
Compute the probability of obtaining the finding
P(D | H0)
If P(D | H0) < 0.05, reject H0, accept H1
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
The logics behind the hybrid system
1.  If H0 is true, the data (finding) can not happen (premise 1)
2.  The finding happens (premise 2)
3.  Therefore, H0 is not true (Conclusion 1)
4.  Either H0 or H1 must be true (by definition)
5.  H0 is true (from 3)
6.  Therefore H1 must be true (Conclusion 2)
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Logics of hypothesis test
•  The current process of hypothesis testing is a
“proof by contradiction”
If the null hypothesis is true, then
the observations are unlikely.
The observations occurred
______________________________________
Therefore, the null hypothesis is
unlikely
If Tuan has hypertension, then he
is unlikely to have fever.
Tuan has fever
______________________________________
Therefore, Tuan is unlikely to have
hypertension
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Randomized clinical trial as a hybrid of Fisher’s test
of significance and NP’s test of hypothesis
“The trial was event driven and required 211 clinical fractures to have a power of
90%. A twosided level of significance of 0.05, with two interim analyses performed
with the use of an O’Brien–Fleming spending function,21 was needed to detect a
35% reduction in the rate of clinical fracture in the zoledronic acid group, as
compared with the placebo group.”
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Randomized clinical trial as a hybrid of Fisher’s
test of significance and NP’s test of hypothesis
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Questions
Mortality RR 0.72 (95%CI: 0.56 – 0.93); p = 0.01
•  They have absolutely disproved the null hypothesis (that is,
there is no effect of zoledronate).
•  They have found the probability of the null hypothesis being
true.
•  They have absolutely proved your experimental hypothesis (that
there is a difference between the population means).
•  They can deduce the probability of the experimental hypothesis
being true.
•  They know, if they decide to reject the null hypothesis, the
probability that they are making the wrong decision.
•  They have a reliable finding in the sense that if, hypothetically,
the study were repeated a great number of times, they would
obtain a significant result on 99% of occasions
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
None of the answers is true!
We make mistake!
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
P value is NOT …
•  The probability of the null hypothesis.
•  The probability that you will make a Type I error if you
reject the null hypothesis.
•  The probability that the observed data occurred by
chance.
•  The probability of the observed data under the null
hypothesis
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Cancer risks
•  Electric razors
•  Broken arms (women)
•  Fluorescent lights
•  Allergies
•  Breeding reindeer
•  Being a waiter
•  Owning a pet bird
•  Being short
•  Being tall
•  Hot dogs
•  Have a refrigerator!
Altman and Simon, JNCI 1992
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Diagnosis and statistical reasoning
Disease status
Present Absent
Test result
+ve True +ve False +ve
(sensitivity)
-ve False -ve True -ve
(Specificity)
Effect
Present Absent
(Ho not true) (Ho is true)
Test result
Signif. OK Type I err.
1-b 	

 a	

No Signif. Type II err. OK
b 	

 1-a
Diagnostic reasoning Statistical reasoning
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Diagnosis and research hypothesis
Diseased
YES
+ve -ve
NO
+ve -ve
Association
True
+ve -ve
False
Sensitivity
P(+ve | D)
False +ve Specificity Power
(1-b)
a level Significance
+ve -ve
b level
False -ve
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Breast cancer screening
Population
Cancer (n=10) No Cancer (n=990)
+ve
N=9
-ve
N=1
+ve
N=90
-ve
N=900
P(+ve result | Cancer) = 9/10 = 90%
P(Cancer| +ve result) = 9/(9+90) = 9%
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Consider a study …
•  20 SNPs (out of 1000 SNPs) are associated with
osteoporosis
•  Study power = 80%
•  Type I error = 5%
•  A study has been done on a SNP
•  Finding: Significant association (P = 0.02)
•  What is the probability that there is indeed an association
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
A Bayesian Interpretation
Genetic
Association
Yes (n=20) No (n=980)
Significant
N=16
Non-
significant
Significant
(n=49)
Non-
significant
P(True association | Significant result) = 16/(16+49) = 25%
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Chance finding
About 25% of all findings with “p<0.05”
should, if viewed in a scientifically
agnostic light, properly be regarded as
nothing more than chance findings
J. Berger (1987); R Matthews (2001)
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
“Half of what doctors know is wrong.
Unfortunately we don’t know which half.”
Quoted from the Dean of Yale Medical
School,
in “Medicine and Its Myths”,
New York Times Magazine, 16/3/2003
Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
Traditional statistical inference
•  Traditional statistical rules are a collection of
principles and conventions to avoid errors over the
long run; they do not tell us how likely our claims are
to be true, nor do they easily apply to individual
results.

More Related Content

What's hot

Ct lecture 5. descriptive analysis of categorical variables
Ct lecture 5. descriptive analysis of categorical variablesCt lecture 5. descriptive analysis of categorical variables
Ct lecture 5. descriptive analysis of categorical variablesHau Pham
 
Comparing research designs fw 2013 handout version
Comparing research designs fw 2013 handout versionComparing research designs fw 2013 handout version
Comparing research designs fw 2013 handout versionPat Barlow
 
Critical appraisal
Critical appraisalCritical appraisal
Critical appraisalPaulaFunnell
 
Quick introduction to critical appraisal of quantitative research
Quick introduction to critical appraisal of quantitative researchQuick introduction to critical appraisal of quantitative research
Quick introduction to critical appraisal of quantitative researchAlan Fricker
 
Quantitative critical appraisal october 2015
Quantitative critical appraisal october 2015Quantitative critical appraisal october 2015
Quantitative critical appraisal october 2015Isla Kuhn
 
Trends towards significance
Trends towards significanceTrends towards significance
Trends towards significanceStephenSenn2
 
Minimally important differences
Minimally important differencesMinimally important differences
Minimally important differencesStephen Senn
 
NES Pharmacy, Critical Appraisal 2011
NES Pharmacy, Critical Appraisal 2011NES Pharmacy, Critical Appraisal 2011
NES Pharmacy, Critical Appraisal 2011NES
 
Critical Appraisal Overview
Critical Appraisal OverviewCritical Appraisal Overview
Critical Appraisal OverviewFastbleep
 
Approximate ANCOVA
Approximate ANCOVAApproximate ANCOVA
Approximate ANCOVAStephen Senn
 
The ABC of Evidence-Base Medicine
The ABC of Evidence-Base MedicineThe ABC of Evidence-Base Medicine
The ABC of Evidence-Base MedicineDr Max Mongelli
 
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 challengeAzmi Mohd Tamil
 
Research Methodology - Study Designs
Research Methodology - Study DesignsResearch Methodology - Study Designs
Research Methodology - Study DesignsAzmi Mohd Tamil
 
Study design2 6_07
Study design2 6_07Study design2 6_07
Study design2 6_07Dan Fisher
 
Research Methods 2 Critical Appraisal Of Literature
Research Methods 2   Critical Appraisal Of LiteratureResearch Methods 2   Critical Appraisal Of Literature
Research Methods 2 Critical Appraisal Of Literatureguest0aeecb
 
Clinical trials: quo vadis in the age of covid?
Clinical trials: quo vadis in the age of covid?Clinical trials: quo vadis in the age of covid?
Clinical trials: quo vadis in the age of covid?Stephen Senn
 
13. qualitative research
13. qualitative research  13. qualitative research
13. qualitative research Ashok Kulkarni
 

What's hot (20)

Ct lecture 5. descriptive analysis of categorical variables
Ct lecture 5. descriptive analysis of categorical variablesCt lecture 5. descriptive analysis of categorical variables
Ct lecture 5. descriptive analysis of categorical variables
 
Comparing research designs fw 2013 handout version
Comparing research designs fw 2013 handout versionComparing research designs fw 2013 handout version
Comparing research designs fw 2013 handout version
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Critical appraisal
Critical appraisalCritical appraisal
Critical appraisal
 
Quick introduction to critical appraisal of quantitative research
Quick introduction to critical appraisal of quantitative researchQuick introduction to critical appraisal of quantitative research
Quick introduction to critical appraisal of quantitative research
 
Quantitative critical appraisal october 2015
Quantitative critical appraisal october 2015Quantitative critical appraisal october 2015
Quantitative critical appraisal october 2015
 
Trends towards significance
Trends towards significanceTrends towards significance
Trends towards significance
 
Minimally important differences
Minimally important differencesMinimally important differences
Minimally important differences
 
Copenhagen 23.10.2008
Copenhagen 23.10.2008Copenhagen 23.10.2008
Copenhagen 23.10.2008
 
NES Pharmacy, Critical Appraisal 2011
NES Pharmacy, Critical Appraisal 2011NES Pharmacy, Critical Appraisal 2011
NES Pharmacy, Critical Appraisal 2011
 
6 sr and meta analysis-ayurved
6 sr and meta analysis-ayurved6 sr and meta analysis-ayurved
6 sr and meta analysis-ayurved
 
Critical Appraisal Overview
Critical Appraisal OverviewCritical Appraisal Overview
Critical Appraisal Overview
 
Approximate ANCOVA
Approximate ANCOVAApproximate ANCOVA
Approximate ANCOVA
 
The ABC of Evidence-Base Medicine
The ABC of Evidence-Base MedicineThe ABC of Evidence-Base Medicine
The ABC of Evidence-Base Medicine
 
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
 
Research Methodology - Study Designs
Research Methodology - Study DesignsResearch Methodology - Study Designs
Research Methodology - Study Designs
 
Study design2 6_07
Study design2 6_07Study design2 6_07
Study design2 6_07
 
Research Methods 2 Critical Appraisal Of Literature
Research Methods 2   Critical Appraisal Of LiteratureResearch Methods 2   Critical Appraisal Of Literature
Research Methods 2 Critical Appraisal Of Literature
 
Clinical trials: quo vadis in the age of covid?
Clinical trials: quo vadis in the age of covid?Clinical trials: quo vadis in the age of covid?
Clinical trials: quo vadis in the age of covid?
 
13. qualitative research
13. qualitative research  13. qualitative research
13. qualitative research
 

Similar to Ct lecture 6. test of significance and test of h

P-values the gold measure of statistical validity are not as reliable as many...
P-values the gold measure of statistical validity are not as reliable as many...P-values the gold measure of statistical validity are not as reliable as many...
P-values the gold measure of statistical validity are not as reliable as many...David Pratap
 
Interim analysis in clinical trials (1)
Interim analysis in clinical trials (1)Interim analysis in clinical trials (1)
Interim analysis in clinical trials (1)ADITYA CHAKRABORTY
 
Ct lecture 1. theory of measurements
Ct lecture 1. theory of measurementsCt lecture 1. theory of measurements
Ct lecture 1. theory of measurementsHau Pham
 
20 OCT-Hypothesis Testing.ppt
20 OCT-Hypothesis Testing.ppt20 OCT-Hypothesis Testing.ppt
20 OCT-Hypothesis Testing.pptShivraj Nile
 
RCT to causal inference.pptx
RCT to causal inference.pptxRCT to causal inference.pptx
RCT to causal inference.pptxFrancois MAIGNEN
 
review of testing hypothesis.pptx
review of testing hypothesis.pptxreview of testing hypothesis.pptx
review of testing hypothesis.pptxRimChamsine1
 
Basic Statistical Concepts & Decision-Making
Basic Statistical Concepts & Decision-MakingBasic Statistical Concepts & Decision-Making
Basic Statistical Concepts & Decision-MakingPenn State University
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and sizeTarek Tawfik Amin
 
Statistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxStatistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxCHRISTINE MAY CERDA
 
Ct lecture 4. descriptive analysis of cont variables
Ct lecture 4. descriptive analysis of cont variablesCt lecture 4. descriptive analysis of cont variables
Ct lecture 4. descriptive analysis of cont variablesHau Pham
 
Epidemiological Approaches for Evaluation of diagnostic tests.pptx
Epidemiological Approaches for Evaluation of diagnostic tests.pptxEpidemiological Approaches for Evaluation of diagnostic tests.pptx
Epidemiological Approaches for Evaluation of diagnostic tests.pptxBhoj Raj Singh
 
Research in Psychology
Research in PsychologyResearch in Psychology
Research in PsychologyPatrick Conway
 
Choosing statistical tests
Choosing statistical testsChoosing statistical tests
Choosing statistical testsAkiode Noah
 
Critical appraisal: How to read a scientific paper?
Critical appraisal: How to read a scientific paper?Critical appraisal: How to read a scientific paper?
Critical appraisal: How to read a scientific paper?Mohammed Abd El Wadood
 

Similar to Ct lecture 6. test of significance and test of h (20)

P-values the gold measure of statistical validity are not as reliable as many...
P-values the gold measure of statistical validity are not as reliable as many...P-values the gold measure of statistical validity are not as reliable as many...
P-values the gold measure of statistical validity are not as reliable as many...
 
Interim analysis in clinical trials (1)
Interim analysis in clinical trials (1)Interim analysis in clinical trials (1)
Interim analysis in clinical trials (1)
 
Ct lecture 1. theory of measurements
Ct lecture 1. theory of measurementsCt lecture 1. theory of measurements
Ct lecture 1. theory of measurements
 
20 OCT-Hypothesis Testing.ppt
20 OCT-Hypothesis Testing.ppt20 OCT-Hypothesis Testing.ppt
20 OCT-Hypothesis Testing.ppt
 
RCT to causal inference.pptx
RCT to causal inference.pptxRCT to causal inference.pptx
RCT to causal inference.pptx
 
review of testing hypothesis.pptx
review of testing hypothesis.pptxreview of testing hypothesis.pptx
review of testing hypothesis.pptx
 
Basic Statistical Concepts & Decision-Making
Basic Statistical Concepts & Decision-MakingBasic Statistical Concepts & Decision-Making
Basic Statistical Concepts & Decision-Making
 
Lund 2009
Lund 2009Lund 2009
Lund 2009
 
Seminar iv
Seminar ivSeminar iv
Seminar iv
 
Coursebooklet
CoursebookletCoursebooklet
Coursebooklet
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and size
 
Sample size calculation
Sample size calculationSample size calculation
Sample size calculation
 
Statistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxStatistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptx
 
Ct lecture 4. descriptive analysis of cont variables
Ct lecture 4. descriptive analysis of cont variablesCt lecture 4. descriptive analysis of cont variables
Ct lecture 4. descriptive analysis of cont variables
 
Copenhagen 2008
Copenhagen 2008Copenhagen 2008
Copenhagen 2008
 
Epidemiological Approaches for Evaluation of diagnostic tests.pptx
Epidemiological Approaches for Evaluation of diagnostic tests.pptxEpidemiological Approaches for Evaluation of diagnostic tests.pptx
Epidemiological Approaches for Evaluation of diagnostic tests.pptx
 
Research in Psychology
Research in PsychologyResearch in Psychology
Research in Psychology
 
Choosing statistical tests
Choosing statistical testsChoosing statistical tests
Choosing statistical tests
 
Oac guidelines
Oac guidelinesOac guidelines
Oac guidelines
 
Critical appraisal: How to read a scientific paper?
Critical appraisal: How to read a scientific paper?Critical appraisal: How to read a scientific paper?
Critical appraisal: How to read a scientific paper?
 

More from Hau Pham

2008_Plague-Slide_Ref SR20080097
2008_Plague-Slide_Ref SR200800972008_Plague-Slide_Ref SR20080097
2008_Plague-Slide_Ref SR20080097Hau Pham
 
Thuc hanh Dich Te Hoc Y Ha Noi 2003
Thuc hanh Dich Te Hoc Y Ha Noi 2003Thuc hanh Dich Te Hoc Y Ha Noi 2003
Thuc hanh Dich Te Hoc Y Ha Noi 2003Hau Pham
 
Ct lecture 20. survival analysis (part 2)
Ct lecture 20. survival analysis (part 2)Ct lecture 20. survival analysis (part 2)
Ct lecture 20. survival analysis (part 2)Hau Pham
 
Lecture 3. planning data analysis
Lecture 3. planning data analysisLecture 3. planning data analysis
Lecture 3. planning data analysisHau Pham
 
Ct lecture 17. introduction to logistic regression
Ct lecture 17. introduction to logistic regressionCt lecture 17. introduction to logistic regression
Ct lecture 17. introduction to logistic regressionHau Pham
 
Ct lecture 16. model selection
Ct lecture 16. model selectionCt lecture 16. model selection
Ct lecture 16. model selectionHau Pham
 
Ct lecture 13. more on linear regression analysis
Ct lecture 13. more on linear regression analysisCt lecture 13. more on linear regression analysis
Ct lecture 13. more on linear regression analysisHau Pham
 
Ct lecture 12. simple linear regression analysis
Ct lecture 12. simple linear regression analysisCt lecture 12. simple linear regression analysis
Ct lecture 12. simple linear regression analysisHau Pham
 
Ct lecture 11. correlation analysis
Ct lecture 11. correlation analysisCt lecture 11. correlation analysis
Ct lecture 11. correlation analysisHau Pham
 
Ct lecture 8. comparing two groups categorical data
Ct lecture 8. comparing two groups   categorical dataCt lecture 8. comparing two groups   categorical data
Ct lecture 8. comparing two groups categorical dataHau Pham
 
Ct lecture 7. comparing two groups cont data
Ct lecture 7. comparing two groups   cont dataCt lecture 7. comparing two groups   cont data
Ct lecture 7. comparing two groups cont dataHau Pham
 
Ct lecture 2. questionnaire deisgn
Ct lecture 2. questionnaire deisgnCt lecture 2. questionnaire deisgn
Ct lecture 2. questionnaire deisgnHau Pham
 
ThongKe Y-Sinh Hoc_Bài 1 một số kiến thức toán cơ bản
ThongKe Y-Sinh Hoc_Bài 1 một số kiến thức toán cơ bảnThongKe Y-Sinh Hoc_Bài 1 một số kiến thức toán cơ bản
ThongKe Y-Sinh Hoc_Bài 1 một số kiến thức toán cơ bảnHau Pham
 

More from Hau Pham (13)

2008_Plague-Slide_Ref SR20080097
2008_Plague-Slide_Ref SR200800972008_Plague-Slide_Ref SR20080097
2008_Plague-Slide_Ref SR20080097
 
Thuc hanh Dich Te Hoc Y Ha Noi 2003
Thuc hanh Dich Te Hoc Y Ha Noi 2003Thuc hanh Dich Te Hoc Y Ha Noi 2003
Thuc hanh Dich Te Hoc Y Ha Noi 2003
 
Ct lecture 20. survival analysis (part 2)
Ct lecture 20. survival analysis (part 2)Ct lecture 20. survival analysis (part 2)
Ct lecture 20. survival analysis (part 2)
 
Lecture 3. planning data analysis
Lecture 3. planning data analysisLecture 3. planning data analysis
Lecture 3. planning data analysis
 
Ct lecture 17. introduction to logistic regression
Ct lecture 17. introduction to logistic regressionCt lecture 17. introduction to logistic regression
Ct lecture 17. introduction to logistic regression
 
Ct lecture 16. model selection
Ct lecture 16. model selectionCt lecture 16. model selection
Ct lecture 16. model selection
 
Ct lecture 13. more on linear regression analysis
Ct lecture 13. more on linear regression analysisCt lecture 13. more on linear regression analysis
Ct lecture 13. more on linear regression analysis
 
Ct lecture 12. simple linear regression analysis
Ct lecture 12. simple linear regression analysisCt lecture 12. simple linear regression analysis
Ct lecture 12. simple linear regression analysis
 
Ct lecture 11. correlation analysis
Ct lecture 11. correlation analysisCt lecture 11. correlation analysis
Ct lecture 11. correlation analysis
 
Ct lecture 8. comparing two groups categorical data
Ct lecture 8. comparing two groups   categorical dataCt lecture 8. comparing two groups   categorical data
Ct lecture 8. comparing two groups categorical data
 
Ct lecture 7. comparing two groups cont data
Ct lecture 7. comparing two groups   cont dataCt lecture 7. comparing two groups   cont data
Ct lecture 7. comparing two groups cont data
 
Ct lecture 2. questionnaire deisgn
Ct lecture 2. questionnaire deisgnCt lecture 2. questionnaire deisgn
Ct lecture 2. questionnaire deisgn
 
ThongKe Y-Sinh Hoc_Bài 1 một số kiến thức toán cơ bản
ThongKe Y-Sinh Hoc_Bài 1 một số kiến thức toán cơ bảnThongKe Y-Sinh Hoc_Bài 1 một số kiến thức toán cơ bản
ThongKe Y-Sinh Hoc_Bài 1 một số kiến thức toán cơ bản
 

Recently uploaded

High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...narwatsonia7
 
Call Girls Cuttack Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Cuttack Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Cuttack Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Cuttack Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Service
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort ServicePremium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Service
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Servicevidya singh
 
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...CALL GIRLS
 
Call Girls Service Pune Vaishnavi 9907093804 Short 1500 Night 6000 Best call ...
Call Girls Service Pune Vaishnavi 9907093804 Short 1500 Night 6000 Best call ...Call Girls Service Pune Vaishnavi 9907093804 Short 1500 Night 6000 Best call ...
Call Girls Service Pune Vaishnavi 9907093804 Short 1500 Night 6000 Best call ...Miss joya
 
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...Miss joya
 
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...Taniya Sharma
 
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...Miss joya
 
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...Miss joya
 
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night EnjoyCall Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoybabeytanya
 
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% SafeBangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safenarwatsonia7
 
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...Miss joya
 
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...astropune
 
Russian Escorts Girls Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls Delhi
Russian Escorts Girls  Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls DelhiRussian Escorts Girls  Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls Delhi
Russian Escorts Girls Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls DelhiAlinaDevecerski
 
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls ServiceKesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Servicemakika9823
 
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...narwatsonia7
 
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...Garima Khatri
 
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Deliverynehamumbai
 
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% SafeBangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safenarwatsonia7
 

Recently uploaded (20)

High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...
 
Call Girls Cuttack Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Cuttack Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Cuttack Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Cuttack Just Call 9907093804 Top Class Call Girl Service Available
 
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Service
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort ServicePremium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Service
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Service
 
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
 
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCREscort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
 
Call Girls Service Pune Vaishnavi 9907093804 Short 1500 Night 6000 Best call ...
Call Girls Service Pune Vaishnavi 9907093804 Short 1500 Night 6000 Best call ...Call Girls Service Pune Vaishnavi 9907093804 Short 1500 Night 6000 Best call ...
Call Girls Service Pune Vaishnavi 9907093804 Short 1500 Night 6000 Best call ...
 
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
Low Rate Call Girls Pune Esha 9907093804 Short 1500 Night 6000 Best call girl...
 
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...
 
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...
 
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
College Call Girls Pune Mira 9907093804 Short 1500 Night 6000 Best call girls...
 
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night EnjoyCall Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoy
 
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% SafeBangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Marathahalli 📞 9907093804 High Profile Service 100% Safe
 
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
 
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
 
Russian Escorts Girls Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls Delhi
Russian Escorts Girls  Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls DelhiRussian Escorts Girls  Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls Delhi
Russian Escorts Girls Nehru Place ZINATHI 🔝9711199012 ☪ 24/7 Call Girls Delhi
 
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls ServiceKesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
Kesar Bagh Call Girl Price 9548273370 , Lucknow Call Girls Service
 
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
 
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...
 
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls Colaba Mumbai ❤️ 9920874524 👈 Cash on Delivery
 
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% SafeBangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safe
Bangalore Call Girls Majestic 📞 9907093804 High Profile Service 100% Safe
 

Ct lecture 6. test of significance and test of h

  • 1. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Test of Significance & Test of Hypothesis Tuan V. Nguyen Professor and NHMRC Senior Research Fellow Garvan Institute of Medical Research University of New South Wales Sydney, Australia
  • 2. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 What we are going to learn •  An example •  Test of significance •  Test of hypothesis
  • 3. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 g1 = c( 0.2, 0.3, 0.4, 1.1, 2.0, 2.1, 3.3, 3.8, 4.5, 4.8, 4.9, 5.0, 5.3, 7.5, 9.8, 10.4, 10.9, 11.3, 12.4, 16.2, 17.6, 18.9, 20.7, 24.0, 25.4, 40.0, 42.2, 50.0, 60) g2 = c(0.2, 0.3, 0.4, 0.7, 1.2, 1.5, 1.5, 1.9, 2.0, 2.4, 2.5, 2.8, 3.6, 4.8, 4.8, 5.4, 5.7, 5.8, 7.5, 8.7, 8.8, 9.1, 10.3, 15.6, 16.1, 16.5, 16.7, 20.0, 20.7, 33.0) t.test(g1, g2) data: g1 and g2 t = 2.0357, df = 40.804, p-value = 0.04831 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: 0.05163216 13.20239083 sample estimates: mean of x mean of y 14.310345 7.683333 Unpaired t-test by R What does P = 0.048 mean ?
  • 4. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Two paradigms of test •  Test of significance (Ronald A. Fisher) Statistics is a vital part in inductive inference (drawing conclusion from sample to population, from the particular to the general) •  Test of hypothesis (Jerzy Neyman and Egon Pearson) NP dismiss the concept of inductive inference; statistics as a mechanism for making decisions and guiding behavior
  • 5. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Fisher’s test of significance •  Set up a null hypothesis (i.e., no difference between groups) •  Compute the probability of obtaining data if the null hypothesis is true •  Report the exact level of significance (e.g., p = 0.051 or p = 0.049). Do not use a conventional 5% level, and do not talk about accepting or rejecting hypotheses. •  Use this procedure only if you know very little about the problem at hand. “A null hypothesis can be disproved, but never proved or established” (Fisher, 1925)
  • 6. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Fisher’s test of significance •  Ho: there no NO difference between g1 and g2 •  Conducted an experiment (study), obtained data •  Compute P(data | Ho is true) P = 0.048
  • 7. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 What does “data” mean ? •  “Data” here is the test statistic (i.e., t-statistic, z- statistic, etc) data: g1 and g2 t = 2.0357, df = 40.804, p-value = 0.04831 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: 0.05163216 13.20239083 sample estimates: mean of x mean of y 14.310345 7.683333 Data P(Data | no difference)
  • 8. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 An example of test of significance Study: 10 subjects were on 2 treatments (A and B); 8 patients showed B>A. Was there a real difference? ID A B B>A 1 1.00 1.02 Yes 2 0.76 0.80 Yes 3 0.89 0.85 No 4 0.70 0.73 Yes 5 0.90 0.92 Yes 6 0.88 0.93 Yes 7 0.92 0.95 Yes 8 0.80 0.82 Yes 9 0.72 0.78 Yes 10 1.10 1.08 No
  • 9. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 An example of test of significance •  Let p = proportion of B>A •  Null hypothesis: there was no difference (p = 0.5) •  Alternative hypothesis: there was an effect •  Under the null hypothesis, we can work out the exact probability that there was 0, 1, 2, …, 10 B>A outcomes ( ) ( ) k k p p k k − − ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ = 10 1 10 Pr
  • 10. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 An example of test of significance •  Probability that there was/were 0, 1, 2, … outcomes with B>A k Pr(k) 0 0.0009765625 1 0.009765625 2 0.04394531 3 0.1171875 4 0.2050781 5 0.2460938 6 0.2050781 7 0.1171875 8 0.04394531 9 0.009765625 10 0.0009765625 P(k>=8) 0.054687 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0 1 2 3 4 5 6 7 8 9 10 k
  • 11. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Neyman-Pearson model of test of hypothesis THE TRUTH •  There is an effect •  No effect TEST STATISTIC •  Significant •  Not significant TRUTH STATISTICAL TEST Not significant Effect Effect No effect No effect Significant Not significant Significant Not significant OK (1-b) Type II error (b) Type I error (a) OK a : significance level, 1-b : power
  • 12. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 NP’s test of hypothesis •  Proposed by Neyman and Pearson •  Set up two hypotheses, H0 and H1, •  Decide about α (the probability of wrongly reject H1) and β (the probability of wrongly rejecting H0), and sample size before the experiment, based on subjective cost-benefit considerations. •  If the data falls into the rejection region of H0, accept H1; otherwise accept H0. Note that accepting a hypothesis does not mean that you believe in it, but only that you act as if it were true. Rule of behaviour: we pick H0 and H1 so that “in the long run of experience, we shall not be too often wrong”
  • 13. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Scientific research and medical diagnosis •  Medical diagnosis –  We don’t know whether the patient has a disease (yes/no) –  We rely on diagnostic test (+ve/-ve) –  Two mistakes: false positive (patient doesnot has the disease, but the test is +ve); false negative (patient has the disease, but the test is –ve). •  Scientific research –  We don’t know whether there is an effect / association (yes/ no) –  We rely on statistical test (significant / non-significant) –  Two mistakes: type I error (there is no effect, but the test result is significant); type II error (there is an effect, but the test result is non-significant).
  • 14. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Hybrid system •  Set up a null hypothesis of “no difference” •  Use 5% as a convention for rejecting the null •  If significant, accept your research hypothesis. Report the result as p < 0.05, p < 0.01, or p < 0.001 (whichever comes next to the obtained p-value).
  • 15. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Actual procedure Propose a hypothesis – H1 Propose a null hypothesis – H0 Collect the data – D Compute the probability of obtaining the finding P(D | H0) If P(D | H0) < 0.05, reject H0, accept H1
  • 16. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 The logics behind the hybrid system 1.  If H0 is true, the data (finding) can not happen (premise 1) 2.  The finding happens (premise 2) 3.  Therefore, H0 is not true (Conclusion 1) 4.  Either H0 or H1 must be true (by definition) 5.  H0 is true (from 3) 6.  Therefore H1 must be true (Conclusion 2)
  • 17. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Logics of hypothesis test •  The current process of hypothesis testing is a “proof by contradiction” If the null hypothesis is true, then the observations are unlikely. The observations occurred ______________________________________ Therefore, the null hypothesis is unlikely If Tuan has hypertension, then he is unlikely to have fever. Tuan has fever ______________________________________ Therefore, Tuan is unlikely to have hypertension
  • 18. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
  • 19. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Randomized clinical trial as a hybrid of Fisher’s test of significance and NP’s test of hypothesis “The trial was event driven and required 211 clinical fractures to have a power of 90%. A twosided level of significance of 0.05, with two interim analyses performed with the use of an O’Brien–Fleming spending function,21 was needed to detect a 35% reduction in the rate of clinical fracture in the zoledronic acid group, as compared with the placebo group.”
  • 20. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Randomized clinical trial as a hybrid of Fisher’s test of significance and NP’s test of hypothesis
  • 21. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Questions Mortality RR 0.72 (95%CI: 0.56 – 0.93); p = 0.01 •  They have absolutely disproved the null hypothesis (that is, there is no effect of zoledronate). •  They have found the probability of the null hypothesis being true. •  They have absolutely proved your experimental hypothesis (that there is a difference between the population means). •  They can deduce the probability of the experimental hypothesis being true. •  They know, if they decide to reject the null hypothesis, the probability that they are making the wrong decision. •  They have a reliable finding in the sense that if, hypothetically, the study were repeated a great number of times, they would obtain a significant result on 99% of occasions
  • 22. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 None of the answers is true! We make mistake!
  • 23. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 P value is NOT … •  The probability of the null hypothesis. •  The probability that you will make a Type I error if you reject the null hypothesis. •  The probability that the observed data occurred by chance. •  The probability of the observed data under the null hypothesis
  • 24. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Cancer risks •  Electric razors •  Broken arms (women) •  Fluorescent lights •  Allergies •  Breeding reindeer •  Being a waiter •  Owning a pet bird •  Being short •  Being tall •  Hot dogs •  Have a refrigerator! Altman and Simon, JNCI 1992
  • 25. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012
  • 26. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Diagnosis and statistical reasoning Disease status Present Absent Test result +ve True +ve False +ve (sensitivity) -ve False -ve True -ve (Specificity) Effect Present Absent (Ho not true) (Ho is true) Test result Signif. OK Type I err. 1-b a No Signif. Type II err. OK b 1-a Diagnostic reasoning Statistical reasoning
  • 27. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Diagnosis and research hypothesis Diseased YES +ve -ve NO +ve -ve Association True +ve -ve False Sensitivity P(+ve | D) False +ve Specificity Power (1-b) a level Significance +ve -ve b level False -ve
  • 28. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Breast cancer screening Population Cancer (n=10) No Cancer (n=990) +ve N=9 -ve N=1 +ve N=90 -ve N=900 P(+ve result | Cancer) = 9/10 = 90% P(Cancer| +ve result) = 9/(9+90) = 9%
  • 29. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Consider a study … •  20 SNPs (out of 1000 SNPs) are associated with osteoporosis •  Study power = 80% •  Type I error = 5% •  A study has been done on a SNP •  Finding: Significant association (P = 0.02) •  What is the probability that there is indeed an association
  • 30. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 A Bayesian Interpretation Genetic Association Yes (n=20) No (n=980) Significant N=16 Non- significant Significant (n=49) Non- significant P(True association | Significant result) = 16/(16+49) = 25%
  • 31. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Chance finding About 25% of all findings with “p<0.05” should, if viewed in a scientifically agnostic light, properly be regarded as nothing more than chance findings J. Berger (1987); R Matthews (2001)
  • 32. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 “Half of what doctors know is wrong. Unfortunately we don’t know which half.” Quoted from the Dean of Yale Medical School, in “Medicine and Its Myths”, New York Times Magazine, 16/3/2003
  • 33. Workshop on Analysis of Clinical Studies – Can Tho University of Medicine and Pharmacy – April 2012 Traditional statistical inference •  Traditional statistical rules are a collection of principles and conventions to avoid errors over the long run; they do not tell us how likely our claims are to be true, nor do they easily apply to individual results.