Skip to main content

Statistics tools for teaching at NBI

Project description

Statistical tools for teaching at NBI

This package extends some of the existing tools in NumPy and SciPy with some useful features designed to make life easier for the students at the Niels Bohr Institute.

Topics

  • Reporting scientific results, including proper rounding
  • Tabulation of data useful in Jupyter Notebooks
  • Visualisation of data in 1 and many dimensions
  • Robust calculations of sample means, variances, and covariances, for unweighted and weighted samples. For weighted samples, both frequency and non-frequency weights are supported.
  • Histogramming
  • Sampling of arbitrary PDFs
  • Curve fitting using
    • Linear least squares
    • Non-linear least squares
    • Maximum likelihood estimates
      • Extended
      • Binned
  • Representation of fit confidence contours
  • Hyppthesis testing
  • Confidence intervals
  • Template fitting
  • Simultaneous fitting over regions (channels)
  • Likelihood calculations

Examples of use

This notebook gives examples of use.

Book on Statistics with Python

The book Statistics Overview - With Python lays out much of the theoretical foundation for the tools available.

Some other notes on statistics is available from the same site, including

Application Programming Interface Documentation

The API is documented.

2019 © Christian Holm Christensen

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

nbi_stat-0.8.5.tar.gz (56.9 kB view details)

Uploaded Source

Built Distribution

nbi_stat-0.8.5-py3-none-any.whl (56.1 kB view details)

Uploaded Python 3

File details

Details for the file nbi_stat-0.8.5.tar.gz.

File metadata

  • Download URL: nbi_stat-0.8.5.tar.gz
  • Upload date:
  • Size: 56.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for nbi_stat-0.8.5.tar.gz
Algorithm Hash digest
SHA256 98d055c9b9f2b4eb8bd14ce6dce669d511e5647f51c7d0bd855401ab4e5f93f9
MD5 28175b4fa56bb414d575cbdea321a1dc
BLAKE2b-256 a21dc04a2401931e1c0d410383cd02577e3993d3c90e160cdbb6640ff2fe4a22

See more details on using hashes here.

File details

Details for the file nbi_stat-0.8.5-py3-none-any.whl.

File metadata

  • Download URL: nbi_stat-0.8.5-py3-none-any.whl
  • Upload date:
  • Size: 56.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for nbi_stat-0.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 db2cc99e658430180a28c952414b591d115e3724fa29578d84fd4793d62d1312
MD5 5829ae147436752dc6016c07c887984f
BLAKE2b-256 ea936c2442b2e322c4313392318501082bc83276f1c4c65127a34f1961c1bd88

See more details on using hashes here.

Supported by

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