Closed graceave closed 3 years ago
@graceave, multiple observations are not supported by delfi
. However, in the meantime we have shifted efforts to developing a new framework, sbi
, which is based on PyTorch rather than theano
(which ran out of support). Since its latest release it does support multiple IID observations for some inference methods, see: https://github.com/mackelab/sbi/releases/tag/v0.16.0
Hi, I was wondering if you have considered amending the script to be able to do inference with multiple observations. Or if I am missing how to do this. Thank you for your help!
As a simple example, I'm simulating taking a sample from normal population with some mean mu and some standard deviation sigma. The sample will have summary statistics mean xbar and standard deviation s. The sample size is small (n=10), so we would benefit from the observed data being able to include multiple samples. When I try to make the observed data multiple samples, I get this error:
AssertionError Traceback (most recent call last)