tBuLi / symfit

Symbolic Fitting; fitting as it should be.
http://symfit.readthedocs.org
MIT License
233 stars 17 forks source link

Global LogLikelihood fails #234

Closed tBuLi closed 5 years ago

tBuLi commented 5 years ago

In principle LogLikelihood fitting should also work when fitting to multiple data sets, however this SO question shows that it doesn't.

The issue seems to be that numpy as not able to take the log if the model components have different sizes. We should therefore take this log per component before summing.