Statsmodels in Python

Hi All

I am using the python library: < statsmodels.discrete.count_model > to run zero-inflated models.

When I run it, it always give me the below message:

RuntimeWarning: invalid value encountered in log
(y + a1) * np.log(a2))

Do you know how to deal with it?

Thanks,
Sunny.

© Copyright 2013-2019 Analytics Vidhya