Eduardo Bergel’s Controlled Clinical Trial Simulator (CTS) Beta Version 0.21

83

description

Eduardo Bergel’s Controlled Clinical Trial Simulator (CTS) Beta Version 0.21. Used by Dave Sackett (Oct ‘04) Trout Research & Education Center at Irish Lake, Canada. How to run the CTS . . . . . . . . . . . . . . . . . . . . . Slide # 4 - PowerPoint PPT Presentation

Transcript of Eduardo Bergel’s Controlled Clinical Trial Simulator (CTS) Beta Version 0.21

Page 1: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21
Page 2: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Eduardo Bergel’sControlled Clinical Trial

Simulator (CTS) Beta Version 0.21

Used by Dave Sackett (Oct Used by Dave Sackett (Oct ‘04)‘04)

Trout Research & Education Center Trout Research & Education Center at Irish Lake, Canadaat Irish Lake, Canada

Page 3: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Table of Contents

How to How to runrun the CTS the CTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Slide # 4Slide # 4

Effect of sample size on confidence intervalsEffect of sample size on confidence intervals . . . # . . . # 3838

The effects of admitting patients with different The effects of admitting patients with different risks and responsiveness to your RCT . . . . . . . . . risks and responsiveness to your RCT . . . . . . . . . . . . # 53. . . # 53

Page 4: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

1. How to run the CTS

Page 5: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

You tell the Controlled Trial Simulator

1.1. How manyHow many patients you hope to patients you hope to recruit.recruit.

2.2. Your guess at their risk of Your guess at their risk of eventsevents if if they receive they receive no Rxno Rx or the or the control Rx.control Rx.

3.3. Your hopes for their Your hopes for their responsivenessresponsiveness to to experimental Rx.experimental Rx.

4.4. With what rates of With what rates of cross-overcross-over, , loss-to-loss-to-follow-upfollow-up, and , and compliancecompliance

Page 6: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

The CTS will then:

““Run” your trial hundreds or Run” your trial hundreds or thousands of times.thousands of times.

- and tell you, with tables and - and tell you, with tables and graphs, its results, their confidence graphs, its results, their confidence intervals, and the presence and intervals, and the presence and magnitude of bias (e.g., from magnitude of bias (e.g., from cross-overs, low compliance, etc.) cross-overs, low compliance, etc.)

Page 7: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

For example, does aspirin reduce strokes after TIA ? We estimated that 21% of patients We estimated that 21% of patients

with TIAs would go on to stroke or with TIAs would go on to stroke or death within 2 years.death within 2 years.

We thought we could reduce this by We thought we could reduce this by one-third with aspirin (to 14%).one-third with aspirin (to 14%).

We thought we could recruit about 600 We thought we could recruit about 600 patients.patients.

Page 8: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

For example, does aspirin reduce strokes after TIA ?

We enter these estimates and We enter these estimates and guesses into the RCT Simulator.guesses into the RCT Simulator.

And then tell the RCT Simulator how And then tell the RCT Simulator how many times to run our trial.many times to run our trial.

Page 9: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21
Page 10: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

We thought that 21% would

stroke or die without Rx CER =

21%

Page 11: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

We thought that 21% would

stroke or die without Rx CER =

21%We thought that aspirin could reduce these outcomes by 1/3, to 14%

EER = 14%

Page 12: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

We thought we could recruit 600

patientsWe thought that

21% would stroke or die

without Rx CER = 21%

We thought that aspirin could reduce these outcomes by 1/3, to 14%

EER = 14%

Page 13: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

We thought we could recruit 600

patientsWe thought that

21% would stroke or die

without Rx CER = 21%

We thought that aspirin could reduce these outcomes by 1/3, to 14%

EER = 14%

We wanted our RCT replicated

3000 times

Page 14: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

3000 simulations take 5 seconds !

And their results are displayed in a And their results are displayed in a tabletable

Page 15: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21
Page 16: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

CER

Page 17: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

CER

EER

Page 18: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

CER

EER

300 300

Page 19: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

CER

EER

3000 simulatio

ns

300 300

Page 20: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

CER

EER

Relative Risk

Reduction

3000 simulatio

ns

300 300

Page 21: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

CER

EER

Relative Risk

Reduction

3000 simulatio

ns

Calculates Power !

300 300

Page 22: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

CER

EER

Relative Risk

Reduction

3000 simulatio

ns

Calculates Power !

300 300

Can graph results

Page 23: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Graph Options

1.1. Can simply graph the overall RRR Can simply graph the overall RRR and its 95% confidence interval.and its 95% confidence interval.

Page 24: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

RRR for aspirin in TIA

X = true RRR that is free of bias

Page 25: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Graphic Options

1.1. Can simply graph the overall RRR Can simply graph the overall RRR and its 95% confidence interval.and its 95% confidence interval.

2.2. Can create a histogram of Can create a histogram of individual RRRs from each individual RRRs from each simulation.simulation.

Page 26: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Histogram of RRR

Page 27: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Graphic Options

1.1. Can simply graph the overall RRR Can simply graph the overall RRR and its 95% confidence interval.and its 95% confidence interval.

2.2. Can create a histogram of Can create a histogram of individual RRRs from each individual RRRs from each simulation.simulation.

3.3. Can plot the individual RRRs from Can plot the individual RRRs from each simulation.each simulation.

Page 28: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Can plot every trial

Page 29: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Can plot every trial

Some RRRs < 0

Page 30: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Can plot every trial

Extreme results must

occur !

Some RRRs < 0

Page 31: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Graphic Options1.1. Can simply graph the overall RRR Can simply graph the overall RRR

and its 95% confidence interval.and its 95% confidence interval.

2.2. Can create a histogram of Can create a histogram of individual RRRs from each individual RRRs from each simulation.simulation.

3.3. Can plot the individual RRRs from Can plot the individual RRRs from each simulation.each simulation.

4.4. Can plot RRR vs. P-values.Can plot RRR vs. P-values.

Page 32: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Can chart the P-values for every trial

Page 33: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Can chart the P-values for every trial

RRR & 95% CI

Page 34: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Can chart the P-values for every trial

P> .05

P<.05

Page 35: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Can chart the P-values for every trial

P> .05

P<.05

Power = 60%

Page 36: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Can chart the P-values for every trial

P<.05

Power = 60%

P almost 0.05

against!

Page 37: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

So, that is the basic system

Outputs can also be expressed in all Outputs can also be expressed in all these formats as:these formats as:Relative RisksRelative Risks

Currently under construction:Currently under construction:Absolute Measures (ARR, NNT, etc)Absolute Measures (ARR, NNT, etc)Cluster TrialsCluster Trials

Page 38: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

2. The effect of sample size on 95% confidence intervals

Page 39: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Can use it to understand the effect of different sample sizes on the same RRR:

How to do thisHow to do this: : While keeping the treatment effect While keeping the treatment effect constant (say, RRR = 25%), constant (say, RRR = 25%), double, triple and quadruple your double, triple and quadruple your sample size.sample size.

Page 40: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Increasing Sample Size

Can have 4 different (sub) groups

Page 41: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Increasing Sample Size

Page 42: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Increasing Sample Size

Then simulate it 3000 times

Page 43: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Increasing Sample Size

All2500

Page 44: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Increasing Sample Size

250

All2500

Page 45: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Increasing Sample Size

250

1000

All2500

Page 46: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Now you can answer a frequently asked question:

If you want to cut the 95% If you want to cut the 95% confidence interval (CI) on your confidence interval (CI) on your RRR in half, by how much do you RRR in half, by how much do you need to increase your sample size need to increase your sample size (N)?(N)?

Page 47: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

You need to remember “the only formula you’ll ever need”

CONFIDENCECONFIDENCE

(recalling that (recalling that narrowernarrower confidence confidence intervals provide intervals provide higherhigher confidence) confidence)

ConfidenceConfidence = =

Page 48: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

You need to remember “the only formula you’ll ever need”

CONFIDENCECONFIDENCE

(recalling that (recalling that narrowernarrower confidence confidence intervals provide intervals provide higherhigher confidence) confidence)

ConfidenceConfidence = =

SignalNoise

Page 49: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

You need to remember “the only formula you’ll ever need”

CONFIDENCECONFIDENCE

(recalling that (recalling that narrowernarrower confidence confidence intervals provide intervals provide higherhigher confidence) confidence)

ConfidenceConfidence = x = x

√√sample sizesample size

SignalNoise

Page 50: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Increasing Sample Size

250

1000

All2500To cut this

in half

Page 51: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Increasing Sample Size

250

1000

All2500To cut this

in half

You must quadruple

N

Page 52: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

3. The effects of admitting patients with different risks and responsiveness to your RCT

Page 53: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHigh

LowLow

Page 54: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHigh IdealIdeal

LowLow

Page 55: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHigh IdealIdeal

LowLow Ever?Ever?

Page 56: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHigh IdealIdeal ??????

LowLow ?????? Ever?Ever?

Page 57: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

Suppose that . .Suppose that . .ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk(in terms (in terms of of CControl ontrol EEvent vent RRates)ates)

HighHigh

CER= .30CER= .30

LowLow

CER= .10CER= .10

Page 58: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

And And suppose . . . suppose . . .

ResponsivenessResponsiveness(in terms of (in terms of RRelative elative

RRisk isk RReduction)eduction)

HighHigh

RRR= RRR= 30%30%

LowLow

RRR= RRR= 10%10%

RiskRisk(in terms (in terms of of CControl ontrol EEvent vent RRates)ates)

HighHigh

CER= .30CER= .30

LowLow

CER= .10CER= .10

Page 59: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

These would These would result in the result in the following following reductions in reductions in events:events:

ResponsivenessResponsiveness(in terms of (in terms of RRelative elative

RRisk isk RReduction)eduction)

HighHigh

RRR= RRR= 30%30%

LowLow

RRR= RRR= 10%10%

RiskRisk(in terms (in terms of of CControl ontrol EEvent vent RRates)ates)

HighHigh

CER= .30CER= .30.30.30

.2.211

LowLow

CER= .10CER= .10

Page 60: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

These would These would result in the result in the following following reductions in reductions in events:events:

ResponsivenessResponsiveness(in terms of (in terms of RRelative elative

RRisk isk RReduction)eduction)

HighHigh

RRR= RRR= 30%30%

LowLow

RRR= RRR= 10%10%

RiskRisk(in terms (in terms of of CControl ontrol EEvent vent RRates)ates)

HighHigh

CER= .30CER= .30.30.30

.2.211

LowLow

CER= .10CER= .10.10.10

.0.077

Page 61: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

These would These would result in the result in the following following reductions in reductions in events:events:

ResponsivenessResponsiveness(in terms of (in terms of RRelative elative

RRisk isk RReduction)eduction)

HighHigh

RRR= RRR= 30%30%

LowLow

RRR= RRR= 10%10%

RiskRisk(in terms (in terms of of CControl ontrol EEvent vent RRates)ates)

HighHigh

CER= .30CER= .30.30.30

.2.211

.30.30

.2.277

LowLow

CER= .10CER= .10.10.10

.0.077

Page 62: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

These would These would result in the result in the following following reductions in reductions in events:events:

ResponsivenessResponsiveness(in terms of (in terms of RRelative elative

RRisk isk RReduction)eduction)

HighHigh

RRR= RRR= 30%30%

LowLow

RRR= RRR= 10%10%

RiskRisk(in terms (in terms of of CControl ontrol EEvent vent RRates)ates)

HighHigh

CER= .30CER= .30.30.30

.2.211

.30.30

.2.277

LowLow

CER= .10CER= .10.10.10

.0.077

.10.10

.0.099

Page 63: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Let’s start with the “ideal” Let’s start with the “ideal”

HighRisk - High Response group HighRisk - High Response group

Page 64: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

High risk – high response

Page 65: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

High risk – high response

Almost Stat. Sig.

Page 66: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

SUMMARY:SUMMARY:

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHighIdeal, but often not enough

LowLow

Page 67: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

SUMMARY:SUMMARY:

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHighIdeal, but often not enough

LowLowWould these pts help ?

Page 68: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Hi Risk-Hi Response + Lo Risk-Hi Response

Lo Risk – Hi Resp

Page 69: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Hi Risk-Hi Response + Lo Risk-Hi Response

Now Stat. Sig !

Page 70: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

SUMMARY:SUMMARY:

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHighIdeal, but often not enough

LowLowUsually helpful

Page 71: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

SUMMARY:SUMMARY:

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHighIdeal, but often not enough

Would these pts help ?

LowLowUsually helpful

Page 72: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Hi Risk-Hi Response + Hi Risk-Lo Response

Page 73: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Hi Risk-Hi Response + Hi Risk-Lo Response

Not helpful

Page 74: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

SUMMARY:SUMMARY:

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHighIdeal, but often not enough

Often not helpful

LowLowUsually helpful

Page 75: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

SUMMARY:SUMMARY:

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHighIdeal, but often not enough

Often not helpful

LowLowUsually helpful

Would these pts help?

Page 76: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Hi Risk-Hi Response + Lo Risk-Lo Response

Page 77: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Hi Risk-Hi Response + Lo Risk-Lo Response

Makes things much

worse !

Page 78: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

SUMMARY:SUMMARY:

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHighIdeal, but often not enough

Often not helpful

LowLowUsually helpful

Make things worse!

Page 79: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Taking all comers

If we put all four If we put all four groups of groups of patients into our patients into our trial:trial:

ResponsivenessResponsiveness(in terms of (in terms of RRelative elative

RRisk isk RReduction)eduction)

HighHigh

RRR= RRR= 30%30%

LowLow

RRR= RRR= 10%10%

RiskRisk(in terms (in terms of of CControl ontrol EEvent vent RRates)ates)

HighHigh

CER= .30CER= .30.30.30

.2.211

.30.30

.2.277

LowLow

CER= .10CER= .10.10.10

.0.077

.10.10

.0.099

Page 80: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

All patients

Page 81: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

All patients

Worse than if we stuck to just half as many high-

response pts !

Page 82: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Risk and Responsiveness

SUMMARY:SUMMARY:

Who do you Who do you want in your want in your RCT ?RCT ?

ResponsivenessResponsiveness

HighHigh LowLow

RiskRisk

HighHighIdeal, but often not enough

Often not helpful

LowLowUsually helpful

Make things worse!

Page 83: Eduardo Bergel’s Controlled Clinical Trial Simulator  (CTS)  Beta Version 0.21

Summer at Irish LakeSummer at Irish Lake