Standalone Generated Quantities Example in pystan?

Hello. Can anyone point to an example in pystan using the new standalone generated quantities block capability from 2.18?

Thanks!

Same, but for rstan? Does this capability exist?

There is a current open issue on the pystan github repo: https://github.com/stan-dev/pystan/issues/416

Looking at the changelog on CRAN for the recent rstan 2.18.1, there is no mentioning of this.

Sorry, but no, this hasn’t been pushed through PyStan or RStan yet. I believe it’s in CmdStan, though.

Hi,
I see the latest rstan supports standalone generated quantities, is there an example somewhere of its use?

Hey! You can check out the documentation here:

https://mc-stan.org/rstan/reference/stanmodel-method-gqs.html

1 Like