Linear combination of independent noncentral chi-squared random variables
Project description
chi2comb
Install
The recommended way to install this package is via conda
conda install -c conda-forge chi2comb
Alternatively, it can be installed using the pip command
pip install chi2comb
Usage
>>> from chi2comb import chi2comb_cdf, ChiSquared
>>>
>>> gcoef = 0.0
>>> ncents = [0, 0, 0]
>>> q = 1
>>> dofs = [1, 1, 1]
>>> coefs = [6, 3, 1]
>>> chi2s = [ChiSquared(coefs[i], ncents[i], dofs[i]) for i in range(3)]
>>> result, errno, info = chi2comb_cdf(q, chi2s, gcoef)
>>> result
0.054212946675253226
>>> errno
0
>>> info
Info(emag=0.7623482489861554, niterms=744, nints=2, intv=0.03819311576613404, truc=53.37968999861114, sd=0.0, ncycles=51)
Problems
If you encounter any issue, please, submit it.
Authors
License
This project is licensed under the MIT License.
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chi2comb-0.0.1.tar.gz.
File metadata
- Download URL: chi2comb-0.0.1.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab2ab3756ab5b4d0620e9e88dd04f1fe2f012b03ee2dc62b659809db975afc41
|
|
| MD5 |
5842b430690a201bfd1618f6d264158d
|
|
| BLAKE2b-256 |
98694af7a6d854f8dc9094718d14c0794938f3b1ebf5fc579d92222123acdde9
|
File details
Details for the file chi2comb-0.0.1-cp37-cp37m-manylinux1_x86_64.whl.
File metadata
- Download URL: chi2comb-0.0.1-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 22.1 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3db66a0c13f5abaaf8642bde7e9005bdb4a1be57bfa4a2e6d7612e5fcedaa2a6
|
|
| MD5 |
beae1e875699d95f7a6ce7e564c07cf1
|
|
| BLAKE2b-256 |
d348dfa2dd4c08408e93934a29edb83763663f94230ef60dd11b00bee9115c31
|
File details
Details for the file chi2comb-0.0.1-cp37-cp37m-macosx_10_6_intel.whl.
File metadata
- Download URL: chi2comb-0.0.1-cp37-cp37m-macosx_10_6_intel.whl
- Upload date:
- Size: 15.5 kB
- Tags: CPython 3.7m, macOS 10.6+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23a0acdf558634863a6c47af30447e7cf3b6132ec6a1550f194c7f6547cd2fa5
|
|
| MD5 |
d55728485c20bd48f8999f04ebfead68
|
|
| BLAKE2b-256 |
b90adb81b2a74117e57baa8698dd6cc6d2fe121ba2c854dba31a442c2da624da
|
File details
Details for the file chi2comb-0.0.1-cp36-cp36m-manylinux1_x86_64.whl.
File metadata
- Download URL: chi2comb-0.0.1-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 22.1 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecd6bc6ad37cd92c2c903ecd54db3d467d028fdcc02244bbe6ccbd0ae44ad673
|
|
| MD5 |
c1e58d3adf1a6918b0d09d206ca7bb9e
|
|
| BLAKE2b-256 |
02c9e90ab4830b0e5cd1954ec4520762fc8c82ede6777a34a635c9f6d855688d
|
File details
Details for the file chi2comb-0.0.1-cp36-cp36m-macosx_10_6_intel.whl.
File metadata
- Download URL: chi2comb-0.0.1-cp36-cp36m-macosx_10_6_intel.whl
- Upload date:
- Size: 15.5 kB
- Tags: CPython 3.6m, macOS 10.6+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99d90b33863f7630157ae0932ca86827815d17562de67281ba4c686fd1f9755d
|
|
| MD5 |
ce9e4dc4eebcfaf0efaf69668cc66d81
|
|
| BLAKE2b-256 |
f5dcdcd624d5f11a3214e8537316aed58f6ce6fd42395d8fbc2c4832bd452e85
|
File details
Details for the file chi2comb-0.0.1-cp27-cp27mu-manylinux1_x86_64.whl.
File metadata
- Download URL: chi2comb-0.0.1-cp27-cp27mu-manylinux1_x86_64.whl
- Upload date:
- Size: 25.2 kB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c806135429c8df91fd39b80fd918642d3565f9119fe19e5863cd02a68f64589
|
|
| MD5 |
ce4f4ad1d851f65cc2ded535168733ca
|
|
| BLAKE2b-256 |
32dbf244c3cb2709904f9331d94c508cdd4054d1e0253b107f06c286a4652887
|
File details
Details for the file chi2comb-0.0.1-cp27-cp27m-manylinux1_x86_64.whl.
File metadata
- Download URL: chi2comb-0.0.1-cp27-cp27m-manylinux1_x86_64.whl
- Upload date:
- Size: 25.2 kB
- Tags: CPython 2.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dfbd735e08d32f4d2921d6e811ba7d3e4f2e2b972800038088fea6474e7356c
|
|
| MD5 |
99376cf3fd617e0ed3a0df5e60205e55
|
|
| BLAKE2b-256 |
0dfe50f3d1b39cfe12fdfcf691516454ab039a037c49cd92a80e6023be5d45a4
|
File details
Details for the file chi2comb-0.0.1-cp27-cp27m-macosx_10_6_intel.whl.
File metadata
- Download URL: chi2comb-0.0.1-cp27-cp27m-macosx_10_6_intel.whl
- Upload date:
- Size: 15.4 kB
- Tags: CPython 2.7m, macOS 10.6+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f4e7a76d0d3aeef6812b87633d7017c882a7448c2c01cb1ae8f0eb66d898b06
|
|
| MD5 |
83e9d036a4f87e8e86de0945e7f23031
|
|
| BLAKE2b-256 |
ce9166a5727b426409c843945a51f9c3cace68575f949291b59af4ba916fa113
|