Skip to main content

A package for fat-tailed statistics

Project description

Fat Tails

Python package and Jupyter notebooks for fat-tailed statistics. Inspired by Nassim Taleb's Technical Incerto.

Content

Notebooks

See the notebooks/README.md for more detail.

My favourite notebooks so far:

Functions

Quick Access:

  • fattails.mad(): Calculates mean absolute deviation. Other:
  • fattails.metrics.get_survival_probability(): Calculate survival probabilities for a given dataset.

Example:

$ pip install fattails
$ python

>>> import fattails
>>>
>>>
>>> fattails.mad([1,2,3]) # Calculate Mean Absolute Deviation of [1,2,3]
0.6666666666666666
>>>
>>>
>>> fattails.metrics.get_survival_probability([1,2,3]) # Get survival probability for each value in your data
0    0.75
1    0.50
2    0.25
Name: survival_probability, dtype: float64

Derivations

External Resources

Technical Incerto Book One:

More Links:

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

fattails-0.0.3.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

fattails-0.0.3-py3-none-any.whl (5.9 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