Skip to content

mjg211/article_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Article Code

Folder containing code corresponding to several publications.

Code corresponding to:

Grayling MJ, Mander AP, Wason JMS (2018) A Two-stage Fisher Exact Test for Multi-arm Studies with Binary Outcome Variables.

Contains:

  • Binomial exact functions.R: Functions for determining two-stage exact binomial designs;
  • Example.R: Example code for determining designs (corresponding to Table 2 and Figure 1);
  • Fisher exact functions.R: Functions for determining two-stage Fisher exact designs.

mjg211/article_code/A review of available software for adaptive clinical trial design/

Code corresponding to:

Grayling MJ, Wheeler GM (2020) A review of available software for adaptive clinical trial design.

Contains:

  • supplementary_data.xlsx: Supplementary data discussed in Supplementary File 1.

mjg211/article_code/Accounting for variation in the required sample size in the design of group sequential trials/

Code corresponding to:

Grayling MJ, Mander AP (2020) Accounting for variation in the required sample size in the design of group sequential trials.

Contains:

  • Figures_2-3.R: R code to reproduce Figures 2-3; the same code can be easily modified to get the other figures.

mjg211/article_code/Admissible multi-arm stepped-wedge cluster randomized trial designs/

Admissible multi-arm stepped-wedge cluster randomized trial designs

Code corresponding to:

Grayling MJ, Mander AP, Wason JMS (2018) Admissible multi-arm stepped-wedge cluster randomized trial designs.

Contains:

  • MA-SW.R: Code to find admissible designs and reproduce the Tables/Figures from the article.

mjg211/article_code/Blinded and unblinded sample size re-estimation procedures for stepped-wedge cluster randomized trials/

Code corresponding to:

Grayling MJ, Mander AP, Wason JMS (2018) Blinded and unblinded sample size re-estimation procedures for stepped-wedge cluster randomized trials.

Contains:

  • Figure_and_Table_production.R: R code to reproduce the figures and tables from the paper;
  • ssre.sw.R: R function to assess performance of the proposed blinded and unblinded re-estimation procedures.

mjg211/article_code/Design optimisation and post-trial analysis in group sequential stepped-wedge cluster randomised trials/

Code corresponding to:

Grayling MJ, Robertson D, Wason JMS, Mander AP (2018) Design optimisation and post-trial analysis in group sequential stepped-wedge cluster randomised trials.

Contains:

  • analyse.gs.sw.R: R function to assess performance of naive and adjusted estimation procedures described in the paper;
  • Figure_and_Table_Production.R: R code to reproduce the figures and tables from the paper;
  • optimal.gs.sw.R: R function to determine optimal group sequential SW-CRT designs.

mjg211/article_code/Exact group sequential designs for two-arm experiments with Poisson distributed outcome variables/

Code corresponding to:

Grayling MJ, Wason JMS, Mander AP (2018) Exact group sequential designs for two-arm experiments with Poisson distributed outcome variables.

Contains:

  • skellam_R.R: R code to recreate the results from the paper;
  • skellam_Rcpp.cpp: Rcpp code to search for the globally-optimal designs. Used by skellam_R.R.

mjg211/article_code/Group Sequential Crossover Trial Designs with Strong Control of the Familywise Error Rate/

Code corresponding to:

Grayling MJ, Wason JMS, Mander AP (2018) Group Sequential Crossover Trial Designs with Strong Control of the Familywise Error Rate. Sequential Analysis. Accepted. arXiv: 1710.03492.

Contains:

  • groupSeqCrossoverMatrices.m: Matlab code using symbolic algebra to compute equations from the paper;
  • groupSeqCrossover_1.2.tar.gz: R package for determining group sequential crossover trial designs.

mjg211/article_code/Group sequential designs for stepped-wedge cluster randomised trials/

Code corresponding to:

Grayling MJ, Wason JMS, Mander AP (2017) Group sequential designs for stepped-wedge cluster randomised trials. Clinical Trials 14(5):507–517.

Contains:

  • gs.sw.R: R code to find group sequential (cross-sectional) stepped-wedge cluster randomised trial designs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published