Learn R Programming

universals (version 0.0.1)

rhat_terms: R-hat Terms

Description

Calculates an R-hat (potential scale reduction factor) value for each term.

Usage

rhat_terms(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Value

A list of uniquely named numeric atomic objects with values >= 1 indicating the rhat value for each term.

Details

By default the uncorrected, unfolded, univariate, split R-hat value.

References

Gelman, A., and Rubin, D.B. 1992. Inference from Iterative Simulation Using Multiple Sequences. Statistical Science 7(4): 457<U+2013>472.

See Also

Other convergence: converged_pars(), converged_terms(), converged(), esr_pars(), esr_terms(), esr(), rhat_pars(), rhat()

Examples

Run this code
# NOT RUN {
rhat_terms.foobar <- function(x, ...) {
  NotYetImplemented()
  # replace with code to get rhat for each term of an object of
  # class 'foobar'
}
# }

Run the code above in your browser using DataLab