Skip to main content

Approximate randomisation library

Project description


Hypothesis thesting with approximate randomisation

CircleCI Maintainability Test Coverage

Approximate randomisation is a significance testing approach suitable for NLP problems.

🤔 Why not a traditional t-test?

While randomisation tests are just as good as analytical approaches such as the t-test, they are better when the assumptions of the latter are not met and they are also quite simple to implement.

🖥️ Installation

pip install randhy


  1. William Morgan, Statistical Hypothesis Tests for NLP - Stanford Computer Science (slides)
  2. Wassily Hoeffding. 1952. The Large-Sample Power of Tests Based on Permutations of Observations. Annals ofMathematical Statistics, 23, 169–192.
  3. Eric W. Noreen. 1989. Computer Intensive Methods forTesting Hypothesis. John Wiley & Sons

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 randhy, version 2.0.2
Filename, size File type Python version Upload date Hashes
Filename, size randhy-2.0.2-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size randhy-2.0.2.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page