I am learning about posterior predictive inference from this page. The author uses CmdStan, but I am using pystan, and it is already confusing to see two interfaces, but I try to ignore this fact.
The author uses the method generate_quantities. To see the context:
I thought it’d be possible to separate the generated quantities from the model file, which allows, I think, to make predictions without recompiling the model.
Thank you for the suggestion. In fact, the first version conda downloaded was PyStan 2.x, which didn’t work. Then, I realized I had to install Stan with pip, and it installed PyStan 3.x, which has worked well so far.
The problem with having CmdStan and PyStan is not whether it is hard to use or not, but the uncertainty you are in. Why two interfaces? If I switch to CmdStan, will I regret some functionality I had in PyStan? and, what if one version misses something the other has, and the other way around? I recently started learning Bayesian statistics for my job, and I have many other things I must pay attention to, so this is an additional unwanted distraction. I’d like to know the difference, and a quick google search didn’t yield much.
Don’t take it bad, I thank the Stan community for releasing this amazing software I am enjoying for free; online interaction lacks the facial feedback we need to have healthy conversations.