Skip to main content

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.

Metadata

Release files for PHStatsMethods 0.1.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PHStatsMethods 0.1.16
File Size Uploaded
phstatsmethods-0.1.16.tar.gz 31.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PHStatsMethods 0.1.16
File Interpreter ABI Platform
phstatsmethods-0.1.16-py3-none-any.whl Python 3 none any Details

Total release size: 70.2 kB

Release files / phstatsmethods-0.1.16.tar.gz

Download URL phstatsmethods-0.1.16.tar.gz
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9f87a7d497f009a2b0b670ac8e37a0955eb7d5e97dfaa1a76c6c942d3bc275ac
BLAKE2b-256 checksum
How to use checksums
f52a1dc8c348f9bccd7fb6e1227cc826228755a586d045353f9cde8f73728ad2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 22, 2026.

Transparency log

Release files / phstatsmethods-0.1.16-py3-none-any.whl

Download URL phstatsmethods-0.1.16-py3-none-any.whl
Size 39.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
622d520b4a8a1bb677d6da0d643bbee42c07450c4bcc7aa8eaca758edeb01f5d
BLAKE2b-256 checksum
How to use checksums
b099298e976cdd53773dd743c889daa21c05d16f4a5b32c16c2e8fc897b684bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.16 This release

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page