hyunjimoon / DataInDM

Workflow iteration starting from 15.879
3 stars 0 forks source link

Cyclic models #17

Closed Dashadower closed 2 years ago

Dashadower commented 2 years ago

Obviously you can expect some models to be cyclic, like the stock affecting flow. That case should be the only possible cyclic structure, since when that is translated to stan it would represent that the atock value is equal to the previous time's state values.

This is because we need sequential evaluation in Stan; a cyclic component prevents this from working.