effectiveSize: Effective sample size

effectiveSizeR Documentation

Effective sample size

Description

Version of effectiveSize from coda package, modified for ease of use with DynamicLatticeBasis package.

Usage

effectiveSize(x)

Arguments

x

A matrix of MCMC out, with rows correspondings to variables and columns to iterations.

Value

Effective sample sizes for each variable

Examples

data(BXno3way)
res <- Xsampler(A=BXno3way$A,y=BXno3way$y,lambda=BXno3way$lambda,Model="Poisson",Method="Gibbs",tune.par=0.5,combine=TRUE)
effectiveSize(res$X)

MartinLHazelton/DynamicLatticeBasis documentation built on March 1, 2024, 3:14 a.m.