scipy.stats.rv_histogram.

fit_loc_scale#

rv_histogram.fit_loc_scale(data, *args)[source]#

使用一階和二階動差從資料估計位置和尺度參數。

參數:
dataarray_like

要擬合的資料。

arg1, arg2, arg3,…array_like

分布的形狀參數 (更多資訊請參閱實例物件的 docstring)。

回傳:
Lhatfloat

資料的估計位置參數。

Shatfloat

資料的估計尺度參數。