项目作者: org-arl

项目描述 :
Alpha stable and sub-Gaussian distributions in Julia
高级语言: Julia
项目地址: git://github.com/org-arl/AlphaStableDistributions.jl.git
创建时间: 2019-12-30T05:51:15Z
项目社区:https://github.com/org-arl/AlphaStableDistributions.jl

开源协议:MIT License

下载


AlphaStableDistributions

CI
Codecov

This library is a port of functionality from arlpy. The two distributions supported are

Installation

  1. using Pkg; pkg"add https://github.com/org-arl/AlphaStableDistributions.jl"

Usage

  1. julia> using AlphaStableDistributions
  2. julia> d1 = AlphaStable()
  3. AlphaStable{Float64}(α=1.5, β=0.0, scale=1.0, location=0.0)
  4. julia> s = rand(d1, 100000);
  5. julia> d2 = fit(AlphaStable, s, alg=QuickSort) # See ThreadsX.QuickSort for a threaded algorithm
  6. AlphaStable{Float64}(α=1.4748701622930906, β=0.0, scale=1.006340087707924, location=-0.0036724481641865715)
  7. julia> x = rand(AlphaSubGaussian(n=9600));
  8. julia> plot(x)

window

Credits

Julia code by @ymtoo and @baggepinnen, original implementation by @mchitre and others.