6.3.3.2.2.1. statsmodels.sandbox.distributions.estimators.fit_mps

statsmodels.sandbox.distributions.estimators.fit_mps(dist, data, x0=None)[source]

Estimate distribution parameters with Maximum Product-of-Spacings

Parameters:

params : array_like, tuple ?

parameters of the distribution funciton

xsorted : array_like

data that is already sorted

dist : instance of a distribution class

only cdf method is used

Returns:

x : ndarray

estimates for the parameters of the distribution given the data, including loc and scale