scipy.stats.rv_continuous. nnlf# rv_continuous.nnlf(theta, x)[source]# 負對數概似函數。 註解 —– 這是 -sum(log pdf(x, theta), axis=0),其中 theta 是參數(包含 loc 和 scale)。