Skip to content

Python package to aid in calculating statistical methods used in public health

License

Notifications You must be signed in to change notification settings

dhsc-govuk/PHStatsMethods

Repository files navigation

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.

About

Python package to aid in calculating statistical methods used in public health

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

Languages