statsmodels.discrete.count_model.ZeroInflatedNegativeBinomialP.loglikeobs

ZeroInflatedNegativeBinomialP.loglikeobs(params)

通用零膨胀模型的观测值的对数似然。

Parameters:
paramsarray_like

模型的参数。

Returns:
loglikendarray

模型在参数处评估的每个观测值的对数似然值。请参阅注释以了解定义。

注释

\[\ln L=\ln(w_{i}+(1-w_{i})*P_{main\_model})+ \ln(1-w_{i})+L_{main\_model} where P - pdf of main model, L - loglike function of main model.\]

对于观测值 \(i=1,...,n\)


Last update: Oct 16, 2024