R/backends.R
SBC_backend_iid_draws.Rd
Most backends (e.g. those based on variatns of MCMC) don't produce
independent draws and thus diagnostics like Rhat and ESS are important
and draws may need thinning. Backends that already produce independent
draws (e.g. ADVI/optimizing) can implement this method to return TRUE
to signal this is the case. If this method returns TRUE
, ESS and Rhat will
always attain their best possible values and SBC_backend_default_thin_ranks()
will return 1
.
The default implementation returns FALSE
.
SBC_backend_iid_draws(backend)
# S3 method for default
SBC_backend_iid_draws(backend)
to check