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
- Principle Component Analysis as a more robust alternative to boosted decision trees
- Bootstrap and Jackknife and why you should be careful with these estimates
- Coefficent of determination and why you shouldn't use it
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nbi_stat-0.8.5.tar.gz | 56.9 kB | Without provenance | Details for nbi_stat-0.8.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nbi_stat-0.8.5-py3-none-any.whl | Python 3 | none | any | Details for nbi_stat-0.8.5-py3-none-any.whl |
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
|
Security for nbi-stat 0.8.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.