6.3.3.2.2.7. statsmodels.sandbox.distributions.estimators.getstartparams

statsmodels.sandbox.distributions.estimators.getstartparams(dist, data)[source]

get starting values for estimation of distribution parameters

Parameters:

dist : distribution instance

the distribution instance needs to have either a method fitstart or an attribute numargs

data : ndarray

data for which preliminary estimator or starting value for parameter estimation is desired

Returns:

x0 : ndarray

preliminary estimate or starting value for the parameters of the distribution given the data, including loc and scale