Learn R Programming

EDISON (version 1.1.1)

psrf_check: Check the potential scale reduction factors for all parameters (edges).

Description

This function treats the edges of the network as parameters, calculates their potential scale reduction factors and returns the highest value.

Usage

psrf_check(params, q, k_max, num_it)

Arguments

params
Matrix of parameters.
q
Number of nodes.
k_max
Number of segments.
num_it
Number of iterations/samples.

Value

Returns the highest PSRF value.

References

Gelman and Rubin (1992) Inference from iterative simulation using multiple sequences, Statistical Science.

See Also

psrf, psrf_check_hyper