Skip to main content

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

Metadata

Release files for nbi-stat 0.8.5

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

Source distribution (sdist)

Source distribution for nbi-stat 0.8.5
File Size Uploaded
nbi_stat-0.8.5.tar.gz 56.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nbi-stat 0.8.5
File Interpreter ABI Platform
nbi_stat-0.8.5-py3-none-any.whl Python 3 none any Details

Total release size: 113.0 kB

Release files / nbi_stat-0.8.5.tar.gz

Download URL nbi_stat-0.8.5.tar.gz
Size 56.9 kB
Tags Source
SHA-256 checksum
How to use checksums
98d055c9b9f2b4eb8bd14ce6dce669d511e5647f51c7d0bd855401ab4e5f93f9
BLAKE2b-256 checksum
How to use checksums
a21dc04a2401931e1c0d410383cd02577e3993d3c90e160cdbb6640ff2fe4a22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Release files / nbi_stat-0.8.5-py3-none-any.whl

Download URL nbi_stat-0.8.5-py3-none-any.whl
Size 56.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db2cc99e658430180a28c952414b591d115e3724fa29578d84fd4793d62d1312
BLAKE2b-256 checksum
How to use checksums
ea936c2442b2e322c4313392318501082bc83276f1c4c65127a34f1961c1bd88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.8.5 This release

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7

2 release files

0.6-1

2 release files

0.6

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.2.1

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