Only run generated quantities block in PyStan (similar to gqs() in Rstan)

Hello,

Is there any way to use a similar function to gqs() in Rstan, ie to:

  • Use a model with previous posterior draws, but
  • Pass new data that can be passed into the generated quantities block?

Thanks

1 Like

Not yet implemented on PyStan, but supported by CmdStanPy. (ArviZ supports CmdStanPy too)

3 Likes