Is it possible to choose what is shown in the STAN summary output?


When I run a model with generated quantities, it takes a large amount of time to get the summary to calculate and print. Is there a way to tell STAN to only calculate the summary for my parameters and not the generated quantities?

no, not in CmdStan or CmdStanPy because the latter just wraps the former.
CmdStanR has this method which might be faster: Compute a summary table of estimates and diagnostics — fit-method-summary • cmdstanr

To add on to this, in Python a similar functionality is provided by ArViz, which can accept CmdStanPy objects as input.

I’m using Arviz. Do you know what the command is?


It’s arviz.summary: arviz.summary — ArviZ dev documentation