-
Notifications
You must be signed in to change notification settings - Fork 432
Closed
Labels
Description
Hi,
This is a newbie question, thus I might ask in the wrong repo or wrong place in general.
julia> fit(Normal, rand(100))
Distributions.Normal{Float64}(μ=0.5084961617475308, σ=0.2908609425853258)
julia> fit(Weibull, rand(100))
ERROR: suffstats is not implemented for (Distributions.Weibull, Array{Float64,1}).
Stacktrace:
[1] suffstats(::Type{Distributions.Weibull}, ::Array{Float64,1}) at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\tfr004\AppData\Local\JuliaPro-0.6.1.1\pkgs-0.6.1.1\v0.6\Distributions\src\genericfit.jl:5
[2] fit(::Type{Distributions.Weibull}, ::Array{Float64,1}) at C:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Users\tfr004\AppData\Local\JuliaPro-0.6.1.1\pkgs-0.6.1.1\v0.6\Distributions\src\genericfit.jl:33
julia>I am porting a Matlab project to Julia. In Matlab they used histfit(data,nbins,'weibull') function. I am actually looking something to replace the histfit function and found Julia fit. Any help is appreciated.
Nosferican, non-Jedi, jakewilliami and tanweer-mahdi