I am just getting started with the PyStan interface having previously used CmdStan. I am a big fan of the stansummary program that is part of CmdStan and have identified the equivalent in PyStan (i.e., the stansummary method for objects of type StanFit4Model).
Is there a way of extracting the n_eff column as an array? I would like to be able to identify which parameters have the smallest n_eff values.
At the moment the only way I can see of doing this is to examine the contents of the string that is returned by the stansummary method.
Would I be better off switching to one of the other interfaces such as RStan for this kind of work?