pyblp.exceptions.MicroMomentsNumericalError

class pyblp.exceptions.MicroMomentsNumericalError

Encountered a numerical error when computing micro moments.

This problem is often due to prior problems, overflow, or nonpositive shares, and can sometimes be mitigated by choosing smaller initial parameter values, setting more conservative bounds, rescaling data, removing outliers, changing the floating point precision, or using different optimization, iteration, or integration configurations.