Save sampling data in MCMC

How to save sampling data in each iteration in MCMC?

In real time or after sampling is complete?

after complete

You can use az.to_netcdf().

1 Like