I know I can fit Weibull Distribution like this:
weibull_params = sp.stats.exponweib.fit(data, floc=0, f0=1)
But what method does it use? From Fitting a Weibull distribution using Scipy, it seems like using Max Likelyhood Method
. Is it possible to switch to Least Square Method?
Addtionally, I want to know the quality of each fitting method(the error
?), but I guess I can google it out and save it for later.