Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phstatsmethods-0.1.16.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phstatsmethods-0.1.16-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

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

Hashes for phstatsmethods-0.1.16.tar.gz
Algorithm Hash digest
SHA256 9f87a7d497f009a2b0b670ac8e37a0955eb7d5e97dfaa1a76c6c942d3bc275ac
MD5 d82cc0594917a2bf797bcca30c17cebb
BLAKE2b-256 f52a1dc8c348f9bccd7fb6e1227cc826228755a586d045353f9cde8f73728ad2

See more details on using hashes here.

Provenance

The following attestation bundles were made for phstatsmethods-0.1.16.tar.gz:

Publisher: pypi.yml on dhsc-govuk/PHStatsMethods

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phstatsmethods-0.1.16-py3-none-any.whl.

File metadata

File hashes

Hashes for phstatsmethods-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 622d520b4a8a1bb677d6da0d643bbee42c07450c4bcc7aa8eaca758edeb01f5d
MD5 e9d6f180a7daee1eb123708349e4cc0b
BLAKE2b-256 b099298e976cdd53773dd743c889daa21c05d16f4a5b32c16c2e8fc897b684bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for phstatsmethods-0.1.16-py3-none-any.whl:

Publisher: pypi.yml on dhsc-govuk/PHStatsMethods

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page