Skip to main content

ROSES (R pythOn Statistical tEstS) is a package to use statistical tests from R to Python

Project description


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


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("", repos=NULL)
install.packages("", repos=NULL)

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


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

git clone
python install

Alternatively, you can install it with pip:

pip install roses


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


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)


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


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

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for roses, version 0.3.9
Filename, size File type Python version Upload date Hashes
Filename, size roses-0.3.9-py3.8.egg (23.4 kB) File type Egg Python version 3.8 Upload date Hashes View
Filename, size roses-0.3.9-py3-none-any.whl (12.0 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page