How do I fit the Weibull distribution to my dataset?

161 Views Asked by At

I'm looking to fit a vector of Floats to the Weibull distribution using the fit() function from Distributions.jl . The error I get is:

ERROR: DomainError with NaN:
Weibull: the condition α > zero(α) is not satisfied.

I've been able to do it for all the continuous distributions in their applicable distributions section https://juliastats.org/Distributions.jl/stable/fit/#Applicable-distributions ,

but can't seem to get it to work for the Weibull. My syntax is:

fit_mle(Weibull, nice[:,1])

For reproducibility, here's the data I was using: https://ufile.io/ticx73py

Thanks in advance! All responders are awesome!

0

There are 0 best solutions below