Skip to main content

PyIDD

Identify the Distribution of your Data
This package helps you for identifing the distribution of your data. For example if you want to know whether your data follow Normal distribution, you can use this package!

Installation

pip install pyidd

Usage

import pyidd
import statsmodels.api as sm

# Load sample dataset (data is an one dimensional array)
data = sm.datasets.elnino.load_pandas().data.set_index('YEAR').values.ravel()

# verbose=0 means silent while fitting and verbose=1 means say anything you do while fitting
p = pyidd.PyIDD(verbose=1)
p.fit(data)

# After fitting, you can get distribution sorted by Sum of Squered Error that fit your data, so the first distribution is the distribution that is closer to your data
p.get_distributions()

# You can also plot distributions and your data to see this visualy. top=10 means that you want to plot top 10 distributions that match your data
p.plot(top=10)

Distributions

We use almost all scipy.stats continiuse distributions (Notics: The distributions that can not fit to your data get ignored). These distributions are listed below:

  • alpha
  • anglit
  • arcsine
  • argus
  • beta
  • betaprime
  • bradford
  • burr
  • burr12
  • cauchy
  • chi
  • chi2
  • cosine
  • crystalball
  • dgamma
  • dweibull
  • erlang
  • expon
  • exponnorm
  • exponweib
  • exponpow
  • f
  • fatiguelife
  • fisk
  • foldcauchy
  • foldnorm
  • genlogistic
  • gennorm
  • genpareto
  • genexpon
  • genextreme
  • gausshyper
  • gamma
  • gengamma
  • genhalflogistic
  • geninvgauss
  • gompertz
  • gumbel_r
  • gumbel_l
  • halfcauchy
  • halflogistic
  • halfnorm
  • halfgennorm
  • hypsecant
  • invgamma
  • invgauss
  • invweibull
  • johnsonsb
  • johnsonsu
  • kappa4
  • kappa3
  • ksone
  • kstwo
  • kstwobign
  • laplace
  • levy
  • levy_l
  • logistic
  • loggamma
  • loglaplace
  • lognorm
  • loguniform
  • lomax
  • maxwell
  • mielke
  • moyal
  • nakagami
  • ncx2
  • ncf
  • nct
  • norm
  • norminvgauss
  • pareto
  • pearson3
  • powerlaw
  • powerlognorm
  • powernorm
  • rdist
  • rayleigh
  • rice
  • recipinvgauss
  • semicircular
  • skewnorm
  • t
  • trapezoid
  • triang
  • truncexpon
  • truncnorm
  • tukeylambda
  • uniform
  • vonmises
  • vonmises_line
  • wald
  • weibull_min
  • weibull_max
  • wrapcauchy

Metadata

Release files for pyidd 0.4.0

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

Source distribution (sdist)

Source distribution for pyidd 0.4.0
File Size Uploaded
pyidd-0.4.0.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyidd 0.4.0
File Interpreter ABI Platform
pyidd-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / pyidd-0.4.0.tar.gz

Download URL pyidd-0.4.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
11ff7bb4f9a2bd424e359ae9adc0571403e0fa8bc5737b73d5b99451d2518a9f
BLAKE2b-256 checksum
How to use checksums
a9e1f46bb18bc0388012b042a463d8ebe5678c9c068037ae8e01b88eaed90064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / pyidd-0.4.0-py3-none-any.whl

Download URL pyidd-0.4.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a99447a0e0fb6175c94f655a0045d5af973eee44dd2cefec0555ea74ba433c19
BLAKE2b-256 checksum
How to use checksums
da7833542b5f758e2bc1b2365a50ad4d41362f2d1811b9d047f6e448fa7f73b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.1

2 release files

0.3

2 release files

0.2

2 release files

0.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