Skip to content

copperheadCrotch/BATS-Bayesian-Adaptive-Trial-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BATS - Bayesian Adaptive Trial Simulator

Introduction

Bayesian Adaptive Trial Simulator (BATS) is a Qt-based software used to perform simulation for Bayeisan Multi-arm Multi-stage design.

Website

Users can view details on the website http://usebats.org/bats

Installation

Downloads URL
Windows Installer BATS-1.0.0-win32.msi
Source Code BATS-1.0.0.tar.gz

* The Windows users are encouraged to use the Windows Installer because the installation is easy.

Users can install BATS through an installer with no dependencies (The msi installer only works in Windows now), or through PyPI, which requires Python 3.4 +, several packages and GNU Scientific Library (GSL):

$ pip install BATS

Dependencies:

Other dependencies:

The module requires GNU Scientific Library (GSL) to be installed on user's operating system, because it use the GSL module to draw random variables and calculate choose functions.

  • GSL For Windows Port.

Install cythonGSL

To install cythonGSL, download the source from Thomas Wiecki's repository, follows the instructions for installation under the page.

Install Python Dependencies on Windows (Python 3.4 required)

$ pip install numpy pandas matplotlib cython PyQt5

Install GSL on Windows (Python 3.4 required)

Download GSL from the link above, following the instructions, Cython will also require a C/C++ compiler to complie the code into Python module.

Install the Python Dependencies and GSL on Linux:

$ pip3 install numpy pandas matplotlib cython PyQt5

$ apt-get install libgsl2

Usage

import BATS
BATS.main()

See documentation for detailed settings

License

The software is distributed under GPLv3. See License for details

Contact: yuzhenning.bio@gmail.com

About

A python application for MAMS clinical trial simulation under Bayesian scheme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages