You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By calling a probability distribution function in scipy.stats, the corresponding function in wafo.stats is actually called.
I discovered this when using scipy.stats.exponweib.fit() (fitting a Weibull distribution to data) but the point is illustrated simpler using scipy.stats.norm.freeze()
So far I have not found the results from wafo.stats and scipy.stats to differ much. But there is a different behaviour with warnings (at least for the function scipy.stats.exponweib.fit()) which can be confusing and annoying. It is also a potential cause of hard to find bugs, so I hope it can be fixed. (If the problem is even within wafo which I honestly don't know.)
The text was updated successfully, but these errors were encountered:
To use the extended functionality for parameter estimation you must call the dist.fit2 method
or alternatively use the FitDistribution class in wafo.stats.estimation.
To construct better confidence intervalls for the estimated distribution parameters, probability or quantile you must use the Profile-, ProfileProbability- or ProfileQuantile-class, respectively, in wafo.stats.estimation module.
Great! I installed from the current master and it's no longer an issue as you said. I'm happy to use scipy's fit function for now.
Out of curiosity, how was this accomplished in the previous version? I really don't understand how importing wafo can redirect my call scipy.stats to wafo.stats
By calling a probability distribution function in scipy.stats, the corresponding function in wafo.stats is actually called.
I discovered this when using
scipy.stats.exponweib.fit()
(fitting a Weibull distribution to data) but the point is illustrated simpler usingscipy.stats.norm.freeze()
Tested with scipy 1.2.1 and 1.4.1
So far I have not found the results from wafo.stats and scipy.stats to differ much. But there is a different behaviour with warnings (at least for the function
scipy.stats.exponweib.fit()
) which can be confusing and annoying. It is also a potential cause of hard to find bugs, so I hope it can be fixed. (If the problem is even within wafo which I honestly don't know.)The text was updated successfully, but these errors were encountered: