6.3.3.2.2.12. statsmodels.sandbox.distributions.estimators.momentcondunboundls

statsmodels.sandbox.distributions.estimators.momentcondunboundls(distfn, params, mom2, quantile=None, shape=None)[source]

moment conditions for estimating loc and scale of a distribution with method of moments using either 2 quantiles or 2 moments (not both).

Returns:

difference : array

difference between theoretical and empirical moments or quantiles