60
Brad E. Dicianno, MD Statistics For Residents versity of Pittsburgh Medical Center t. of Physical Medicine & abilitation Pittsburgh Health Care System an Engineering Research Laboratories What you never thought you would understand…

Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Embed Size (px)

Citation preview

Page 1: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Brad E. Dicianno, MD

Statistics For Residents

University of Pittsburgh Medical CenterDept. of Physical Medicine & RehabilitationVA Pittsburgh Health Care SystemHuman Engineering Research Laboratories

What you never thought you would understand…

Page 2: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Overview:When reading (or writing) a paper, you should

be able to:Classify and describe the data What does ‘nominal’ mean again?

Decide what tests are appropriate How am I supposed to know if I am supposed to

run a T-test?

Understand the significance of the tests It gave me a p value. Am I done now?

Know how data should be reported And be able to catch their mistakes!

Page 3: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Overview:You should then be able to…

Evaluate the utility of the Diagnostic Tests Does a + result mean anything?

Evaluate efficacy of Therapies Did the interventions actually do anything?

Evaluate relevance of Exposures Did those at risk suffer any harm?

Know more than you need to know for boards

Page 4: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Classifying and Describing Data

Page 5: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Step 1:

Classify your Variables

Page 6: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Categorical

Categories, groupsGender, Race, Job, Favorite colorYes/No

Page 7: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Ordinal

Ordered; data goes in specific directionDividing doesn’t make sensePGY1, PGY2, PGY3…Always, Sometimes, Never…

Page 8: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Continuous

Numerical ScaleYou can divide the numbersWeight, Height, Exam Score

Page 9: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Try it out…

FIM scoreArm temperatureMed route (po, NG, IV)Modified Ashworth ScorePlantar responseType of insuranceAlbumin level

Page 10: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Try it out…

FIM score OrdinalArm temperature ContinuousMed route (po, NG, IV) CategoricalModified Ashworth Score OrdinalPlantar response CategoricalType of insurance CategoricalAlbumin level Continuous

Page 11: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Step 2:

Normal or Not Normal?

Page 12: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Normal = Parametric

Page 13: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Not Normal = Non Parametric

Page 14: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

SkewnessExcess skewness is NOT normal

NegativelySkewed

Mode

Median

Mean

Symmetric(Not Skewed)

MeanMedianMode

PositivelySkewed

Mode

Median

Mean

Page 15: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Kurtosis

Excess kurtosis is NOT normal

Page 16: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Options for determining normal distributions

Graph the frequencies on y axis and value of variable on x axis

ORRun a program like SPSS Skewness -1 to 1 is normal Kurtosis -1 to 1 is normal

Page 17: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Other descriptives

Mean (average)Median (middle value)Mode (most often occurring)Standard DeviationRanges (low to high)

122333444455555

Page 18: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Step 3:

Decide what you want to do with the data

Page 19: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Looking for associations

Is pain related to medication use?Is gender related to exam scores?Is alcohol use related to albumin levels?

Page 20: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Predicting/Correlations

Does weight go up if height goes up?Does BP go down if exercise level goes up?Does HR increase with prolonged bedrest?

Page 21: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Prediction/Regression

Y=mx + b

Does body fat percentage (x) predict body image satisfaction (y)?Do pain scores (x) predict participation in PT (y)?

Page 22: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Step 4:

Choose the test. Use the handout.

Page 23: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Step 5:

Report the results.

Hypothesis(Null hypothesis)Alpha levelP valueBe careful with reporting “no differences…”Remember, just because you didn’t find a

difference, doesn’t mean it doesn’t exist.

Page 24: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

Likelihood Ratio (LR) Likelihood of the test result in

patients with a condition compared to the likelihood of test result in those without the condition

Post test Odds (PTO) How likely to have the condition if

testing +

Page 25: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Likelihood Ratio

Condition +

Condition -

Test + A B

Test - C D

LR = A/(A+C) / B/(B+D)PTO = LR * Pretest odds

Page 26: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Example: Pregnancy test

A pregnancy test gives a + result in 75 out of 100 women who are pregnant, and a – result to the other 25.In women who are not pregnant, it tells 50 they are +, and 50 they are -.How likely is a woman to be pregnant if she gets a + result? Assume she is 50% confident she is pregnant.

Page 27: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Fill in the blanks…Condition +

Condition -

Test + A B

Test - C D

LR = A/(A+C) / B/(B+D)PTO = LR * Pretest odds

Page 28: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Likelihood RatioCondition +

Condition -

Test + A75

B50

Test - C25

D50

LR = A/(A+C) / B/(B+D)PTO = LR * Pretest odds

Page 29: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Likelihood RatioCondition +

Condition -

Test + A75

B50

Test - C25

D50

LR = A/(A+C) / B/(B+D) = 75/100 / 50/100 = 1.5PTO = 1.5 * 0.5 = 0.75 = 75%

Page 30: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

Likelihood Ratio Likelihood of the test result in patients with

a condition compared to the likelihood of test result in those without the condition

LR = 1.5 PTO = 75% Positive result is 1.5 times more likely in

pregnant women than non-pregnant With a + test, odds of being pregnant

increase to 75%

Page 31: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

SensitivityPositive Predictive ValueSpecificityNegative Predictive Value

Page 32: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Example: Evaluating the usefulness of a net designed to catch green fish

Page 33: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

Sensitivity True positives/everyone with

condition you want to pick upTrue -

True +False -

False +False +

True -

True -

Page 34: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

Sensitivity = ½ = 0.5 True positives/everyone with

condition you want to pick upTrue -

True +False -

False +False +

True -

True -

You caught 1 of the 2 fish you should have caught.

Page 35: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

Positive Predictive Value True positives/all positives

True -

True +False -

False +False +

True -

True -

Page 36: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

Positive Predictive Value = 1/3 True positives/all positives

True -

True +False -

False +False +

True -

True -

1 of the 3 fish you did catch was of the right kind

Page 37: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

Specificity True negatives/everyone w/o

conditionTrue -

True +False -

False +False +

True -

True -

Page 38: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

Specificity = 3/5 True negatives/everyone w/o

conditionTrue -

True +False -

False +False +

True -

True -

Your net correctly ignored 3 of the 5 fish it wasn’t supposed to catch.

Page 39: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

Negative Predictive Value True negatives/all negatives

True -

True +False -

False +False +

True -

True -

Page 40: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Diagnostic Tests

Negative Predictive Value = 3/4 True negatives/all negatives

True -

True +False -

False +False +

True -

True -

The net correctly ignored 3 of the 4 fish it didn’t catch.

Page 41: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Therapies

Relative Risk (risk ratio) (RR) Ratio of risk in treated group to risk in

control groupRelative Risk Reduction (RRR) % reduction in risk in treated group

compared to controlsAbsolute Risk Reduction (ARR) Diff. in risk between controls and treated

Number needed to treat (NNT) # you have to treat to prevent one adverse

outcome

Page 42: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Treatment Effects

Outcome+

Outcome-

Treated A B

Control C D

Risk in each group

Y=A/(A+B)

X=C/(C+D)

Page 43: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Treatment Effects

Outcome+

Outcome-

Treated A B

Control C D

RR = Y/X

Risk in each group

Y=A/(A+B)

X=C/(C+D)

RRR= 1 – RR * 100%ARR = X – YNNT = 1/ARR

Page 44: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Fictional Example: A New HIV vaccine

100 people at high risk of HIV are given HIV vaccine, and 100 people are given nothing. They are followed over time.25 of the people with the vaccine develop HIV.All of the people without the vaccine develop HIV.Should you recommend the vaccine?

Page 45: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Fill in the Boxes…

HIV+ HIV-

New HIV Vaccine

A B

Control C D

RR = Y/X

Risk in each group

Y=A/(A+B) =

X=C/(C+D) =

RRR= 1 – RR * 100%ARR = X – YNNT = 1/ARR

RR = RRR = ARR = NNT =

Page 46: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Treatment Effects

HIV+ HIV-

New HIV Vaccine

A25

B75

Control C100

D0

RR = Y/X

Risk in each group

Y=A/(A+B) =

X=C/(C+D) =

RRR= 1 – RR * 100%ARR = X – YNNT = 1/ARR

RR = RRR = ARR = NNT =

Page 47: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Treatment Effects

HIV+ HIV-

New HIV Vaccine

A25

B75

Control C100

D0

RR = Y/X

Risk in each group

Y=A/(A+B) = 0.25

X=C/(C+D) = 1.00

RRR= 1 – RR * 100%ARR = X – YNNT = 1/ARR

RR = 0.25RRR = 75%ARR = 0.75NNT = 1.33

Page 48: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Therapies

Relative Risk (risk ratio) (RR) Ratio of risk in treated group to risk in

control group

0.25

Those without vaccine have 4 times the risk of getting HIV

Page 49: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Therapies

Relative Risk Reduction (RRR) % reduction in risk in treated group

compared to controls

75%

Those with vaccine have a 75% reduced risk of getting HIV

Page 50: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Therapies

Absolute Risk Reduction (ARR) Diff. in risk between controls and

treated

0.75

Those with Vaccine have a risk 0.75 greater than controls.

Page 51: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Therapies

Number needed to treat (NNT) # you have to treat to prevent one

adverse outcome

1.33

You need to give the vaccine to at least 2 people to prevent HIV in one person.

Page 52: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Exposures

Relative Risk (risk ratio) (RR) Ratio of risk in exposed group to risk

in control group

Odds Ratio How many times more likely someone

is to have been exposed (compared to controls)

Page 53: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Exposures

Outcome+

Outcome-

Exposed A B

Control C D

RR = Y/X

Risk in each group

Y=A/(A+B)

X=C/(C+D)

OR = AD/BC

Page 54: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Fictional Example:

25 out of 100 people on the Atkins diet had heart attacks.10 out of 100 people on regular diets had heart attacks.Would you discourage the Atkins diet?

Page 55: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Fill in the boxes…Outcome+

Outcome-

Exposed A B

Control C D

RR = Y/X

Risk in each group

Y=A/(A+B)

X=C/(C+D)

OR = AD/BC

Page 56: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating ExposuresOutcome+

Outcome-

Exposed A25

B75

Control C10

D90

RR = Y/X

Risk in each group

Y=A/(A+B) = 0.25

X=C/(C+D) = 0.10

OR = AD/BC RR = 2.5OR = 3

Page 57: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Exposures

Relative Risk (risk ratio) (RR) Ratio of risk in exposed group to risk

in control group

Odds Ratio How many times more likely someone

with a disease is to have been exposed (compared to controls)

Page 58: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Exposures

Relative Risk (risk ratio) (RR) Ratio of risk in exposed group to risk

in control group

2.5

Heart attacks occur 2.5 times more often in those on Atkins diet.

Page 59: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

Evaluating Exposures

Odds Ratio How many times more likely someone with

a disease is to have been exposed (compared to controls)

3.0

Those having a heart attack were 3 times more likely to have been on the Atkins diet than on a regular diet.

Page 60: Brad E. Dicianno, MD Statistics For Residents University of Pittsburgh Medical Center Dept. of Physical Medicine & Rehabilitation VA Pittsburgh Health

ErrorsNull Hypo TRUE

NullHypo FALSE

Accept H0

1 - alpha

BetaType II Error

Reject H0

alphaType I Error

1- Beta

POWER