stan
stan copied to clipboard
write transformed data along with posterior sample
There is currently no way to recover the data created in the transformed data block. Because that can involve randomization now, it's not possible to recreate on the outside.
There's an associated issue in the stan-dev/stanc3 repo for making the necessary changes to the generated C++ code:
https://github.com/stan-dev/stanc3/issues/1522