18
1 Study Design and Basic Biostatistics Tony Gerlach, Pharm.D, BCPS, FCCM, Jessica West, MSPH Objectives Compare and contrast various study designs Describe basic statistical concepts Apply statistical testing to primary outcome

Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

Embed Size (px)

Citation preview

Page 1: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

1

Study Design and Basic Biostatistics

Tony Gerlach, Pharm.D, BCPS, FCCM, Jessica West, MSPH

Objectives

•  Compare and contrast various study designs

•  Describe basic statistical concepts •  Apply statistical testing to primary

outcome

Page 2: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

2

It all starts with “Why”?

•  Are outcomes improved with rapid PCR and ID Pharmacist intervention in patients with Staph Aureus bacteremia?

•  Is high dose dexmedetomidine more efficacious than low dose in critically ill patients?

•  Does delaying IV lipids when starting TPN decrease infections in SICU patients?

Causal inference and Bias •  Causal inference

– Strength of the association

– Validity

•  Bias – systematic error – Many different types – Difficult to quantify

Hartung DM, Touchette D, Overview of clinical research design. Am J Health-Syst Pharm. Feb 2009; 398-408.

Confounding •  Occurs when

study association is mediated by a third factor

•  Exists on the causal pathway

Outcome Dependent variable

Confounder

•  Example: smoking status when studying alcohol consumption and death

Page 3: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

3

Types of Studies •  Descriptive

– Case Reports – Case Studies/Series

•  Observational – Case–Control – Cohort

• Retrospective • Prospective

– Cross-sectional

•  Experimental – RCT – Quasi-experimental

•  Meta-Analysis

Descriptive Studies

•  Case Studies –  Dexmedetomidine-associeted bradycardia leading to Pulseless

Electrical Activity. Pharmacother 2009

•  Case Series –  Vitamin B6 Deficiency: A Potential cause of refractory seizures in

adults. JPEN 2011

•  Not research as not testing hypothesis •  Used for rare events or new

observations •  Hypothesis generating

Clinical Research Design

•  2 distinct types: Experimental or Observational

•  Experimental –  Investigator intervenes on population for

sole purpose of evaluation

•  Observational – Makes no attempt to intervene exclusively

for investigational purpose

Page 4: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

4

Experimental Studies

•  Randomized Controlled Trials – Advantages

• Best design to determine causality • Minimizes bias via randomization • May be parallel or crossover design

– Disadvantages • Cost • Time • Ethical issues

Observational Studies

•  Case-Control Studies – Study population defined by outcome of

interest

•  Cohort Studies – Study population defined by exposure – Retrospective – Prospective

Case-Control Studies •  Advantages

–  Relatively uncommon conditions –  Allows for smaller n than cohort –  Allows investigation of many exposures –  Inexpensive and less time-consuming when

outcomes are relatively rare

•  Disadvantages –  Selection of controls can be difficult and time-

consuming –  Confounding and bias are concerns

Page 5: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

5

Case-Control Study

Time

Outcome of interest? (death, recurrence,

disease, etc)

YES=Case Exposure?

YES

NO

NO=Control Exposure?

YES

NO

Cohort Studies •  Can be prospective or retrospective •  Advantages

–  Allows study of more than one disease/outcome –  Less selection bias than case control

•  Disadvantages –  Expensive –  Long time to conduct (prospective) –  Loss to follow-up (missing data) –  Larger n –  Prone to information bias –  Inefficient for evaluating rare diseases/outcomes

Risk factor present?

YES Outcome present?

(death, recurrence, disease, etc)

YES

NO

NO Outcome present?

(death, recurrence, disease, etc)

YES

NO

Cohort Study

Time

Page 6: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

6

Examples •  Rapid PCR

–  Implemented new technology –  Pre/post study or Cohort Study

•  Dexmedetomidine –  Study all patients and compared HDD > 0.7 mcg/

kg/h to LDD < 0.7 mcg/kg/h –  Case Control Study

•  TPN –  Implemented TPN w/o IVFE –  Pre/post study or Cohort Study

Resident projects?

Statistics •  Methods for collecting , classifying,

summarizing & analyzing data •  Descriptive

– Frequency, Histogram, Measure central Tendency, Measure of spread, Scatter plot

•  Inferential – Conclusion or generalization made about a

population from study using a sample population

Page 7: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

7

Variables

•  Discrete or categorical – Nominal: classified into groups with no

particular order or severity (Yes/NO) • E.g., Sex, mortality, Disease State

– Ordinal: Ranked in specific order but no consistent level of magnitude between groups • E.g., NYHA class, Trauma scores, Likert scales

Variables

•  Continuous –  Interval: Data are ranked in specific order

with constant change in magnitude with zero point arbitrary • E.g., Fahrenheit Temperature

– Ratio: Like interval but with an absolute zero • E.g., Heart Rate, Age, Blood pressure

Normal (Gaussian) Distribution

•  Bell Shape •  Mu: Mean •  Theta: Standard

Deviation (SD) –  68% of population

are within +/- 1 SD –  95% of population

are within +/- 2 SD

0

1

2

3

4

5

6

Theta Mu

Theta

Page 8: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

8

Descriptive Statistics •  Mean: Average

–  Only for Continuous data –  Sensitive to outliers

•  Median: Point where half of observations fall below and above –  Used with ordinal & continuous data –  Insensitive to outliers

•  Mode: Most common value –  For all data types

•  Mode=Median=Mean for Normal Distribution

Descriptive Statistics, continued •  Standard deviation (SD)

– Calculated to reflect range of samples – Appropriate for normal or nearly normal data

•  Standard error of the mean (SEM) – Estimated from Standard deviation (=SD/√n) – 95% of sample means lie with in +/- 2 SEM

•  Range (minimum and maximum) •  Interquartile range (IQR)

– 75% of the population fall within this range

Range (IQR)

SD SEM

Interval/Ratio data Yes Yes Yes

Ordinal data Yes No No

Descriptive of sample variability

Yes Yes No

Assists in Statistical Inference

No Yes Yes

Used to calculate Confidence Intervals

No No Yes

Page 9: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

9

Examples

0.01

.02

.03

Density

0 50 100 150ICUDays

Days until carbapenem administration

variable | min p25 median p75 max mean SD -------------+---------------------------------------------------------------------- icudays | 1 9 21.5 37 135 27.59 25.31 ------------------------------------------------------------------------------------

0.05

.1Density

-10 0 10 20carbapenem

Length of ICU stay, days

variable | min p25 p50 p75 max mean sd -------------+---------------------------------------------------------------------- daystocarb | -10 -2 0 2 22 .48 5.40 ------------------------------------------------------------------------------------

Goff DA, Bauer K, West J. 22nd European Congress on Clinical Microbiology and Infectious Diseases, London, UK. April ‘12.

Histogram

Hypothesis Testing •  Used to determine if any observed difference

between groups is due to chance or difference in study populations

1.  Define research question –  Does rPCR with an ID PharmD intervention shorten time to

appropriate therapy in patient with Staph aureus bacteremia? (Pre/post intervention study design)

2.  Define null hypothesis (H0): –  H0: No difference between pre and post intervention

groups in time to appropriate therapy

3.  Define alternative hypothesis (Ha) –  Ha: Pre-intervention group ≠ Post-intervention group in

time to appropriate therapy

Hypothesis testing, continued •  If H0 is rejected = statistical difference between

groups •  If fail to reject H0 = no statistical difference

NOTE: statistical analysis can NEVER prove truth of a hypothesis, but rather provide evidence to support or refute

Bauer K, West J, et al. Clin Infect Dis. 2010 November 1;51(9):1074-80.

Page 10: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

10

Hypothesis Testing

•  Choose statistical test based on: – Type of data (nominal, ordinal, continuous) – Study design (matched, parallel, crossover) – Presence of confounding variables

•  Depending on p-value, the investigator will reject or fail to reject the H0

P-values (probability testing) •  Probability testing measures how likely the

observed difference (if any) is due to chance.

•  Related to sample size and effect size (size of the difference between groups)

•  Report exact p-values (not S or NS) •  P-values do NOT indicate clinical

significance

Statistical Test

Type of variable Statistical test Nominal Chi squared

Fishers Exact Test Ordinal (nonparametric)

Wilcoxon Rank Sum Mann Whitney U Kruskal-Wallis (≥ 3 groups)

Continuous (parametric)

Student’s t-test ANOVA (≥ 3 groups)

Page 11: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

11

•  Are outcomes improved with rapid PCR and ID Pharmacist intervention in patients with Staph aureus bacteremia?

•  Endpoint: Time to appropriate antibiotic for MSSA

•  What type of data?

Example: Staph PCR

Example: Staph PCR

variable min p25 median p75 max mean SD -------------+---------------------------------------------------------------------- icu days 1 1.5 2 2.5 5 2 0.725 ------------------------------------------------------------------------------------

Time to Abx Switch, days

Answers

•  Type of Data: Continuous (days)

•  Biostats Test: Chi Square since normally distributed

Page 12: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

12

•  Is high dose dexmedetomidine more efficacious than low dose in critically ill patients?

•  Primary endpoint: % time at goal RASS, undersedated, oversedated?

•  What type of data?

Example: High dose Dexmedetomidine

% Time undersedated variable min p25 median p75 max mean SD -------------+---------------------------------------------------------------------- % time 0 0 4 7 22 4.97 5.86 ------------------------------------------------------------------------------------

Example: High dose Dexmedetomidine

Answers

•  Type of Data: Continuous (% of time at goal RASS)

•  Biostats Test: since non-normally distributed Mann-Whitney U

Page 13: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

13

Example: Withholding lipids in TPN

•  Does delaying IV lipids when starting TPN decrease infections in SICU patients?

•  Primary endpoint: Development of Infectious complications after TPN started

•  What type of data?

Example: Withholding lipids in TPN

63.3 67.6 53.155.4 20 20.6 6.7 11.8 30 32.40

102030405060708090

100

Total IC Pneumonia BSI CRBSI UTI

IVFE Withheld IVFE

Answers

•  Type of Data: Nominal •  Statistical test: chi

square or Fisher’s exact test

Page 14: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

14

Power •  Probability that the statistical test can detect

a difference when a true difference exists •  = 1 - β •  Dependent on:

–  α (probably of wrongly concluding statistical difference between groups)

–  β (probably of wrongly concluding groups equal) –  Sample size

•  Dependent on ethics, cost, availability, etc –  Effect size

•  Based on prior studies, clinical judgment

–  One-tailed vs two-tailed tests –  Parametric vs non-parametric tests

•  Parametric tests are more powerful

–  Study design

Sample Size Determination

•  Well educated guess •  Factors affecting sample size:

– α – Power – Effect size

•  Consult statistician •  No “magic number”

Sample Size Example

Estimates of Mortality (20% in Intermittent group, 10% in Extended group) Power (%) alpha Sample size (Total) Extended Infusion Intermittent Infusion

70 0.05 352 176 176 70 0.1 278 139 139 70 0.01 528 264 264 80 0.05 438 219 219 80 0.1 352 176 176 80 0.01 632 316 316 90 0.05 572 286 286 90 0.1 472 236 236 90 0.01 794 397 397

Estimates of Mortality (40% in Intermittent group, 30% in Extended group) Power (%) alpha Sample size (Total) Extended Infusion Intermittent Infusion

80 0.05 752 376 376 80 0.1 600 300 300

Estimates of Mortality (40% in Intermittent group, 30% in Extended group) Power (%) alpha (one-sided) Sample size (Total) Extended Infusion Intermittent Infusion

80 0.05 600 300 300 80 0.1 448 224 224

Research question: Does extended-infusion piperacillin/tazobactam lead to improved mortality rates compared to intermittent-infusion?

Add reference

Page 15: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

15

Example •  Is inpatient hypertension associated with worse

outcomes in trauma patients >45 years? •  No data on inpatients hypotension •  Hypothesis: Inpatient hypertension is associated with

increased incidence of composite of MI, Stroke, VTE, AKI and Afib.

•  Preliminary data n=107 –  43 inpatient HTN, 63 no HTN –  composite in 16.3% w HTN and 6.3% without, P=0.11

•  Sample size calculation for significance 60 per group

http://www.dssresearch.com/KnowledgeCenter/toolkitcalculators/samplesizecalculators.aspx

Statistical Significance •  Size of p-value not related to importance of

results –  Smaller p-values mean less likely chance explains

the difference

•  Statistical significance does not mean clinically significance

•  Lack of statistical difference does not mean results are not important –  Lancet 2000;356:2139-43 Dopamine in ARF –  Publication bias

Other Statistical Parameters

•  Confidence Intervals •  Relative Risks/Odds Ratios •  Correlation (does not answer chicken or

egg) •  Regression (Predictive) •  Survival Curves

– Kaplan Meier – Cox Proportional Hazard Ratio

Page 16: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

16

“Likeness to truth is not the same thing as truth”

Socrates

Resources •  Ann Emerg Med 1990;86-9. •  Ann Emerg Med 1990;309-15. •  Ann Emerg Med 1990;591-7 •  Ann Emerg Med 1990;820-5 •  Ann Emerg Med 1990;1054-9 •  Ann Emerg Med 1990;1462-8. •  Graphpad.com •  Bmj.com/collections/statbk.index.shtml •  http://www.dssresearch.com/KnowledgeCenter/

toolkitcalculators/samplesizecalculators.aspx •  Biostats Lecture on Pharmacy Intranet Operatins>Training/

Competency>Pharmacist Programs •  Critical Care 2002;6:335-341

Confidence Intervals (CI) •  Does your point estimate exist in the population? •  CI give idea of magnitude of difference with

point estimate 95% CI = 𝑥 ± 1.96 (SD/√𝑛  )

or 𝑥 ± 1.96 x SEM •  CIs that include zero interpreted as p>0.05 •  Changes in MAP for a drug is 95% CI –12

mmHg, (-22 to –10) –  Means with 95% confidence drug a reduces MAP

between 22 and 10 mmHg with a best point estimate of 12 mmHg

Page 17: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

17

Correlation •  Estimate strength of

relationship between 2 variables

•  R is correlation coefficient range -1 to +1

•  -1 is perfect negative correlation or indirect relationship

•  +1 is perfect positive correlation or direct relationship

•  Does not imply causation (chicken or egg)

•  Pearson r , Spearman r Gaddis ML, Gaddis GM. Introduction to biostatistics: Part 6, correlation and regression. Annals of Emergency Medicine. 19:12, Dec 1990;1462-1468.

Regression •  Regression PREDICTIVE, correlation is not •  Mathematical method to describe relationship

with goal to develop equation for prediction of one variable from one or more variables

•  Linear regression (OLS) •  Y = MX + B X=independent variable, Y=dependent variable, R2 statistic •  Y can be continuous and must be normally

distributed •  Intensive Care Med 2004;30:1537-43

•  BIS XP and RASS R2 0.36 , p=0.011 •  Means 36% of time BIS predicted RASS score

Regression, continued •  Logistic

– Dependent variable is binary, no assumptions about independent variables

•  Multiple – Multiple dependent variables

•  Proportional hazards (discussed later)

Page 18: Study Design and Basic Biostatistics Program Handoutrx.osumc.edu/resResearch/prog12-5/researchSeries12-5HO.pdf · • Compare and contrast various study designs ... nd European Congress

18

Yes No

Yes A B

No C D

•  RR can not be directly calculated for most case control studies

•  Use RR for Cohort Studies RR = (A/A+B)/(C/C+D)

•  Use OR for Case-Control Studies OR = (A/C)/(B/D)

Disease

Exposure

Survival Analysis •  Time-to-event analysis

–  Example: time to death after disease diagnosis, time from beginning to end of remission period

–  Assumes HR is constant over time –  Censoring

•  Kaplan-Meier Curve –  Estimates survival

time –  No underlying

distribution assumption

•  Log-Rank Test Bewick V, Cheek L, Ball J. Statistics review 12: Survival analysis. Critical Care (2004), 8:389-394.

Survival Analysis, continued •  Cox proportional hazards regression

– Allows adjustment for confounding variables

•  Hazard Ratio (HR) –  Probability of

experiencing the event (death, no longer in remission) given the patient has survived

–  Interpreted similar to OR or RR

Bewick V: Survival analysis. Critical Care (2004), 8:389-394.