Mamba.jl icon indicating copy to clipboard operation
Mamba.jl copied to clipboard

could inits set variables from inputs?

Open tpapp opened this issue 8 years ago • 1 comments

Currently a node that is data has to be provided as an initial value, while other data needs to be provided as an input (eg in the tutorial example). Would it make sense to set all data nodes from inputs?

tpapp avatar Jun 15 '16 08:06 tpapp

Typically, sampled stochastic nodes are given different initial values for each chain that is run; whereas, input (data and prior) values are constant across all chains. Thus, initial values and inputs are kept separate in Mamba, similar to how OpenBUGS, JAGS, and Stan operate.

brian-j-smith avatar Jun 16 '16 02:06 brian-j-smith