Open hyunjimoon opened 1 year ago
While writing draws2datagq
block,
ignored_variables
{'predator', 'prey', 'process_noise', 'process_noise_uniform_driving', 'process_noise_scale'}
is union of stan_context.stan_data
(['process_noise_uniform_driving', 'process_noise_scale'])
and vensim_model_context.integ_outcome_vector_names
['predator', 'prey', 'process_noise']
from param_draw_order
['pred_birth_frac', 'prey_birth_frac', 'm_noise_scale', 'prey_obs', 'predator_obs'], we should filter out prey_obs
, predator_obs
out, which leaves us prey_birth_frac, pred_birth_frac
, m_noise_scale
, for generation from prior
SBC inputs are classified into three, which are typified as python classes. Precision and Stan_model context are dataclass, and only
VensimModelContext
receivesabsstract_model
(ode structure) during its initialization.PrecisionContext
)StanModelContext
)VensimModelContext
)For prey-predator model's data2darws (different from draws2data e.g.
_obs
family),stan_model_context
consists ofSamplingStatement
consists ofestiatmated parameter
's distribution info.Below is
VensimModelContext
structure.