bayesian-stats-modelling-tutorial icon indicating copy to clipboard operation
bayesian-stats-modelling-tutorial copied to clipboard

Extract posterior distribution information

Open akgopan opened this issue 5 years ago • 1 comments

How would we extract the posterior distribution information from a theano.tensor.var.TensorVariable to numpy arrays? Current method makes it hard to utilize this information to be part of a bigger code where you might want to use the posterior distribution (or say just the mean and HPD bounds?).

akgopan avatar Apr 14 '20 16:04 akgopan

@akgopan the you would want to use the posterior trace object, which contain draws from the posterior. I have done this by using draws from the posterior in agent-based simulations at work.

ericmjl avatar Apr 14 '20 17:04 ericmjl