pints-team / pints

Probabilistic Inference on Noisy Time Series
http://pints.readthedocs.io
Other
224 stars 33 forks source link

Model checks #661

Open ben18785 opened 5 years ago

ben18785 commented 5 years ago

These are essential for the paper as they are ways to check a model's fit to data.

We already do a bit of this in notebooks but we should do much more. The following are quite simple to implement and would highlight many inadequacies in the statistical model (and possibly the mathematical model too):

MichaelClerx commented 5 years ago

Hi @ben18785 , sounds great, but what are you suggesting we do exactly? Add methods to pints.plot? Write unit tests? Extend the notebook examples for models?

martinjrobins commented 5 years ago

A lot of these checks seem visual, so might be better adding methods to pints.plot?

MichaelClerx commented 5 years ago

Agreed! We had a brief chat about this yesterday :-)

There's precedence for pints.plot doing simulations (a few should be fine, right?) in the series() plot (aka the posterior predictive distribution)

https://github.com/pints-team/pints/blob/master/pints/plot.py#L407

ben18785 commented 5 years ago

Cool, sounds good!

On Thu, Feb 7, 2019 at 10:27 AM Michael Clerx notifications@github.com wrote:

Agreed! We had a brief chat about this yesterday :-)

There's precedence for pints.plot doing simulations (a few should be fine, right?) in the series() plot (aka the posterior predictive distribution)

https://github.com/pints-team/pints/blob/master/pints/plot.py#L407

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pints-team/pints/issues/661#issuecomment-461364644, or mute the thread https://github.com/notifications/unsubscribe-auth/AESFqKsovEjgnfB3cQvESXO6r9yYwtodks5vK_97gaJpZM4aka87 .

martinjrobins commented 4 years ago

so what is the TODO list on this issue? Would each of the checkbox list on the issue description be a new notebook demonstrating the particular check? This seems like a chapter of a textbook, rather than a "small issue" ;)