OptimalGoldstandardDesigns

Methods to calculate optimal design parameters for one- and two-stage three-arm group-sequential gold-standard non-inferiority trial designs with or without binding or nonbinding futility boundaries.

https://github.com/jan-imbi/optimalgoldstandarddesigns

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (20.7%) to scientific vocabulary

Keywords

designs gold-standard non-inferiority optimal r three-arm
Last synced: 6 months ago · JSON representation

Repository

Methods to calculate optimal design parameters for one- and two-stage three-arm group-sequential gold-standard non-inferiority trial designs with or without binding or nonbinding futility boundaries.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
designs gold-standard non-inferiority optimal r three-arm
Created over 4 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
bibliography: paper/bibfile.bib
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%",
  cache = FALSE
)
```

# OptimalGoldstandardDesigns 


[![doi](https://img.shields.io/badge/doi-10.1002%2Fsim.9630-blue)](https://doi.org/10.1002/sim.9630)
[![Codecov test coverage](https://codecov.io/gh/jan-imbi/OptimalGoldstandardDesigns/branch/master/graph/badge.svg)](https://app.codecov.io/gh/jan-imbi/OptimalGoldstandardDesigns?branch=master)
[![R-CMD-check](https://github.com/jan-imbi/OptimalGoldstandardDesigns/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jan-imbi/OptimalGoldstandardDesigns/actions/workflows/R-CMD-check.yaml)
[![License](https://img.shields.io/github/license/jan-imbi/OptimalGoldstandardDesigns)](https://github.com/jan-imbi/OptimalGoldstandardDesigns/blob/master/LICENSE.md)


This package contains the code used in the calculations for
our [paper](https://doi.org/10.1002/sim.9630)
on the optimization of the two-stage group sequential three-arm gold-standard
design for non-inferiority trials.

It allows for the simultaneous optimization of the
allocation ratios for both stages (in two-stage designs),
the efficacy boundaries, and the
futility boundaries. The optimization is performed
under type I and II error constraints and the objective function is
customizable by the user.
Methods to optimize two- and one-stage designs are available.

# Installation
You can install the CRAN version of this package by typing the following
command into your R console:
```{r, eval=FALSE}
install.packages("OptimalGoldstandardDesigns")
```

You can install the GitHub Version by typing:
```{r, eval=FALSE}
remotes::install_github("jan-imbi/OptimalGoldstandardDesigns")
```

You can also [clone this repository](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
directly from github. This will
give you access to the /data/ subdirectory, which contains code to reproduce
the examples from the paper.

# Documentation
You can check out an online version of the documentation 
[using this link.](https://jan-imbi.github.io/OptimalGoldstandardDesigns/).
In particular, you might be interested in reading the [*Usage guidance* article](https://jan-imbi.github.io/OptimalGoldstandardDesigns/articles/Introduction.html).

# Example
## A one-stage desgin
```{r}
library(OptimalGoldstandardDesigns)
optimize_design_onestage(
  alpha = .025,
  beta = .2,
  alternative_TP = .4,
  alternative_TC = 0,
  Delta = .2,
  print_progress = FALSE
)
```

## A two-stage design
```{r}
optimize_design_twostage(
  beta = 0.2,
  alternative_TP = 0.4,
  alternative_TC = 0,
  Delta = 0.2,
  print_progress = FALSE,
  binding_futility = TRUE
)
```


# References
Meis, J, Pilz, M, Herrmann, C, Bokelmann, B, Rauch, G, Kieser, M. Optimization of the two-stage group
sequential three-arm gold-standard design for non-inferiority trials. *Statistics in Medicine.* 2023; 42(
4): 536 558. [doi:10.1002/sim.9630](https://doi.org/10.1002/sim.9630).

Owner

  • Name: Jan Meis
  • Login: jan-imbi
  • Kind: user
  • Company: Institut für medizinische Biometrie und Informatik Heidelberg

GitHub Events

Total
  • Watch event: 1
  • Pull request event: 1
Last Year
  • Watch event: 1
  • Pull request event: 1

Issues and Pull Requests

Last synced: over 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • jan-imbi (2)
  • olivroy (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 169 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: OptimalGoldstandardDesigns

Design Parameter Optimization for Gold-Standard Non-Inferiority Trials

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 169 Last month
Rankings
Forks count: 28.8%
Dependent packages count: 29.7%
Stargazers count: 35.2%
Dependent repos count: 35.4%
Average: 43.7%
Downloads: 89.7%
Maintainers (1)
Last synced: about 1 year ago

Dependencies

DESCRIPTION cran
  • R >= 3.5 depends
  • cli * imports
  • dplyr * imports
  • mvtnorm * imports
  • nloptr * imports
  • scales * imports
  • tibble * imports
  • covr * suggests
  • doFuture * suggests
  • doRNG * suggests
  • foreach * suggests
  • fpCompare * suggests
  • future * suggests
  • here * suggests
  • knitr * suggests
  • mnormt * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 suggests