Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Project description

ROSES

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

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('rgdal')
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 
sudo apt install libudunits2-dev libgdal-dev libgeos-dev libproj-dev
sudo apt install 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 ROSE (v0.5) 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.

Project details


Release history Release notifications

This version

0.1

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.1
Filename, size File type Python version Upload date Hashes
Filename, size roses-0.1-py3-none-any.whl (11.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size roses-0.1.tar.gz (8.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page