psr: Calculating the PSR of the LERCA fit.

Description Usage Arguments Value

Description

Based on the posterior samples of the mean ER estimates, calculate the potential scale reduction factor to assess MCMC convergence.

Usage

1
psr(samples)

Arguments

samples

Matrix. Rows and columns correspond to iterations and chains accordingly.

Value

Numeric. Estimate of the potential scale reduction factor. Values close to 1 indicate MCMC convergence.


gpapadog/LERCA documentation built on June 4, 2019, 11:40 a.m.