calc_mcmc_param_stats: Calculate Autocorrelation, Effective sample size, Geweke...

View source: R/utils-calc-mcmc-param-stats.R

calc_mcmc_param_statsR Documentation

Calculate Autocorrelation, Effective sample size, Geweke statistic, and Heidelberger & Welch statistic histograms. This is a re-coded version of https://github.com/r4ss/r4ss/blob/bioscale/R/mcmc.nuisance.R

Description

Calculate Autocorrelation, Effective sample size, Geweke statistic, and Heidelberger & Welch statistic histograms. This is a re-coded version of https://github.com/r4ss/r4ss/blob/bioscale/R/mcmc.nuisance.R

Usage

calc_mcmc_param_stats(model, scale_effn = 1000, ...)

Arguments

model

A model as output by create_rds_file()

scale_effn

A value to divide the effective sample sizes by, mainly for plotting purposes

...

Absorbs arguments intended for other functions

Value

A data frame with the 4 values as columns, with the same number of rows as there are parameters calculated for


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.