GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Merck/simtrial: Clinical trial simulation for time-to-event endpoints

BranchesTags
Open more actions menu

Latest commit

 

History

1,159 Commits
1,159 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
R
R
 
 
data-raw
data-raw
 
 
data
data
 
 
inst
inst
 
 
man
man
 
 
pkgdown
pkgdown
 
 
src
src
 
 
tests
tests
 
 
vignettes
vignettes
 
 
.Rbuildignore
.Rbuildignore
 
 
.gitignore
.gitignore
 
 
DESCRIPTION
DESCRIPTION
 
 
LICENSE
LICENSE
 
 
LICENSES_THIRD_PARTY
LICENSES_THIRD_PARTY
 
 
NAMESPACE
NAMESPACE
 
 
NEWS.md
NEWS.md
 
 
README.md
README.md
 
 
_pkgdown.yml
_pkgdown.yml
 
 
codecov.yml
codecov.yml
 
 
simtrial.Rproj
simtrial.Rproj
 
 

Repository files navigation

simtrial

R-CMD-check Codecov test coverage CRAN status CRAN Downloads

simtrial is a fast and extensible clinical trial simulation framework for time-to-event endpoints.

Installation

The easiest way to get simtrial is to install from CRAN:

install.packages("simtrial")

Alternatively, to use a new feature or get a bug fix, you can install the development version of simtrial from GitHub:

# install.packages("remotes")
remotes::install_github("Merck/simtrial")

Overview

simtrial is intended to be a general purpose tool for simulating fixed, group sequential or adaptive clinical trials. It allows stratified populations and flexible parameters for generating enrollment, event times, dropout times. It takes care of bookkeeping to enable easily going from data generation to creating analysis datasets for evaluation of standard or innovative designs and testing procedures. For a single endpoint, it will easily generate trials with multiple arms (e.g., a single or multiple experimental arms versus a common control) and multiple study populations (e.g., overall population and biomarker positive). While tools are built into the package for logrank and weighted logrank tests, arbitrary testing and estimation procedures are easily applied. In addition to weighted logrank tests, we support combinations of weighted logrank tests (e.g., the MaxCombo test). The package used piecewise constant enrollment, failure and dropout rates as a simple model able to approximate arbitrary distributions easily. This model also enables simulating non-proportional hazards assumptions that are transparent for users to explain to non-statistical collaborators.

simtrial is designed with a core philosophy of basing most computations on efficient table transformations and to have a package that is easy to qualify for use in regulated environments. It utilizes the blazingly fast data.table for tabular data processing, enhanced by C++ implementations to ensure optimal performance. However, it does not require the user to be a data.table or C++ user.

Initial areas of focus are:

  • Generating time-to-event data for stratified trials using piecewise constant enrollment and piecewise exponential failure rates. Both proportional and non-proportional hazards are supported. Under proportional hazards, the assumptions are along the lines of those used by Lachin and Foulkes as implemented in gsDesign for deriving group sequential designs.
  • Setting up data cutoffs for (interim and final) analyses.
  • Support for weighted logrank tests with arbitrary weighting schemes, specifically supporting the Fleming-Harrington set of tests, including the logrank test.

Future developments

Expectations for future development include:

  • Provide a test suite to document that the package is fit for use in a regulatory environment.
  • Further examples.

About

Clinical trial simulation for time-to-event endpoints

merck.github.io/simtrial/

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

41 stars

Watchers

8 watching

Forks

14 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.