Skip to main content

Implemenation of the PQMass two sample test from Lemos et al. 2024

Project description

PQM

Implementation of the PQMass two sample test from Lemos et al. 2024

Usage

from pqm import pqm_pvalue
import numpy as np

x_sample = np.random.normal(size = (500, 10))
y_sample = np.random.normal(size = (400, 10))

pvalues = pqm_pvalue(x_sample, y_sample, num_refs = 100, bootstrap = 50)

print(np.mean(pvalues), np.std(pvalues))

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

pqm-0.1.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

pqm-0.1.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file pqm-0.1.2.tar.gz.

File metadata

  • Download URL: pqm-0.1.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pqm-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3174cb0e3f1401b7938d57e8ee9126caf7713b7bb053bfae44d83185d201233d
MD5 32e2f75e6fce32a102b5548eddfaf33b
BLAKE2b-256 c9007a9b2d89b5387ad9258ba64b775e76840c9d5582d4b73171b72b8e282278

See more details on using hashes here.

File details

Details for the file pqm-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pqm-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for pqm-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5cba3b5618d57df7458c48793aa787bac8b11484db5480d8f2f0d755c1495697
MD5 533650f6d015ae6d9ecc79be2f440bcf
BLAKE2b-256 f2c6fb984f4649c4cdc2c88656b48e615a4fe50510d4ae3f77e635463cf12f64

See more details on using hashes here.

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