effectiveSize_hyper {ggdmc} | R Documentation |
Calculate effective sample sizes
Description
effectiveSize
calls effectiveSize
in coda package to
calculate sample sizes.
Usage
effectiveSize_hyper(x, start, end, digits, verbose)
effectiveSize_many(x, start, end, verbose)
effectiveSize_one(x, start, end, digits, verbose)
effectiveSize(x, hyper = FALSE, start = 1, end = NA, digits = 0,
verbose = FALSE)
Arguments
x |
posterior samples |
start |
starting iteration |
end |
ending iteraton |
digits |
printing how many digits |
verbose |
printing more information |
hyper |
a Boolean switch to extract hyper attribute |
Examples
#################################40
## effectiveSize example
#################################40
## Not run:
es1 <- effectiveSize_one(hsam[[1]], 1, 100, 2, TRUE)
es2 <- effectiveSize_one(hsam[[1]], 1, 100, 2, FALSE)
es3 <- effectiveSize_many(hsam, 1, 100, TRUE)
es4 <- effectiveSize_many(hsam, 1, 100, FALSE)
es5 <- effectiveSize_hyper(hsam, 1, 100, 2, TRUE)
es6 <- effectiveSize(hsam, TRUE, 1, 100, 2, TRUE)
es7 <- effectiveSize(hsam, TRUE, 1, 100, 2, FALSE)
es8 <- effectiveSize(hsam, FALSE, 1, 100, 2, TRUE)
es9 <- effectiveSize(hsam, FALSE, 1, 100, 2, FALSE)
es10 <- effectiveSize(hsam[[1]], FALSE, 1, 100, 2, TRUE)
## End(Not run)
[Package ggdmc version 0.2.6.0 Index]