BuyseTest

Generalized Pairwise Comparisons

https://github.com/bozenne/buysetest

Science Score: 49.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
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    3 of 7 committers (42.9%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.0%) to scientific vocabulary

Keywords

generalized-pairwise-comparisons non-parametric r statistics
Last synced: 7 months ago · JSON representation

Repository

Generalized Pairwise Comparisons

Basic Info
  • Host: GitHub
  • Owner: bozenne
  • License: gpl-3.0
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 28.7 MB
Statistics
  • Stars: 5
  • Watchers: 5
  • Forks: 6
  • Open Issues: 1
  • Releases: 0
Topics
generalized-pairwise-comparisons non-parametric r statistics
Created over 9 years ago · Last pushed 9 months ago
Metadata Files
Readme Changelog License

README.org

#+BEGIN_HTML
CRAN version
Download count
Build status
Build status
License
#+END_HTML

* BuyseTest

*BuyseTest* is a package for the R software
(https://www.r-project.org/) implementing generalized pairwise
comparisons (GPC). GPC compare two groups of observations
(intervention vs. control group) regarding several prioritized
endpoints. The net benefit, win ratio, and Mann-Whitney parameter can
then be estimated and corresponding confidence intervals and p-values
can be estimated using resampling methods or the asymptotic
U-statistic theory. The software enables the use of thresholds of
minimal importance difference, stratification, and corrections to deal
with right-censored endpoints.

The Generalized Pairwise Comparisons form all possible pairs of
observations, one observation being taken from the intervention group
and the other is taken from the control group, and compare the value
of their endpoints.

If the difference in endpoint value between the two observations of
the pair is greater than the threshold of clinical relevance, the pair
is classified as favorable (i.e. win). If the difference is lower than
minus the threshold of clinical relevance the pair is classified as
unfavorable (i.e. loss).  Otherwise the pair is classified as
neutral. In presence of censoring, it might not be possible to compare
the difference to the threshold. In such cases the pair is classified
as uninformative.
 
Simultaneously analysis of several endpoints is performed by
prioritizing the endpoints, assigning the highest priority to the
endpoint considered the most clinically relevant.  The endpoint with
highest priority is analyzed first, and neutral and uninformative pair
are analyzed regarding endpoint of lower priority.

* Installation

You can download the latest stable version on =CRAN= using:
#+BEGIN_SRC R :exports both :eval never
install.packages("BuyseTest")
#+END_SRC

or download the development version from =GitHub=:
#+BEGIN_SRC R :exports both :eval never
library(remotes)
install_github("bozenne/BuyseTest")
#+END_SRC

* Functionalities
See the vignette "Overview of the package BuyseTest" in [[./vignettes/overview.pdf]]

* Tutorial

The material of the half day tutorial taught at the DAG Stat 2025 conference
(https://dagstat2025.de/, Berlin, 24-28th of March) is available on [[https://github.com/bozenne/tutorial-DagStat2025-GPC][github]]:
- the slides can be found in the folder doc (pdf or pptx format)
- the R files contain the corresponding R code

* Citation
To cite this package in a publications please use:
#+BEGIN_SRC R :exports both :results output :session *R* :cache no
citation("BuyseTest")
#+END_SRC

#+RESULTS:
#+begin_example

To cite the 'BuyseTest' package in publications use the citation from
2021.

To cite the statistical method used by BuyseTes 'BuyseTest' package,
use the citation from: (2010) when using BuyseTest binary/continous
endpoint or time to event endpoints with scoring.rule="Gehan", (2016)
when using BuyseTest with time to event endpoint with
scoring.rule="Peron".

  Brice Ozenne and Julien Peron (2021). BuyseTest: Implementation of
  the Generalized Pairwise Comparisons. R package version 2.3.1.

  Buyse, M. (2010), Generalized pairwise comparisons of prioritized
  outcomes in the two-sample problem. Statistics in medicine, 29:
  3245-3257. doi:10.1002/sim.3923

  Peron, M. et al. (2018), An extension of generalized pairwise
  comparisons for prioritized outcomes in the presence of censoring.
  Statistical methods in medical research, 27: 1230-1239.
  https://doi.org/10.1177/0962280216658320

To see these entries in BibTeX format, use 'print(,
bibtex=TRUE)', 'toBibtex(.)', or set
'options(citation.bibtex.max=999)'.
#+end_example

#+BEGIN_SRC R :exports both :results output :session *R* :cache no
toBibtex(citation("BuyseTest"))
#+END_SRC

#+RESULTS:
#+begin_example
@Manual{,
  title = {BuyseTest: Implementation of the Generalized Pairwise Comparisons},
  author = {Brice Ozenne and Julien Peron},
  year = {2021},
  note = {R package version 2.3.1},
}

@Article{,
  title = {Generalized pairwise comparisons of prioritized outcomes in the two-sample problem},
  author = {Marc Buyse},
  year = {2010},
  volume = {29},
  number = {30},
  pages = {3245--3257},
  journal = {Statistics in medicine},
  doi = {10.1002/sim.3923},
}

@Article{,
  title = {An extension of generalized pairwise comparisons for prioritized outcomes in the presence of censoring},
  author = {{P{'e}ron} and {Julien} and {Buyse} and {Marc} and {Ozenne} and {Brice} and {Roche} and {Laurent} and {Roy} and {Pascal}},
  year = {2018},
  volume = {27},
  number = {4},
  pages = {1230--1239},
  journal = {Statistical methods in medical research},
  doi = {10.1177/0962280216658320},
}
#+end_example


Owner

  • Name: Ozenne
  • Login: bozenne
  • Kind: user
  • Location: Copenhagen

I'm a bio-statistician; you will find on my Github R packages implementing statistical developments, code related to articles, and setting for emacs.

GitHub Events

Total
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 3
  • Push event: 20
Last Year
  • Issues event: 1
  • Watch event: 1
  • Issue comment event: 3
  • Push event: 20

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 518
  • Total Committers: 7
  • Avg Commits per committer: 74.0
  • Development Distribution Score (DDS): 0.591
Past Year
  • Commits: 54
  • Committers: 2
  • Avg Commits per committer: 27.0
  • Development Distribution Score (DDS): 0.426
Top Committers
Name Email Commits
Brice Maxime Hugues Ozenne h****2@s****k 212
Brice Ozenne b****e@o****r 146
Brice Maxime Hugues Ozenne h****2@k****k 59
bozenne b****z@s****k 50
bozenne b****e@g****m 27
Brice Ozenne b****e@b****e 21
ecantagallo e****o@e****g 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 15
  • Total pull requests: 0
  • Average time to close issues: about 1 month
  • Average time to close pull requests: N/A
  • Total issue authors: 7
  • Total pull request authors: 0
  • Average comments per issue: 3.27
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: about 1 month
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 5.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • graemeleehickey (7)
  • SamSalvaggio (3)
  • aghaynes (1)
  • kan-li (1)
  • alexploner (1)
  • eusebe (1)
  • matsouaka (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 831 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 27
  • Total maintainers: 1
cran.r-project.org: BuyseTest

Generalized Pairwise Comparisons

  • Versions: 27
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 831 Last month
Rankings
Forks count: 10.8%
Downloads: 21.3%
Average: 22.1%
Dependent repos count: 24.0%
Stargazers count: 25.5%
Dependent packages count: 28.8%
Maintainers (1)
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • Rcpp * depends
  • data.table * imports
  • doParallel * imports
  • foreach * imports
  • ggplot2 * imports
  • lava * imports
  • methods * imports
  • parallel * imports
  • prodlim * imports
  • riskRegression * imports
  • stats * imports
  • stats4 * imports
  • utils * imports
  • R.rsp * suggests
  • cvAUC * suggests
  • mvtnorm * suggests
  • pROC * suggests
  • pbapply * suggests
  • survival * suggests
  • testthat * suggests
.github/workflows/r.yml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-tinytex master composite
.github/workflows/rhub.yaml actions
  • r-hub/actions/checkout v1 composite
  • r-hub/actions/platform-info v1 composite
  • r-hub/actions/run-check v1 composite
  • r-hub/actions/setup v1 composite
  • r-hub/actions/setup-deps v1 composite
  • r-hub/actions/setup-r v1 composite