Science Score: 10.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
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.7%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: ca4wa
  • Language: C++
  • Default Branch: master
  • Size: 84 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 8 years ago · Last pushed over 3 years ago
Metadata Files
Readme

README.Rmd

---
output: github_document
---



```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
```

# adpss

The goal of adpss is to provide the functions for planning and conducting a
  clinical trial with adaptive sample size determination. Maximal statistical
  efficiency will be exploited even when dramatic or multiple adaptations
  are made. Such a trial consists of adaptive determination of sample size
  at an interim analysis and implementation of frequentist statistical test at the
  interim and final analysis with a prefixed significance level. The required
  assumptions for the stage-wise test statistics are independent and stationary
  increments and normality. Predetermination of adaptation rule is not required.


## Installation

You can install adpss from github with:

```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("ca4wa/R-adpss")
```

## Example

This is a basic example which shows you how to solve a common problem:
A confirmatory randomized clinical trial is to be planned, but sample size determination is not straightforward
because of scarsity of available data. In such circumstances, adaptive sample size determination is a useful option;
the maximum sample size (or more generally the maximum information level) can be determined at an interim analysis
without violating the prespecified significance level.
In the example below, suppose that four interim analysis and one final analysis are planned.
However, how many patients is required at each analysis is left unspecified in advance.
The timing of each analysis will be determined adaptively.
The maximum sample size at which the final analysis will be conducted will be determined at the forth interim analysis,
if the trial continues beyond it without interim stopping for efficacy.
This package provides a way to implement such an adaptation via the conditional error function approach 
with maximal statistical efficiency.

```{r example}
## basic example code
library(adpss)
init_work_test <- work_test_norm_global(min_effect_size = -log(0.65))
sample_size_norm_global(
  initial_test = init_work_test,
  effect_size = 11.1110 / 20.02, # effect size for which the desired level of power is ensured
  time = 20.02, # time of the forth interim analysis
  target_power = 0.75,
  sample_size = TRUE
  )
```

GitHub Events

Total
Last Year

Committers

Last synced: about 3 years ago

All Time
  • Total Commits: 45
  • Total Committers: 1
  • Avg Commits per committer: 45.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Kosuke KASHIWABARA k****y@u****p 45
Committer Domains (Top 20 + Academic)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 299 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
cran.r-project.org: adpss

Design and Analysis of Locally or Globally Efficient Adaptive Designs

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 299 Last month
Rankings
Forks count: 28.8%
Dependent packages count: 29.8%
Average: 33.6%
Stargazers count: 35.2%
Dependent repos count: 35.5%
Downloads: 38.7%
Maintainers (1)
Last synced: over 2 years ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • Rcpp >= 0.12.17 imports
  • knitr * suggests
  • rmarkdown * suggests