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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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