Skip to main content

Perform the Log-Rank-Test very fast

Project description

Perform the Log-Rank-Test very fast

  • Free software: BSD license


Calculate the Log-Rank-Test very fast


pip install fastlogranktest

(if it fails, make sure python-dev is installed and try the installation again.

linux: sudo apt-get install python-dev)


logrank_test(groupa, groupb, groupacensored, groupbcensored)


groupa: list of group a’s survival times

groupb: list of group b’s survival times

groupacensored: list of censored information of group a’s survival times

groupbcensored: list of censored information of group b’s survival times




Calculate multiple Log-Rank-Tests very fast using threading


multi_logrank_test(groupas, groupbs, groupacensoreds, groupbcensoreds, threadnumber = NULL)


groupas: list of lists of groupa’s survival times

groupbs: list of lists of groupb’s survival times

groupacensoreds: list of lists of censored information of groupa’s survival times

groupbcensoreds: list of lists of censored information of groupb’s survival times

threadnumber: (optional) set the number of threads used for this function


list of p-values (same order as input)


0.1.0 (2019-10-21)

  • First release on PyPI.

0.1.1 (2019-10-22)

  • Updated programm instructions.

0.1.2 (2019-11-05)

  • Updated programm instructions again.

0.1.3 (2019-11-05)

  • Updated link to gitlab.

0.1.4 (2019-11-07)

  • Improvements for Linux compatibility.

0.1.5 (2019-11-07)

  • Improvements for Linux compatibility.

0.1.6 (2019-11-07)

  • Improvements for Linux compatibility.

0.1.7 (2019-11-07)

  • Improvements for Linux compatibility.

0.1.8 (2019-11-07)

  • Improvements for Linux compatibility.

0.1.9 (2019-11-07)

  • Improvements for Linux compatibility.

0.2.0 (2019-02-01)

  • Updated installation and author information.

Project details

Download files

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

Source Distribution

fastlogranktest-0.2.0.tar.gz (13.4 MB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page