This is a python package to calculate statistics in public health, including indicators for Fingertips.
Project description
PHStatsMethods
This is a Python package to support analysts in the execution of statistical methods approved for use in the production of Public Health indicators such as those presented via Fingertips. It provides functions for the generation of Proportions, Rates, DSRs, ISRs, Funnel plots and Means including confidence intervals for these statistics, and a function for assigning data to quantiles.
Full documenation on the package can be found on readthedocs.
Any feedback would be appreciated and can be provided using the Issues section of the PHStatsMethods GitHub repository.
Installation
This packaged should be installed using pip:
pip install PHStatsMethods
Or it can be compiled from source (still requires pip):
pip install git+https://github.com/dhsc-govuk/PHStatsMethods.git
Usage
PH_statistical_methods should be imported and used in line with standard python conventions. It is suggested that if the whole package is to be imported then the following convention is used:
import PHStatsMethods
For more information on any function, you can use:
help(PHStatsMethods.function)
QA and further development
This package has been QA'd and further development is planned and documented in the issues.
Licence
This project is released under the GPL-3 licence.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 phstatsmethods-0.1.16.tar.gz.
File metadata
- Download URL: phstatsmethods-0.1.16.tar.gz
- Upload date:
- Size: 31.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f87a7d497f009a2b0b670ac8e37a0955eb7d5e97dfaa1a76c6c942d3bc275ac
|
|
| MD5 |
d82cc0594917a2bf797bcca30c17cebb
|
|
| BLAKE2b-256 |
f52a1dc8c348f9bccd7fb6e1227cc826228755a586d045353f9cde8f73728ad2
|
Provenance
The following attestation bundles were made for phstatsmethods-0.1.16.tar.gz:
Publisher:
pypi.yml on dhsc-govuk/PHStatsMethods
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phstatsmethods-0.1.16.tar.gz -
Subject digest:
9f87a7d497f009a2b0b670ac8e37a0955eb7d5e97dfaa1a76c6c942d3bc275ac - Sigstore transparency entry: 844897620
- Sigstore integration time:
-
Permalink:
dhsc-govuk/PHStatsMethods@4a4446322007c74633e82cfc5ca05201532470b5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dhsc-govuk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@4a4446322007c74633e82cfc5ca05201532470b5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file phstatsmethods-0.1.16-py3-none-any.whl.
File metadata
- Download URL: phstatsmethods-0.1.16-py3-none-any.whl
- Upload date:
- Size: 39.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
622d520b4a8a1bb677d6da0d643bbee42c07450c4bcc7aa8eaca758edeb01f5d
|
|
| MD5 |
e9d6f180a7daee1eb123708349e4cc0b
|
|
| BLAKE2b-256 |
b099298e976cdd53773dd743c889daa21c05d16f4a5b32c16c2e8fc897b684bd
|
Provenance
The following attestation bundles were made for phstatsmethods-0.1.16-py3-none-any.whl:
Publisher:
pypi.yml on dhsc-govuk/PHStatsMethods
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phstatsmethods-0.1.16-py3-none-any.whl -
Subject digest:
622d520b4a8a1bb677d6da0d643bbee42c07450c4bcc7aa8eaca758edeb01f5d - Sigstore transparency entry: 844897628
- Sigstore integration time:
-
Permalink:
dhsc-govuk/PHStatsMethods@4a4446322007c74633e82cfc5ca05201532470b5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/dhsc-govuk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@4a4446322007c74633e82cfc5ca05201532470b5 -
Trigger Event:
push
-
Statement type: