RELATIVE RISK, ODDS RATIO, HAZARD RATIO
=============================

What are they?
Why do we need 3 of the damn things?
Which should I use?
Are they the same, or different, or a bit samey?

An #ORBITA-HQ #tweetorial.
#Meded #FOAMed
All 3 of these are about comparing the scale of dangerousness of one thing AGAINST ANOTHER.

Suppose you are walking through an unfamiliar forest and the road comes to a fork: you have to choose one path.

As you stand, uncertain, a troll pops out of the ground.
You ask for advice on which path is safer.

As always, the advice he offers is scrupulously correct, but not necessarily instantly interpretable to the layperson.
Taking pity on your puzzlement, he simplifies his message.

"I have just finished randomly advising 2000 indviduals to go left or to go right. Of the 1000 who went left, 10 were killed and eaten by wolves. Of the 1000 who went right, only 5 suffered that fate."
What was the RISK of primary endpoint of wolf-mediated-eatage, for those randomized to the left path?
And the RISK observed in the right path?
So, in very simple terms, how "dangerous" is the right path, relative to how dangerous the left path is?
And that, very simply, is relative RISK.

[For the same number of people going down each path] how many TIMES more deaths in the path being described, than in the other (control) path.

So that's it. We can go home now.

Bye bye!
Er, sorry, no.

This is the ACTUAL weekend tweetorial. No actual weekend tweetorial has ever been so easy and painless.

Nobody is crying yet so there must be more.
The troll was, of course, tricking you.

He reveals that the primary endpoint of "wolf-mediated-eatage AT 60 MINUTES" was only recently implemented.

An independent advisory panel set this when the earlier primary endpt, long-term wolf-mediated-eatage, was deemed unsatisfactory.
The actual forest is enormous, taking about 500 hours to cross.

What proportion of people in the control path SURVIVED the trial?

Assume an attrition rate of 1% per hour: during each hour 1% of those alive at the beginning of the hour, find themselves relocated inside a wolf.
And in the ACTIVE (right) path, what proportion of people survived the whole trial?

Hint:
Remember, the 5/1000 mortality each hour means the probability of surviving ONE hour, assuming one was alive at the start of it, is 995/1000.
Got to do that all 500 times.
Sad face.

The intellectual vanguard of the Tweetorial-do'ers don't seem to be in evidence today.
---------------------------------------------
|
| Side note for clarification
|
|

Maybe people don't all know this
Maybe not have recognised "^" as denoting "raised to the power of"

If you got the above two right, you can skip this side note.
Winning a game of chance repeatedly is hard. For example, the game of "throw a coin once, and get Heads", is fairly easy: you have a 50% chance of succeeding.
But "throw it 10 times, and get heads every time" is much harder.
The chance of succeeding is

(1/2)x(1/2)x(1/2)x.....x(1/2) i.e. 10 lots of "(1/2)" being multiplied together.
The math shorthand for "the number b, written down n times, and all multiplied together" is:
On Twitter I am too lazy to show this properly. (It is just about possible with unicode decimal digit superscripts, but life is too short, and wolves are at the door).

So I've done what we do in many computer languages, Excel etc: the "^" symbol means "raised to the power".
The "10 heads in a row" probability would be written

(1/2)^10.

I've written brackets around the 1/2, to stop anyone from thinking I mean 1 divided by: 2^10
In general if the probability of SURVIVING an hour is P, the probability of surviving N hours is P^N.

The one catch is that most often people give you the probability of DYING. Remember that the "^N" formula only works for SURVIVAL probabilities.

END OF SIDE BAR
---------------
OK back to the troll and the enormous forest.

At 15 votes, the majority are right on the last two questions.

For 500 hours, the probabilities of SURVIVING are as follows:

0.7% in the control arm
8.2% in the active arm.

Hmmm...
The New England Journal of Monsters reports the landmark paper.

"Troll-mediated decision-making MORE THAN 10 TIMES SAFER than the traditional visually guided approach."
Guidelines adopt it voraciously.

"Ignore your eyes.
Troll Never Lies."
Class I, Level of evidence D
Transatlantic Society of Monsterology
But is it really ~10 times safer?

It was only half as dangerous earlier.
How can it have become much, much better than the other arm?

Let's all think about this and catch up to this point, and then I will go further.
[Night night, sleep tight, don't let the wolves bite.]
At that 500 hour timepoint, what are the risks of death in the two arms?

Control and Active arms, respectively:
So what is the RELATIVE RISK in the active arm, using the control arm as reference?
This comes to 0.924.

The relative risk of the active arm is 0.924, in comparison to the control arm.

Is this 10 times safer?
So in this one example, we have seen TWO problems with Relative Risk.

(A) Lack of symmetry
At 500 hours, there is [~12 more probability] of SURVIVAL, but only a [very slightly lower] probability of DEATH
(B) Limited scope for badness
When risk becomes high, it can't get much higher

One way to say this is, "once you are dead, you can't get killed again".
Professor GW Bush put it more elegantly:
ODDS RATIO
=========

Using ODDS and ODDS RATIOS, instead of risk and relative risk, fixes the first problem.

(It also allows us to deal with case-control studies, but that is for another day. Probably the 32nd of Nevember 2999 as I don't like case-control studies).
The ODDS of a thing is similar to the PROBABILITY (also called RISK or CHANCE) of that thing, EXCEPT that "on the bottom you put the probability of the thing NOT happening".

e.g. imagine a die being thrown:
What is the PROBABILITY (synonymous with RISK or CHANCE) of throwing a 6?

This is defined as:

The number of ways of WINNING
-------------------------------------
The number of ways of throwing

Hint: this is an easy Question, in case you are thinking your answer is too obvious
The ODDS are defined similarly, except instead of the denominator ("below the line") being "total number of ways", it is "number of ways of LOSING":

ODDS =

Number of ways of WINNING
---------------------------------
Number of ways of LOSING

What is this?
Notice something slightly interesting. Not only can you write

Odds = ways of winning / ways of losing

... but you can also write it as:

Odds = Prob of winning / Prob of losing.

To see this in action, what is the PROB of winning, divided by PROB of losing?
In the correct answer above, the denominators (bottom numbers) of the fractions are the same, so can be cancelled.

Does the result come out to be the same as the odds you _directly_ calculated as "Ways of winning ÷ Ways of losing"?
OK let us look at one of the advantages of ODDS RATIO.

At the 500 hour timepoint:
Control arm, mortality = 1-0.99^500 = 0.993.
Active arm, mortality = 1-0.995^500 = 0.918

At ONE hour, relative risk was 0.50.

What is the RELATIVE RISK of the active arm at 500 h?
This comes to 0.924.

Does this 500-hour relative risk resemble the one-hour relative risk of 0.50?
The reason they are so different is the GW Bush Syndrome, "errr.... you can't get killed again."

Let's try it by ODDS ratio.

In the control arm first
-------------------------

Probability of survival at 500 hours is .99^500 = 0.007.

What is the ODDS of survival at 500 hours?
Hint:

Odds is

PROBABILITY OF IT HAPPENING
---------------------------------------
PROBABILITY OF IT *NOT* HAPPENING
And in the ACTIVE arm (lower risk),

Probability of survival at 500 hours is 0.995^500 = 0.082.

What is the ODDS of survival at 500 hours?
Answers:

Odds of 500-hour survival

in the CONTROL arm: 0.007
(because 0.007 divided by almost 1 is still ~0.007)

in the ACTIVE arm: 0.089

So what is the ODDS RATIO for SURVIVAL at 500 hours, ACTIVE arm versus control?
ODDS RATIO for SURVIVAL comes out to be 13.4.
Let's try the ODDS RATIO for DEATH, at 500h

In control arm:

Prob of death = 1-0.99^500 = 0.993

ODDS of DEATH =
This turns out to be 151.
Hmm... not good.

And in the ACTIVE arm?

Prob of death = 1-0.995^500 = 0.918

ODDS of death =
OK the 500-hour odds of death are:

Active arm: 11
Control arm: 151

What is the ODDS RATIO of death in the active versus control arms?
Oh! The answer turns out to be roughly 1/13.

Is that strange?

Earlier, we calculated that
ODDS RATIO for SURVIVAL is about 13

Now we are finding that
ODDS RATIO for DEATH is about 1/13
It's not strange at all!

Do you remember the definition of ODDS?

Odds of dying = P(dying) / P(living)
Odds of living = P(living) / P(dying)
Odds ratios invert in a different way to probabilities.

Prob (Ajay is NOT annoyed) = 1 - Prob (Ajay IS annoyed)

But

Odds (Ajay is NOT annoyed) = Odds (Ajay IS annoyed) *UPSIDE DOWN*
Therefore:

"Probabilities are best for adding-and-subtracting
Odds are best for multiplying-and-dividing*"

A Einstein
J Not Quite True But Useful Rules Thumb, 2018
In some senses Odds is a more fair and unbiased way to cover the spectrum of chance, since it carries on being interested in changes in chance even when probability gets close to 1.
For example, at 500 hours, in the control arm you have a 99.3% chance of being dead. Spending a further hour doesn't change that probability much: it is still 99.3%.

But ODDS of death are 151.2, and rise to 152.7 after just an hour.
Mathematicians and statisticians sometimes make Odds even more even-handed by taking the LOG of the Odds.
This is useful because very small probabilities and therefore odds (e.g. 0.0001) turn into negative numbers, while high probabilities (e.g. 0.999) turn into very large odds and therefore positive numbers.
This allows a squashed up range of numbers in probability space, hemmed into a very tight space between 0 and 1,
To open up into a vast vista from -infinity to +infinity, centered on logOdds of 0, representing "Meh, 50:50!"

Many statistical models treat probability by turning it into log of odds.
Including some v complex ones by F Harrell which ORBITA HQ are currently wrestling with.
Look at what ODDS RATIOS have given us.

Ability to carry on getting worse even as probability plateaus at ~1.
Ability to say the "effect on death" is exactly the reciprocal of the "effect on survival"

*but* there is one not quite so good thing.
Remember the 1-hour period we started with?

0.5% death in the active arm, 1% death in the control arm.

What was the relative risk of death in the active arm?
The ODDS of death was:

0.005/0.995 in the active arm
0.01 / 0.99 in the control arm

What was the ODDS RATIO of death in the active arm versus the control arm?
Yes, rather similar, as the probabilities in BOTH arms are close to 0.
Whenever that happens, relative risk and odds ratio are almost the same.

But at 500 hours, in the active arm relative to the control arm:

RELATIVE RISK for death is 0.924
ODDS RATIO for death is ~1/13
Francis Industries has produced its "Forest Analysis and Navigation Guide" a bitingly witty handbook de-rigeur for any travellers through the maze of foliage.

On the back cover, it has - in large and threatening letters - the phrase "DO panic".
On the front, however, we want to say something reassuring and accurate about how much safer our recommended pathways are than just judging by eye.

We are not going to claim 10-fold or 13-fold better, because people won't always be doing 500 hours.
But we also don't want to sell ourselves short and only claim a relative risk of 0.924.

We want something in-betweeny.

Not RR, which collapses back to 1 in the long term (since everyone dies eventually)
Nor Odds ratio, which continues to expand in size with time.
We want a stable number to represent how much safer our path is than the coventional path.

Next week I will cover that method: the amazing instantaneous HAZARD RATIO.
But for now, congratulations on making it this far without being eaten.
Questions welcome.

See you next week for continuation.
Take care, in the "Francis Forest Reserve". 😯

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Prof Darrel Francis ☺ Mk CardioFellows Great Again

Prof Darrel Francis ☺ Mk CardioFellows Great Again Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @ProfDFrancis

Jul 29, 2018
If anyone wants to know how incorrect causal inference arises in cardiology, there's no need to do a PhD on it.

It's encapsulated in this thread. Unlike most of my threads it has a happy ending though !

First, a whole load of unsuspecting patients have PCI.
Then a bunch of cardiologists who are normally ultracompetitive decide to do something constructive for a change, instead of just doing each other down in cross-London acrimony.

Let's get together and ...

google.co.uk/url?sa=t&sourc…
They do what we always do when we cardiologists get together. Tell stories.

"I had a guy with 3 vessel thrombosis in cardiogenic shock, going into asystole as he was put on the table, but we still saved him!"
Read 64 tweets
May 27, 2018
How to make your
correlations correlate.
Even if they don't.
==============

A practical tweetorial for aspiring research fraudsters, cardiology fellows doing research, and others in need of a strong association when there isn't one.

#meded #foamed

Please retweet to fellows.
Thank you to @rallamee for loaning me the use of her garden and boating lake to do a few demonstrations in this weekend's tweetorial.
Thank you also to a colleague, for sending me this just now. It is enlightening and I am genuinely sorry.
Read 58 tweets
May 13, 2018
Summer Sunday quiz
-----------------------

from Sunny Plymouth, Pearl of Europe

#DreadMed #DooMed
Look at this table of baseline characteristics.

Control arm consists of 22+2 = 24 people.
Therapy arm consists of 20+1=21 people.
How many people is that, altogether?
Read 24 tweets
May 13, 2018
Joel Giblett @joelgiblett brings up a very important question.

Where does scientific integrity come from? What makes me think I can trust papers written by him? I've never heard of him before this tweet, and I have no idea of his background.
Well, first of all, he seems genuinely curious about integrity. This is a good sign.

Second, he is scared of R&D and MHRA. This is a good sign that he tries to toe the line, pays his taxes, doesn't park in the disabled spots (unless entitled) and doesn't drop litter.
But it is not non-littering, or trembling when the R&D office sends an email, that CAUSES his research to be non-fake.

It is his own personal attitude, those of his colleagues, and the lack of tremendous incentives to fiddle.
Read 22 tweets
Apr 21, 2018
Risk Ratio, Odds Ratio, Hazard Ratio
========================

2nd and final part of the tweetorial, from ORBITA-HQ!

Fun, easy and informative [*]

#MedEd #FOAMed #cardiology #cardiotwitter
[*] Results may vary and are not guaranteed. See small print.

Not all fears are alike.

* Some fears are one-and-done:
I get a cold which progresses to pneumonia. Will I die, or recover?

* Other things hang over us for much longer, perhaps all your life.
Will you get hit by a bus?
Get a heart attack?
There's no "sell by" date on the fear.
Practice Qs

You are walking through Hyde park, minding your own business.
Hardly causing any trouble at all.
Perhaps the odd humorous tweet.

You get a Direct Message:
"Enough of ur abuse!
You will be hearing form my agent shortly.
kthxbai
AJ Kirtane"

You see the agent:
Read 89 tweets
Apr 13, 2018
Can you get into the mindset of a probability?

You thought you had a simple and easy life, roaring along the highway from 0 upwards.

Until you see this ahead of you.
You have a twin sister, who in her youth was similar to you in many respects.
But she was always more vivacious and sporty.

When you read comic books, she preferred to dance.

When you watched TV, she joined a cycling club.

Now you are almost at a dead end.
And she is running free.
Read 30 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(