randomization methods
play

Randomization methods Tamuno Alfred, PhD Biostatistician DataCamp - PowerPoint PPT Presentation

DataCamp Designing and Analyzing Clinical Trials in R DESIGNING AND ANALYZING CLINICAL TRIALS IN R Randomization methods Tamuno Alfred, PhD Biostatistician DataCamp Designing and Analyzing Clinical Trials in R DataCamp Designing and


  1. DataCamp Designing and Analyzing Clinical Trials in R DESIGNING AND ANALYZING CLINICAL TRIALS IN R Randomization methods Tamuno Alfred, PhD Biostatistician

  2. DataCamp Designing and Analyzing Clinical Trials in R

  3. DataCamp Designing and Analyzing Clinical Trials in R

  4. DataCamp Designing and Analyzing Clinical Trials in R Simple Randomization set.seed(888) treatment <- c("A","B") simple.list <- sample(treatment, 20, replace=TRUE) cat(simple.list,sep="\n")

  5. DataCamp Designing and Analyzing Clinical Trials in R Simple Randomization set.seed(888) treatment <- c("A","B") simple.list <- sample(treatment, 20, replace=TRUE) cat(simple.list,sep="\n") table(simple.list)

  6. DataCamp Designing and Analyzing Clinical Trials in R Random Permuted Blocks

  7. DataCamp Designing and Analyzing Clinical Trials in R Random Permuted Blocks library(blockrand) set.seed(888) block.list <- blockrand(n=20, num.levels = 2,block.sizes = c(2,2)) block.list

  8. DataCamp Designing and Analyzing Clinical Trials in R Random Permuted Blocks For random block sizes block.list2 <- blockrand(n=20, num.levels = 2,block.sizes = c(1,2))

  9. DataCamp Designing and Analyzing Clinical Trials in R Stratified Randomization Balance in patient characteristics may not be achieved in small studies Common strata include age group, geographical region and disease severity Generate a randomization list for each stratum

  10. DataCamp Designing and Analyzing Clinical Trials in R Stratified Randomization

  11. DataCamp Designing and Analyzing Clinical Trials in R Stratified Randomization over50.severe.list <- blockrand(n=100, num.levels = 2, block.sizes = c(1,2,3,4), stratum='Over 50, Severe', id.prefix='O50_S', block.prefix='O50_S')

  12. DataCamp Designing and Analyzing Clinical Trials in R Extensions Three or more treatment groups Can accommodate other allocation ratios, e.g. 2:1 for active drug to placebo

  13. DataCamp Designing and Analyzing Clinical Trials in R DESIGNING AND ANALYZING CLINICAL TRIALS IN R Let's practice!

  14. DataCamp Designing and Analyzing Clinical Trials in R DESIGNING AND ANALYZING CLINICAL TRIALS IN R Crossover, factorial and cluster randomized trials Tamuno Alfred, PhD Biostatistician

  15. DataCamp Designing and Analyzing Clinical Trials in R Crossover trials

  16. DataCamp Designing and Analyzing Clinical Trials in R Crossover trials Advantages Within-patient comparisons Eliminate between-patient variability Improved treatment effect precision Fewer patients need to be recruited

  17. DataCamp Designing and Analyzing Clinical Trials in R Crossover trials Disadvantages Chronic, stable conditions Can only evaluate short-term effects There may be order effects Carryover effects Patient dropouts impact analysis

  18. DataCamp Designing and Analyzing Clinical Trials in R Factorial designs

  19. DataCamp Designing and Analyzing Clinical Trials in R Factorial designs head(recovery.trial)

  20. DataCamp Designing and Analyzing Clinical Trials in R Factorial designs head(recovery.trial) recovery.trial %>% count(A, B)

  21. DataCamp Designing and Analyzing Clinical Trials in R Factorial designs recovery.trial %>% count(A, B, recover)

  22. DataCamp Designing and Analyzing Clinical Trials in R Factorial designs recovery.trial %>% count(A, B, recover) recovery.trial %>% group_by(recover) %>% filter(A=="Yes") %>% summarise (n = n()) %>% mutate(prop = n / sum(n))

  23. DataCamp Designing and Analyzing Clinical Trials in R Factorial designs Odds of recovery in A: 257/41 Odds of recovery in not A: 229/68 Odds of recovery in B: 241/58 Odds of recovery in not B: 245/51 Odds ratio of A vs. not A: (257/41)/(229/68) = 1.86 Odds ratio of B vs. not B: (241/58)/(245/51) = 0.86

  24. DataCamp Designing and Analyzing Clinical Trials in R Factorial designs library(epitools) oddsratio.wald(recovery.trial$A, recovery.trial$recover)

  25. DataCamp Designing and Analyzing Clinical Trials in R Cluster randomized trials

  26. DataCamp Designing and Analyzing Clinical Trials in R Cluster randomized trials Example clusters: Schools Communities Factories Hospitals General/primary care practices Geographical regions

  27. DataCamp Designing and Analyzing Clinical Trials in R DESIGNING AND ANALYZING CLINICAL TRIALS IN R Let's practice!

  28. DataCamp Designing and Analyzing Clinical Trials in R DESIGNING AND ANALYZING CLINICAL TRIALS IN R Equivalence and Non- inferiority Trials Tamuno Alfred, PhD Biostatistician

  29. DataCamp Designing and Analyzing Clinical Trials in R Equivalence trials Demonstrate similar efficacy between two treatments Treatments may differ in convenience of administration, e.g. pill instead of injection Check efficacy of generic drugs

  30. DataCamp Designing and Analyzing Clinical Trials in R Equivalence trials

  31. DataCamp Designing and Analyzing Clinical Trials in R Equivalence trials

  32. DataCamp Designing and Analyzing Clinical Trials in R Equivalence trials

  33. DataCamp Designing and Analyzing Clinical Trials in R Equivalence trials library(dplyr) library(magrittr) infection.trial %>% group_by(Treatment, Infection) %>% summarise (n = n()) %>% mutate(pct = (n / sum(n))*100)

  34. DataCamp Designing and Analyzing Clinical Trials in R Equivalence trials prop.test(table(infection.trial$Treatment,infection.trial$Infection), alternative = "less", conf.level = 0.95, correct=FALSE) prop.test(table(infection.trial$Treatment,infection.trial$Infection), alternative = "greater", conf.level = 0.95, correct=FALSE)

  35. DataCamp Designing and Analyzing Clinical Trials in R Equivalence trials prop.test(table(infection.trial$Treatment,infection.trial$Infection), alternative = "two.sided", conf.level = 0.90, correct=FALSE) Two-sided 90% confidence interval excludes the delta of 12%, therefore can claim equivalence at the 5% level.

  36. DataCamp Designing and Analyzing Clinical Trials in R Non-inferiority trials

  37. DataCamp Designing and Analyzing Clinical Trials in R Non-inferiority trials prop.test(table(infection.trial$Treatment,infection.trial$Infection), alternative = "less", conf.level = 0.975, correct=FALSE) One-sided 97.5% confidence interval includes the margin of 12%, therefore cannot claim non-inferiority at the 2.5% level.

  38. DataCamp Designing and Analyzing Clinical Trials in R Caution There are various recommendations so clearly state: Whether using one or two-sided confidence intervals Significance level Lack of superiority does not imply equivalence

  39. DataCamp Designing and Analyzing Clinical Trials in R DESIGNING AND ANALYZING CLINICAL TRIALS IN R Let's practice!

  40. DataCamp Designing and Analyzing Clinical Trials in R DESIGNING AND ANALYZING CLINICAL TRIALS IN R Bioequivalence trials Tamuno Alfred, PhD Biostatistician

  41. DataCamp Designing and Analyzing Clinical Trials in R Bioequivalence trials Conducted to assess whether blood concentration profiles for two formulations of a drug are similar

  42. DataCamp Designing and Analyzing Clinical Trials in R Pharmacokinetics Pharmacokinetics (PK): The study of what the body does to a drug. ADME: Absorption Distribution Metabolism Excretion

  43. DataCamp Designing and Analyzing Clinical Trials in R Pharmacokinetic profiles

  44. DataCamp Designing and Analyzing Clinical Trials in R Pharmacokinetic profiles

  45. DataCamp Designing and Analyzing Clinical Trials in R Pharmacokinetic profiles Crossover designs are often used

  46. DataCamp Designing and Analyzing Clinical Trials in R Pharmacokinetic profiles AUC using the linear trapezoidal method

  47. DataCamp Designing and Analyzing Clinical Trials in R Pharmacokinetic profiles AUC using the linear trapezoidal method library(PKNCA) pk.calc.auc(PKData$plasma.conc.n, PKData$rel.time, interval=c(0.25, 12), method="linear")

  48. DataCamp Designing and Analyzing Clinical Trials in R Assessing bioequivalence 90% confidence interval of the ratios should be contained within 0.8 to 1.25

  49. DataCamp Designing and Analyzing Clinical Trials in R Assessing bioequivalence

  50. DataCamp Designing and Analyzing Clinical Trials in R DESIGNING AND ANALYZING CLINICAL TRIALS IN R Let's practice!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend