statsmodels.discrete.discrete_model.GeneralizedPoisson.loglikeobs¶ GeneralizedPoisson.loglikeobs(params)[source]¶ Loglikelihood for observations of Generalized Poisson model Parameters:¶ paramsarray_likeThe parameters of the model. Returns:¶ loglikendarrayThe log likelihood for each observation of the model evaluated at params. See Notes Notes lnL=∑i=1n[μi+(yi−1)∗ln(μi+α∗μip−1∗yi)−yi∗ln(1+α∗μip−1)−ln(yi!)−μi+α∗μip−1∗yi1+α∗μip−1] for observations i=1,...,n