CQMP / Maxent

GNU General Public License v2.0
16 stars 14 forks source link

Discrepancy in probability/chi^2 #51

Open ryanlevy opened 3 years ago

ryanlevy commented 3 years ago

Reported by Manuel Zingl and Khaldoon Ghanem (thanks both!) there are some potential subtle problems with definitions. The code seems to use Q=chi^2 / Ndat - alpha*S in the minimization routine rather than the reported Q=1/2chi^2 - alpha*S

Current options:

jpfleblanc commented 3 years ago

So what you think is most correct. Would be nice to see the impact of this on the example test cases as a minimum.

ryanlevy commented 3 years ago

case1.pdf case2.pdf case3.pdf

Khaldoon graciously provided three test cases along with their outputs from MEM i.e. Jarrell Code. to be more explicit:

egull commented 3 years ago

This looks remarkably clean. I'm ok with changing the convention.