Skip to main content

ROSES

ROSES (R pythOn Statistical tEstS) is a package to use statistical tests from R to Python for multiple algorithms in multiple problems.

PyPI License PyPI Python version DOI

This package was created due to differences in the precision from other Python packages for statistical tests. As R is a programming language with excellent libraries for statistical, ROSES was created as a bridge (parses) to use them.

Table of Contents

Requirements

Install Python:

sudo apt install python3-dev python3-setuptools python3-tk python-dev

Install R:

sudo apt install r-base

To compile the R libraries:

sudo apt install gfortran libcurl4-openssl-dev

To install the following R libraries, otherwhise a warning will be handled:

install.packages('devtools')
devtools::install_github("b0rxa/scmamp")
install.packages('PMCMR')
install.packages("https://cran.r-project.org/src/contrib/Archive/mvtnorm/mvtnorm_1.0-8.tar.gz", repos=NULL)
install.packages('PMCMRplus')
install.packages('sp')
install.packages("https://cran.r-project.org/src/contrib/Archive/rgdal/rgdal_1.3-6.tar.gz", repos=NULL)
install.packages('pgirmess')

If you received warnings to install the R libraries, try some the commands as follow:

sudo apt install libevent-dev libreadline-dev libudunits2-dev libgdal-dev libgeos-dev libproj-dev libgmp3-dev libmpfr-dev

Installation

To download ROSE just clone the Git repository hosted in GitHub:

git clone https://github.com/jacksonpradolima/ROSE.git
python setup.py install

Alternatively, you can install it with pip:

pip install roses

Usage

Examples of configuring and running all the included algorithms are located in the test folders roses folder.

Features

The current release of ROSES (v0.3) contains the following tests:

  • Kruskal-Wallis with Post-hoc when necessary (comparing p-value)
  • Friedman with Critical Distance plot and Post-hoc when necessary (comparing p-value)
  • Varghas and Delaney (effect size)

License

This project is licensed under the terms of the MIT - see the LICENSE file for details.

Citation

If this package contributes to a project which leads to a scientific publication, I would appreciate a citation.

@misc{roses,
  author       = {Prado Lima, Jackson Antonio do},
  title        = {{ROSES (R pythOn Statistical tEstS)}},
  month        = sep,
  year         = 2019,
  doi          = {10.5281/zenodo.3444187},
  url          = {https://doi.org/10.5281/zenodo.3444187}
}

Release files for roses 0.3.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for roses 0.3.9
File Interpreter ABI Platform
roses-0.3.9-py3.8.egg Legacy Egg format - - Details
roses-0.3.9-py3-none-any.whl Python 3 none any Details

Total release size: 35.4 kB

Release files / roses-0.3.9-py3.8.egg

Download URL roses-0.3.9-py3.8.egg
Size 23.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
255b3c726c15a81af5c2ca9207727c6d587b3871fd91f3af1660d01d09d29fc7
BLAKE2b-256 checksum
How to use checksums
8a7928f3841b3a6daf13b9a3bf87152f56bdac05e04f1e0448ff9f5f46c8b683
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

Release files / roses-0.3.9-py3-none-any.whl

Download URL roses-0.3.9-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77cec76cd752813bbe391e3c4f8d0539bc17ac426c2259181c5924f763c8d1b3
BLAKE2b-256 checksum
How to use checksums
60a71c998aac85492f4849c6213db8f79c8c4c69159f4fd1869c730fba2934d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.3.9 This release

2 release files

0.3.8

1 release file

0.3.7

1 release file

0.3.6

2 release files

0.3.5

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page