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.7.2.tar.gz (51.3 kB view hashes)

Uploaded Source

Built Distribution

nbi_stat-0.7.2-py3-none-any.whl (50.6 kB view hashes)

Uploaded Python 3

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