Pystan parameter summary (ess and Rhat)

I am using pystan and was wondering how to extract the values for the estimated sample size ess and Rhat from my fit.
I found that older versions would also show ess and Rhat with the pandas.describe() method, while the current version no longer lists them.
Is it still possible to extact them ?

Hi, have you tried arviz?

import arviz as az
az.summary(fit)

What pystan version do you use?

1 Like

Thank you for your quick response.
The version of Python I am using is 3.8.5.
Arviz does indeed give me those quantities.