Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal,...

25
Fikri M Abu-Zidan, MD, FRCS, PhD, Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine and Health Sciences, UAE University Statistics: When and how? Statistics: When and how? 0 20 20 40 40 60 60 80 80 100 100 120 120 0 10 10 20 20 30 30 40 40 50 50 Helm et Place Y ear R ace R ace Holiday A lcoholabuse Sex G eneralised Linear M odel G eneralised Linear M odel H ospitalstay ISS A lcohol * holiday C ause A ge Helm et Place Y ear R ace R ace Holiday A lcoholabuse R ace R ace Holiday A lcoholabuse A lcoholabuse Sex G eneralised Linear M odel G eneralised Linear M odel H ospitalstay ISS A lcohol * holiday C ause A ge

Transcript of Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal,...

Page 1: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStatsFikri M Abu-Zidan, MD, FRCS, PhD, DipApplStatsStatistics Editor, Emirates Medical Journal,Associate Professor, Head, Trauma Group,

Faculty of Medicine and Health Sciences, UAE University

Statistics: When and how?Statistics: When and how?

00

2020

4040

6060

8080

100100

120120

00 1010 2020 3030 4040 5050

Helmet

PlaceYear

RaceRaceHoliday

Alcohol abuse

Sex

Generalised Linear ModelGeneralised Linear Model

Hospital stay

ISS

Alcohol * holiday

Cause

AgeHelmet

PlaceYear

RaceRaceHoliday

Alcohol abuse

RaceRaceHoliday

Alcohol abuseAlcohol abuse

Sex

Generalised Linear ModelGeneralised Linear Model

Hospital stay

ISS

Alcohol * holiday

Cause

Age

Page 2: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

It is a tool to summarize and compare data in an It is a tool to summarize and compare data in an informative way and not an aim by itself. informative way and not an aim by itself.

SStatistics is a branch of mathematics dealing tatistics is a branch of mathematics dealing with the collection, analysis and interpretation with the collection, analysis and interpretation of masses of numerical data.of masses of numerical data.

Merriam- Webster 1997Merriam- Webster 1997

It can not replace proper research questions.It can not replace proper research questions.

Fishing for questions to fit the data after analyzing it is erroneous.Fishing for questions to fit the data after analyzing it is erroneous.

Page 3: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

What is the type of the data?What is the type of the data?

How many groups are there?How many groups are there?

Are the data normally distributed?Are the data normally distributed?

One groupOne groupTwo groupsTwo groupsMore than two groupsMore than two groups

If not, either transform data or use non parametric methodsIf not, either transform data or use non parametric methods

Are the groups related or unrelated?Are the groups related or unrelated?

What is the objective of the analysis?What is the objective of the analysis?Define the research question before starting the analysisDefine the research question before starting the analysis

Questions to be answered

Page 4: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

Types of dataTypes of data

Categorical dataCategorical data Color of the eye Color of the eye

TypeType ExampleExample

Binomial dataBinomial data Gender Gender

OrdinalOrdinal Likert Scale Likert Scale

IntervalInterval Weight Weight

Page 5: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

Conclusions depend on1)1) Difference between the means Difference between the means 2) Variability of the results2) Variability of the results

Difference = Difference = xx11 –– xx22Difference = Difference = xx11 –– xx22Difference = Difference = xx11 –– xx22

Variance: Variance: ∑ (x-x)∑ (x-x)22 n-1n-1

xx

xx22

xx55 xx44

xxnn

xx11

xx33

Standard deviation (SD) = Standard deviation (SD) = VarianceVariance

Standard Error (SE) = Standard Error (SE) = nn

SDSD

Page 6: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

Weight (kg)60 65 70 75 80 85 90 95

Group 1Group 1 Group 2

Assumptions involved in t testingAssumptions involved in t testing1) Normal distribution 1) Normal distribution 2) Same variability 2) Same variability

Page 7: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

-1 SD +1 SD0

15.87%15.87%

68.26%

Page 8: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

-1.96 SD +1.96 SD0

2.5 %

95 %

2.5 %

Page 9: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

Height (cm)

150 155 160 165 170 175 180 185

FemalesFemales Males

Page 10: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

Height (cm)

150 155 160 165 170 175 180 185

FemalesFemales Males

Page 11: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

Height (cm)

160 165 170 175 180 185

Males

190

Sample sizeSample size

100100

1010

22

11

Page 12: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

We would not expect the actual differences We would not expect the actual differences to be more than approximately 2 standard to be more than approximately 2 standard errors away from zero, assuming, of course, errors away from zero, assuming, of course, that the results follows a normal distribution.that the results follows a normal distribution.

95% of all non-genuine differences will 95% of all non-genuine differences will lie between lie between ± 2± 2 standard errors. standard errors.

Page 13: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

An innocent verdict does not necessarily An innocent verdict does not necessarily mean that a jury is convinced of a defendant’s mean that a jury is convinced of a defendant’s innocence. It may mean that the facts were innocence. It may mean that the facts were not strong enough. (Type II error)not strong enough. (Type II error)

The two groups being compared are assumed the same until proven different.

A large sample difference suggest a real A large sample difference suggest a real difference is inherently more appealing than the difference is inherently more appealing than the remote (5%) (Type I error), p < 0.05remote (5%) (Type I error), p < 0.05

Null hypothesis

Page 14: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

Decided before analysisDecided before analysisJustified by the logic of comparisonJustified by the logic of comparisonClearly identified in report Clearly identified in report

Two-tailed testTwo-tailed test

Differences in either directionDifferences in either directionThe standard way of comparisonThe standard way of comparison

One-tailed test

Page 15: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

Paired t-test

Do not analyze the results of a paired experiment Do not analyze the results of a paired experiment using an independent t test. This ignores the paired using an independent t test. This ignores the paired nature of the results and loses the advantages of this nature of the results and loses the advantages of this very sensitive test.very sensitive test.

BewareBeware

Pairs can be formed on natural basis (twin) or on a Pairs can be formed on natural basis (twin) or on a more arbitrary artificial basis. more arbitrary artificial basis. 

Page 16: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

PPStatisticalStatisticalsignificancesignificance

ClinicalClinicalsignificancesignificance

PPPPPPStatisticalStatisticalsignificancesignificance

ClinicalClinicalsignificancesignificance

Placebo Placebo n=100 mean (SEM)n=100 mean (SEM) 120 (2) mmHg120 (2) mmHg

New drug New drug n=100 mean (SEM) 112 (2) mmHgn=100 mean (SEM) 112 (2) mmHg

tt = 8/2 = 4 = 8/2 = 4P < 0.05P < 0.05

Do not look through the p pinhole

Page 17: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

00

2020

4040

6060

8080

100100

120120

00 1010 2020 3030 4040 505000

2020

4040

6060

8080

100100

120120

140140

11 22 33 44 55 66 77 88

MeanMean MeanMean22

TransformationTransformation

Page 18: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

10

15

20

25

30

35

40

45

50

55

60

Am

ylin

pM

Am

ylin

pM

ControlControl ShamShamoperatedoperated

IschaemiaIschaemiareperfusionreperfusion

**

**

Page 19: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

50

70

90

110

130

0 20 40 60 80

Time (Minutes)

MA

P m

mH

g

****

S group, n=10

IR group, n=10

Page 20: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

1.1.      The number of each groupThe number of each group2.2.      The mean value of each groupThe mean value of each group3.3.      The standard deviation of each groupThe standard deviation of each group4.4.      The range of resultsThe range of results5.5.      The calculated value of tThe calculated value of t6.6.      The degree of freedom involved The degree of freedom involved 7.7.      The type I error involved The type I error involved

ReportReport

Page 21: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

ChecklistChecklist

What is the null hypothesis?What is the null hypothesis?

  What is the alternative hypothesis What is the alternative hypothesis (two-tailed or one-tailed test) ?(two-tailed or one-tailed test) ?

Are the two sets of results unrelated Are the two sets of results unrelated to one another?to one another?

What is theWhat is the critical value? critical value?5 % if you are carrying out a two-tailed test 5 % if you are carrying out a two-tailed test 10% if you are carrying out a one-tailed test10% if you are carrying out a one-tailed test

Does the t value exceeds the Does the t value exceeds the critical value?critical value?

Page 22: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

20

30

40

50

60A

myl

in p

MA

myl

in p

M

1000 2000 3000 4000 5000

InsulinInsulin pMpM

F = 46.6F = 46.6R = 0.82R = 0.82p < 0.0001p < 0.0001

20

30

40

50

60A

myl

in p

MA

myl

in p

M

1000 2000 3000 4000 5000

InsulinInsulin pMpM

F = 46.6F = 46.6R = 0.82R = 0.82p < 0.0001p < 0.0001

Page 23: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

100

200

300

400

500

600

700vW

F%

40 60 80 100 120 140 160

MAP (mmHg)MAP (mmHg)

F = 1.8F = 1.8R = R = -- 0.220.22p < 0.2p < 0.2

100

200

300

400

500

600

700vW

F%

40 60 80 100 120 140 160

MAP (mmHg)MAP (mmHg)

F = 1.8F = 1.8R = R = -- 0.220.22p < 0.2p < 0.2

Page 24: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

4.54.5

55

5.55.5

66

6.56.5

44 55 66 77Overall ratingOverall rating

Ave

rage

of

15

qu

esti

ons

Ave

rage

of

15

qu

esti

ons

Spearman Rank CorrelationSpearman Rank Correlation

r = 0.84p = 0.0002

CorrelationsCorrelations

Page 25: Fikri M Abu-Zidan, MD, FRCS, PhD, DipApplStats Statistics Editor, Emirates Medical Journal, Associate Professor, Head, Trauma Group, Faculty of Medicine.

Thank YouThank You