statistics for gp and the akt

74
Statistics for GP and the AKT Sept ‘11

Upload: sara-glenn

Post on 31-Dec-2015

20 views

Category:

Documents


2 download

DESCRIPTION

Statistics for GP and the AKT. Sept ‘ 11. Aims. Be able to understand statistical terminology, interpret stats in papers and explain them to patients. Pass the AKT. Why should you care?. 10% of questions Much less than 10% of the work Easy marks. Plan – don ’ t despair!. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Statistics for GP and the AKT

Statistics for GP and the AKT

Sept ‘11

Page 2: Statistics for GP and the AKT

Aims

• Be able to understand statistical terminology, interpret stats in papers and explain them to patients.

• Pass the AKT

Page 3: Statistics for GP and the AKT
Page 4: Statistics for GP and the AKT
Page 5: Statistics for GP and the AKT

Why should you care?

• 10% of questions

• Much less than 10% of the work

• Easy marks

Page 6: Statistics for GP and the AKT

Plan – don’t despair!• Representing data:

– Parametric v non parametric data

– Normal distribution and standard deviation

– Types of data– Mean, median, mode – Prevalence and incidence

• Types of research:

– Types of studies – Grades of evidence– Types of bias– Tests of statistical significance

• Significance of results :– P value– Confidence intervals– Type 1 and type 2 error

• Magnitude of results:– NNT, NNH– Absolute risk reduction, Relative

risk reduction– Hazard ratio– Odds ratio

• Clinical tests– Sensitivity, specificity– Positive predictive value,

negative predictive value – Likelihood ratios for positive and

negative test

• Pretty pictures:– Forest plot– Funnel plot– Kaplan-Meier survival curve

Page 7: Statistics for GP and the AKT

The Normal Distribution

•Frequency on y axis and continuous variable on x•Symmetrical, just as many have more than average as less than average•Generally true for medical tests and measurements

Page 8: Statistics for GP and the AKT

Standard deviation

• A measure of spread

Page 9: Statistics for GP and the AKT

SD and the normal distribution

•68.2% of data within 1SD•95.5% of data within 2SD•99.8% of data within 3SD•95% of data within 1.96 SD

Page 10: Statistics for GP and the AKT

Defining ‘normal’

•Can be used to define normal for medical tests e.g. Na•But be definition 5% of ‘normal’ people will be ‘too high’ and 5% ‘too low’.

Page 11: Statistics for GP and the AKT

Normality

Page 12: Statistics for GP and the AKT

Positive and negative skew

Page 13: Statistics for GP and the AKT

Parametric and non-parametric

• If it’s normally distributed, it’s parametric• If it’s skewed, it’s non-parametic

Page 14: Statistics for GP and the AKT

Mean, median and mode

• Use mean for parametric data• Median for non parametric data

• In a normal distribution: Mean = median = mode

• For a negatively skewed distribution: Mean < median < mode

• For a positively skewed distribution:Mean > median > mode

• Remember alphabetical order, <for negative, >for positive

Page 15: Statistics for GP and the AKT

What sort of distribution is this?

Page 16: Statistics for GP and the AKT

Which is a normal distribution?

Page 17: Statistics for GP and the AKT

Types of data

Page 18: Statistics for GP and the AKT

Types of data

• Continuous – can take any value e.g. height• Discrete – can only take integers e.g. number

of asthma attacks• Nominal – into categories in no particular

order e.g. colour of smarties• Ordinal – into categories with an inherent

rank e.g. Bristol stool chart

Page 19: Statistics for GP and the AKT

Prevalence and incidence

• Prevalence – proportion of people that have a disease at a given time

• Incidence – number of new cases per population per time

• Prevalence = incidence x length of disease

Page 20: Statistics for GP and the AKT
Page 21: Statistics for GP and the AKT

Types of research

• RCT• Cohort• Case controlled• Cross sectional

Group work• Definition• Strengths• Weaknesses• Example where it would

be the most appropriate study to use

Page 22: Statistics for GP and the AKT

RCT

• Interventional study• Used to compare treatment(s) with a control group.• Control group have placebo or current best

treatment.• Best evidence but….• Expensive and ethical problems• Two types

– Group comparative– Cross-over

Page 23: Statistics for GP and the AKT

Cohort

• Longitudinal/follow-up studies.• Usually prospective

• Assessed using relative risk

Population

Exposed

Not exposed

Disease

Well

Disease

Well

selection Time

Page 24: Statistics for GP and the AKT

Case control

• Usually retrospective• Reverse cohort study

• Assessed using odds ratio

Population

Disease

Well

Exposed

Not exposed

Not exposed

Exposed

selectionTime

Page 25: Statistics for GP and the AKT

Cross-sectional

• Prevalence study• Evaluate a defined population at a specific

time.• Used to assess disease status and compare

populations

Page 26: Statistics for GP and the AKT

Levels of Evidence

• Ia – Meta analysis of RCT’s• Ib – RCT(s)

• IIa – well designed non-randomised trial(s)• IIb – well designed experimental trial(s)

• III – case, correlation and comparative

• IV – panel of experts

Page 27: Statistics for GP and the AKT

Grades of Evidence

• Ia – Meta analysis of RCT’s• Ib – RCT(s)

• IIa – well designed non-randomised trial(s)• IIb – well designed experimental trial(s)

• III – case, correlation and comparative

• IV – panel of experts

A

C

B

Page 28: Statistics for GP and the AKT

Bias

• Confounding• Observer• Publication• Sampling• Selection

CARD SORTFor bonus points, spot the odd one out!

Page 29: Statistics for GP and the AKT

Bias• Confounding

– Exposed and non-exposed groups differ with respect characteristics independent of risk factor.

• Observer– The patient/clinician know which treatment is being received.– Outcome measure has a subjective element.

• Publication– Clinically significant results are more likely to be published– Negative results are less likely to be published

• Sampling– Non-random selection from target population.

• Selection– Intervention allocation to the next person is known before

recruitment.

Page 30: Statistics for GP and the AKT

Avoiding Bias• Confounding

– Study design• Observer

– Blinding• Publication

– Journals accept more outcomes with non-significant results

• Sampling– Compare groups statistically

• Selection– Randomisation

Page 31: Statistics for GP and the AKT

Chance…

Page 32: Statistics for GP and the AKT

Types of significance testsQualitative

• Single sample (my sample vs manufacturer’s claim)– Binomial test

• >1 independent sample (drug A vs drug B)– Small sample – Fisher exact test– Larger sample – Chi-squared

• Dependent sample– Percentage agreement (+/- Kappa statistic)

Page 33: Statistics for GP and the AKT

• Single sample– Student one-sample t-test

• Two independent samples– Student independent samples t-test

• Two dependent samples– Student dependent samples t-test

• >2 independent samples– One-way ANOVA

• >2 dependent samples– ANOVA

• Correlation– Pearson correlation coefficient

Types of significance testsQuantitative - Parametric

Page 34: Statistics for GP and the AKT

Types of significance testsQuantitative – Non-parametric

• Single sample– Kolmogorov-Smirnov test

• Two independent samples– Mann-Whitney

• Two dependent samples– Wilcoxon matched pairs sum test

• >2 independent samples– Kruskal-Wallis test

• >2 dependent samples– Friedman test

• Correlation– Spearman

Page 35: Statistics for GP and the AKT
Page 36: Statistics for GP and the AKT

Types of significance testssummary table

Samples 1 2 >2 Correlation

Qualitative Binomial Ind: Fishers / *Chi squared

Dep: % agreement

-

Quantitative

Parametric

Student Student Ind: one-way ANOVA

Dep: ANOVA

Pearson

Quantitative

Non-parametric

Kolmogorov-Smirnov

Ind: Mann-Whitney

Dep: Wilcoxon

Ind: Kurskal-Wallis

Dep: Friedman

Spearman

*Chi squared – can be used to compare quantitative data if look at proportions/percentages

Page 37: Statistics for GP and the AKT

P value

“The p value is equal to the probability of achieving a result at least as extreme as the experimental outcome by chance”

• Usually significance level is 0.05i.e. the chance that there is no real difference is

less than 5%

Page 38: Statistics for GP and the AKT

Hypothesis

• Null hypothesis – states that there is no difference between the 2 treatments

Page 39: Statistics for GP and the AKT

Errors• Type I error:

– False positive– The null hypothesis is rejected when it is true– Probability is equal to p value– Depends on significance level set not on sample size– Risk increased if multiple end points

• Type II error:– False negative– The null hypothesis is accepted when it is true i.e. fail to find a

statistical significant difference– More likely if small sample size

Page 40: Statistics for GP and the AKT

Error

Page 41: Statistics for GP and the AKT

Sample populations

Page 42: Statistics for GP and the AKT

Confidence intervals

• 95% confidence interval means you are 95% sure that the result for the true population lies within this range

• The bigger the sample, i.e. the more representative of the true population, the smaller the confidence interval.

Page 43: Statistics for GP and the AKT

Confidence intervals (the maths)

• For 95% confidence interval:Mean ± 1.96 x SEM

• Standard error of the mean= SD / √n

i.e. standard deviation divided by square root of number of samples

As number of samples increases, SEM decreases.

Page 44: Statistics for GP and the AKT

Confidence intervals

• We measure the concentration span of a sample of 36 VTS trainees. The mean concentration span is 2.4 seconds and the standard deviation is 1.2 seconds.

• What is the approximate 95% confidence interval?1. 1.2 – 3.6 seconds2. Too short to measure and getting shorter3. 2.2 – 2.6 seconds4. 2.3 – 2.5 seconds5. 2.0 – 2.8 seconds6. I don’t care

Page 45: Statistics for GP and the AKT
Page 46: Statistics for GP and the AKT

Confidence intervals and trials

• If the confidence interval of a difference doesn’t include 0, then the result is statistically significant.

After 30 minutes of stats, the mean reduction in attention span was 2.3 minutes (0.8 – 3.8).

• If the confidence interval of a relative risk doesn’t include 1, then the result is statistically significant.

Relative risk of death after learning about stats was 0.7(0.3 – 1.1)

Page 47: Statistics for GP and the AKT

Magnitude of results

– NNT, NNH– Absolute risk reduction, Relative risk reduction– Hazard ratio– Odds ratio

Page 48: Statistics for GP and the AKT

Relative risk

• How many times more likely if….?

• EER = Exposed (or experimental) event rate• CER = Control event rate• RR = EER / CER

Disease Total

Exposed A B EER = A/B

Control C D CER = C/D

Page 49: Statistics for GP and the AKT

Relative risk reduction (or increase)

RRR (RRI) = EER-CER CER

RRI = relative risk reduction

EER = exposed event rate

CER = control event rate Watch your R’s!

Page 50: Statistics for GP and the AKT

Hazard

• Hazard ratio (HR) – estimate of RR over time– Deaths rate in A/Death rate in B

(2=twice as many, 0.5=half as many)

– Note: hazard ratio does not reflect median survival time it is relative probability of dying

Page 51: Statistics for GP and the AKT

Number needed to treat (NNT)Number needed to harm (NNH)

• How many patients need to be treated to...

• Absolute risk reduction (ARR)=EER-CER

NNT = 1/ARR = 1/EER-CER

Page 52: Statistics for GP and the AKT

Scenario

• Claire Stewart thought women with no hair were more likely to pass CSA because having hair would distract trainees by getting in their eyes.

• She tested this by randomising her female trainees.

Page 53: Statistics for GP and the AKT

• What is the relative risk of passing?• What is the RRR/RRI?• What is the NNT?

Pass CSA Fail CSA

Control group 15 15

Shaved trainees 20 5

Page 54: Statistics for GP and the AKT

Odds ratio• Used in case control studies

• Odds ratio: case odds/control oddsIt doesn’t need the total.

RF No RF Odds

Case A B A/B

Control C D C/D

Page 55: Statistics for GP and the AKT

How good is a test at predicting disease?

• If the test is negative, how sure can you be that you don’t have the disease?

• If the test is positive, how sure can you be that you do have the disease?

Page 56: Statistics for GP and the AKT

Tests

Page 57: Statistics for GP and the AKT
Page 58: Statistics for GP and the AKT

Learn this!

Page 59: Statistics for GP and the AKT

Sensitivity and specificity

• Sensitivity – proportion people that have the disease that test positive

• Specificity – proportion of people that don’t have the disease that test negative

Page 60: Statistics for GP and the AKT

Sensitivity and specificity

Page 61: Statistics for GP and the AKT

Predictive values

• Positive predictive value – proportion of positive tests that actually represent disease

• Negative predictive value – proportion of negative tests that don’t have disease

Page 62: Statistics for GP and the AKT

Learn this!

Page 63: Statistics for GP and the AKT

Likelihood ratios• Take into account prevalence of disease so are more useful• Likelihood ratio for a positive test =

sensitivity / 1 – specificity• Likelihood ratio for a negative test =

1 – sensitivity / specificity

• A likelihood ratio of greater than 1 indicates the test result is associated with the disease.

• A likelihood ratio less than 1 indicates that the result is associated with absence of the disease.

• A likelihood ratio close to 1 means the test is not very useful

Page 64: Statistics for GP and the AKT

An example….

• In a VTS group of 110 people, 30 people have the dreaded lurgy. A test is developed for this. Of the 30 people with the dreaded lurgy, 18 have a positive test. 16 of the others also have a positive test.

• What is the likelihood ratio for a positive test?

Page 65: Statistics for GP and the AKT
Page 66: Statistics for GP and the AKT

Pretty pictures

– Forest plot– Funnel plot– Kaplan-Meier

survival curve

Page 67: Statistics for GP and the AKT

Forest plotsaka Blobbograms

• Used in meta analysis• Graphical representation of results of

different RCT’s

Page 68: Statistics for GP and the AKT

Studies

Summary measureConfidence interval

Odds ratio ofsummarymeasure

Confidenceinterval

Odds ratioof study

Size of box = study size

OR (CI)

Page 69: Statistics for GP and the AKT

Funnel plot

• Used in meta-analysis• Demonstrates the presence/absence of

publication bias

Page 70: Statistics for GP and the AKT

Y axis –Measure of precision

X axis – Treatment effect

Individual study

Increased precision of study = reduced variance

Asymmetrical funnel = publication bias (missing data/studies)

Page 71: Statistics for GP and the AKT

Kaplan-Meier Survival Curve

• What % of people are still alive

Page 72: Statistics for GP and the AKT

Scenario

• We’ve driven Sarah Egan to insanity by not doing enough learning logs.

• She’s gone on a rampage with a gun because basically life will be better without any of us around (nothing to do with pregnancy hormones…obviously)

• Draw the Kaplan-Meier survival curve for MK GP trainees

Page 73: Statistics for GP and the AKT

Time (units)

Number oftrainees

Page 74: Statistics for GP and the AKT

Any questions?