6.3.3.2.2.2. statsmodels.sandbox.distributions.estimators.fitbinned¶
-
statsmodels.sandbox.distributions.estimators.
fitbinned
(distfn, freq, binedges, start, fixed=None)[source]¶ estimate parameters of distribution function for binned data using MLE
Parameters: distfn : distribution instance
needs to have cdf method, as in scipy.stats
freq : array, 1d
frequency count, e.g. obtained by histogram
binedges : array, 1d
binedges including lower and upper bound
start : tuple or array_like ?
starting values, needs to have correct length
Returns: paramest : array
estimated parameters
Notes
todo: add fixed parameter option
added factorial