How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your...

33
How to Teach Statistics in EBM Rafael Perera

Transcript of How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your...

Page 1: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

How to Teach Statistics in EBM

Rafael Perera

Page 2: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Basic teaching advice

• Know your audience• Know your audience!• Create a knowledge gap• Give a map of the main concepts• Decide which ones to focus on• Use plenty of examples• Let them do the work/thinking

Page 3: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Main Concepts

• Bias and Measurement error• P values and Confidence Intervals• Which Statistical tests are needed and when• Correlation and Association• Models / Regression and alternatives for

Adjustment• Survival Analysis• Meta Analysis • Statistics for Diagnostic Studies

Page 4: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

There is a time and place…

Page 5: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Fundamental Equation of Error

• Measure = Truth + Bias + Random Error

Use good study design

Use large

numbers

Researcher

Critically AppraiseDesign

ConfidenceIntervals

andP-values

Reader

Page 6: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

true result

Biaslow high

Ra

nd

om

err

or

hig

h

low

Bias versus Random error

Page 7: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Bias and Measurement error

Groups of 3-4 people

1 – subject

2 – measurers

Measurers – measure (twice) and record the head size of the subject. Keep measurements hidden.

Page 8: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Bias and Measurement error

Intra-Observer variability

Measurement error

• Same answer

• Varied by < 0.5 cm

• Varied by < 1cm

• Varied by < 2 cm

• Varied by >2 cm

Page 9: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Bias and Measurement error

Inter-Observer variability

Measurement error

• Same answer

• Varied by < 0.5 cm

• Varied by < 1cm

• Varied by < 2 cm

• Varied by >2 cm

Page 10: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Bias and Measurement error

Bias

Included ears?

Included nose?

Which part of the head?

Other?

Page 11: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Does it matter?

In paediatric practice following meningitis, a head circumference that increases by 7mm in a day will result in urgent head imaging

In obstetrics measurements of the fundal height can vary by up to 5cm (the difference between having a baby delivered early due to IUGR or not when opposite occur)

The question is can you reproduce the test in your setting and will it perform as

well in your setting

Page 12: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Measuring Random error

Most things don’t work!

Page 13: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Two methods of assessing the role of random error

•P-values • (Hypothesis Testing)

– use statistical test to examine the ‘null’ hypothesis

– if p<0.05 then result is statistically significant

•Confidence Intervals(Estimation)

– estimates the range of values that is likely to include the true value

Relationship between p-values and confidence intervalsIf the ‘no effect’ value falls outside the CI then the result is statistically significant

Page 14: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

The Steps in Testing a Hypothesis

State the

null hypothesis

H0 Choose the

test statistic

that

summarizes

the data

Based on H0

calculate the probability of

getting the

value of the

test statistic

Interpret the

P-value

Page 15: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Some Statistical tests

• Comparing groups– T-tests (1 or 2 groups, normally distributed)– Chi-squared (2 or more groups, categorical or binary data)– Mann-Whitney U (2 groups, non-normal data)– Log-rank test (2 groups, survival data)– ANOVA (multiple groups, normally distributed)– …

• Tips: – Understand what the hypothesis being tested is– Use the p-value to assess the level of evidence against it– (Experienced) Assess if the test was adequate for the question

and data analysed

Page 16: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.
Page 17: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Hand outs

1. Incidence/ Prevalence and CI2. Survival analysis3. Regression models / Adjustment4. Linear association / Correlation 5. Confounding / Odds Ratios / Logistic

Regression6. Diagnostic Tests7. Meta-analysis

Page 18: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.
Page 19: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Reading confidence intervals

Page 20: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Clinically significant

Vitamin X shortens a 5 day cold

Would you take it twice per day if it shortened the cold by:

Page 21: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Clinically significant

Vitamin X shortens a 5 day cold

Would you take it twice per day if it shortened the cold by:

50%

Page 22: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Clinically significant

Vitamin X shortens a 5 day cold

Would you take it twice per day if it shortened the cold by:

50%20%

Page 23: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Clinically significant

Vitamin X shortens a 5 day cold

Would you take it twice per day if it shortened the cold by:

50%20%10%

Page 24: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Clinically significant

Vitamin X shortens a 5 day cold

Would you take it twice per day if it shortened the cold by:

50%20%10%5%

Page 25: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Clinically significant

Vitamin X shortens a 5 day cold

Would you take it twice per day if it shortened the cold by:

50%20%10%5%1%

Page 26: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

(a) (b)

(c) (d)

Minimum clinicalImportant difference

No difference

Which are clinically significant?

010

20

Page 27: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Thank you

Page 28: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

EXTRAS

Page 29: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Different types of measurements use different types of statistics

• Dichotomous: – Male,female OR infected, non-infected

• Categorical: – Red, green, blue OR

• Ordinal: – Nil, +, ++ of glucose

• Interval:– temperature

STATISTICS

Proportion, Risk

Mode, Proportions

Mode, Median?

Mean, Median

Page 30: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

> t wo samples

Independence between two or more variables

Parametric

Non parametric

Between means for

continuous data

Between

distributions

Hypothesis testing and

a ssessing d ifferences

Parametric ANOVA

Sign test for related

samples

Rank sum test for independent samples

Kruskal Wallis

T test difference for related samples

Non parametric

T test for independent

samples

McNemar’s test for

related groups

Between one observed

variable and a theoretical

distribution

X2 test for goodness

of fit

X 2 test for

independence

Two samples

One sample vs. H 0

One sample vs. H 0 Z score equal

proportions

Z score

Between proportions forcategorical data

Flowchart of Statistical Tests for Hypothesis Testing

Page 31: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Flowchart of Statistical Tests for Hypothesis Testing

Between distributions

Between one observed variable and a theoretical distribution

Independence between two or more variables

c2 test for goodness of fit

c2 test for independence

McNemar’s test for related groups

Page 32: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Flowchart of Statistical Tests for Hypothesis Testing

Between means for continuous data

Two samples

t-test independent samples

Rank sum test for independent samples

Sign test for related samples

t-test difference for related samples

ANOVA

Kruskal – Wallis

Parametric

> two samples

Non Parametric

Parametric

Non Parametric

Page 33: How to Teach Statistics in EBM Rafael Perera. Basic teaching advice Know your audience Know your audience! Create a knowledge gap Give a map of the main.

Flowchart of Statistical Tests for Hypothesis Testing

Between proportions for categorical data

One sample vs. H0

Two samples

Z-score

Z-score equal proportions

Summarising proportions One sample: Risk, OddsTwo samples: Relative risk, Odds ratios, Risk differences