{ } Raw JSON

bundles / scipy 1.18.0 / scipy / stats / _distn_infrastructure / rv_continuous / _fit_loc_scale_support

function

scipy.stats._distn_infrastructure:rv_continuous._fit_loc_scale_support

source: /scipy/stats/_distn_infrastructure.py:2793

Signature

def _fit_loc_scale_support(self, data, *args)

Summary

Estimate loc and scale parameters from data accounting for support.

Parameters

data : array_like

Data to fit.

arg1, arg2, arg3,... : array_like

The shape parameter(s) for the distribution (see docstring of the instance object for more information).

Returns

Lhat : float

Estimated location parameter for the data.

Shat : float

Estimated scale parameter for the data.

Aliases

  • scipy.stats.rv_continuous._fit_loc_scale_support