cTOST

Finite Sample Correction of The TOST in The Univariate Framework

https://github.com/yboulag/ctost

Science Score: 26.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 6 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

bioequivalence equivalence highly-variable-drugs r statistics
Last synced: 6 months ago · JSON representation

Repository

Finite Sample Correction of The TOST in The Univariate Framework

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
bioequivalence equivalence highly-variable-drugs r statistics
Created almost 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme

README.Rmd

---
output: github_document
editor_options:
  markdown:
    wrap: sentence
always_allow_html: yes
---



```{r, include = FALSE, cache = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  out.width = "100%"
)
# Turn on ANSI colors
asciicast::init_knitr_engine(
  startup = quote({
    library(cli)
    set.seed(1) }),
  echo = FALSE,
  echo_input = FALSE)
```
 


# `cTOST` Overview  


[![Licence](https://img.shields.io/badge/licence-AGPL--3.0-blue.svg)](https://opensource.org/license/agpl-v3)
[![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-green.svg)](https://github.com/yboulag/cTOST)
[![R-CMD-check](https://github.com/yboulag/cTOST/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/yboulag/cTOST/actions/workflows/R-CMD-check.yaml)
[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/cTOST)](https://www.r-pkg.org/pkg/cTOST)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/cTOST)](https://www.r-pkg.org/pkg/cTOST)


## Overview

This repository holds the `cTOST` R package. This package contains the function `tost` which provides an assessment of equivalence in the univariate framework based on the state-of-the-art Two One-Sided Tests (TOST). In addition, the package contains the functions `atost` and `dtost`, two corrective procedures applied to the TOST in the univariate framework in order to ensure the preservation of the Type I error rate at the desired nominal level and a uniform increase in power. These two functions output an assessment of equivalence in the univariate framework after their respective corrections is applied. More details can be found in Boulaguiem et al. (2024) that you can access via this [link](https://doi.org/10.1002/sim.9993).

## Install Instructions

The `cTOST` package is available on both CRAN and GitHub. The CRAN version is considered stable, whereas the GitHub version is subject to modifications/updates which may lead to installation problems or broken functions. You can install the stable version of the `cTOST` package with:
  ```{r, eval=FALSE}
install.packages("cTOST")
```

In order to install the latest version from GitHub, it is required to pre-install the `devtools` dependency. Run the following command if you do not have it already installed:
  ```{r, eval=FALSE}
install.packages("devtools")
```
The package is then installed with the following command: 
  ```{r, eval=FALSE}
devtools::install_github("yboulag/cTOST")
```
Note that Windows users are assumed to have Rtools installed (if this is not the case, please visit this [link](https://cran.r-project.org/bin/windows/Rtools/)).

## How to cite

```{}
@Manual{boulaguiem2023ctost,
  title = {cTOST: Finite Sample Correction of The TOST in The Univariate Framework},
  author = {Younes Boulaguiem and Stéphane Guerrier and Dominique-Laurent Couturier},
  year = {2023},
  note = {R package version 1.0.1},
  url = {https://github.com/yboulag/cTOST},
}
```

## License

The license this source code is released under is the GNU AFFERO GENERAL PUBLIC LICENSE (AGPL) v3.0. Please see the LICENSE file for full text. Otherwise, please consult [GNU](https://www.gnu.org/licenses/agpl-3.0.en.html) which will provide a synopsis of the restrictions placed upon the code.

## References

Boulaguiem, Y., Quartier, J., Lapteva, M., Kalia, Y. N., Victoria-Feser, M. P., Guerrier, S., & Couturier, D. L., "*Finite Sample Adjustments for Average Equivalence Testing*", Statistics in Medicine, 2024, [https://doi.org/10.1002/sim.9993]( https://doi.org/10.1002/sim.9993).







Owner

  • Login: yboulag
  • Kind: user

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Packages

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

Finite Sample Correction of the Two One-Sided Tests in the Univariate Framework

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 190 Last month
Rankings
Dependent packages count: 28.2%
Dependent repos count: 36.1%
Average: 49.6%
Downloads: 84.5%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • PowerTOST * depends
  • R >= 4.0 depends
  • cli * depends
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite