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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fattails-0.0.3-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file fattails-0.0.3.tar.gz.

File metadata

  • Download URL: fattails-0.0.3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for fattails-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fbb0109132165a36486474b40acd8aac5f4eefe0e47c8dff03c8154072dc2f4f
MD5 66891b5588e245b7d22013475c0c3858
BLAKE2b-256 74f1d6856e5f98ec37a91be8e07c203a5c9eda147d913bebdd01086ee627b619

See more details on using hashes here.

File details

Details for the file fattails-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: fattails-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.5

File hashes

Hashes for fattails-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6bc002bed487175170c828f061220b610b1660b08689c5da5698cfc22a833454
MD5 aaf4393066d42feb1c8accfe72292eae
BLAKE2b-256 d07f0d8fc68265d5969ad539228e254cf5e5066f8435acf46792de820afdb0d3

See more details on using hashes here.

Supported by

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