Output Analysis and Diagnostics for MCMC

Provides functions for summarizing and plotting the output from Markov Chain Monte Carlo (MCMC) simulations, as well as diagnostic tests of convergence to the equilibrium distribution of the Markov chain.


CODA is a set of tools for analyzing the output of Markov Chain
Monte Carlo (MCMC) simulations and diagnosing lack of convergence.

The S original can be downloaded from
http://www.mrc-bsu.cam.ac.uk
and is Copyright (C) MRC Biostatistics Unit 1995. 

The CODA S manual contained these acknowledgements
"The support of the Economic and Social Research Council (UK) is
gratefully acknowledged. The work was funded in part by ESRC (UK)
award number H519 25 5023.  We are also grateful to Brad Carlin
for many helpful comments and ideas concerning the CODA software
and manual, and to Steve Brooks for suggesting the graphical
implementations of the Geweke and Gelman & Rubin convergence
diagnostics."

See "CHANGELOG" for information on the changes in the R version.

Martyn Plummer <[email protected]> 20/5/1998

######################################################################
Copying CODA for R

`CODA' is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2, or (at your option) any later
version.

`CODA' is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

A copy of the GNU General Public License is available on the World Wide
Web at http://www.gnu.org/copyleft/gpl.html.  You can also obtain it by
writing to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
MA 02139, USA.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("coda")

0.19-4.1 by Martyn Plummer, 3 years ago


Browse source code at https://github.com/cran/coda


Authors: Martyn Plummer [aut, cre, trl] , Nicky Best [aut] , Kate Cowles [aut] , Karen Vines [aut] , Deepayan Sarkar [aut] , Douglas Bates [aut] , Russell Almond [aut] , Arni Magnusson [aut]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports lattice


Imported by ASMbook, ArvindRF, AuxSurvey, BAMBI, BCClong, BCHM, BDWreg, BEND, BFpack, BGVAR, BNPmix, BNSP, BSL, BSTFA, BSTZINB, BTIME, BTSPAS, BayesBinMix, BayesCACE, BayesChange, BayesDissolution, BayesFM, BayesGWQS, BayesLN, BayesMFSurv, BayesMoFo, BayesPostEst, BayesRS, BayesSIM, BayesTSM, BayesTools, BayesX, BayesianTools, Bayesrel, Bchron, Bergm, BiDAG, BiostatsUHNplus, CARBayes, CARBayesST, COMIX, DBR, DGP4LCF, DPTM, DrBats, EMC2, EcoDiet, EpiEstim, EpiLPS, EpiModel, EvidenceSynthesis, FAVAR, ForceChoice, HLSM, HighDimenCDM, IRTM, ISEtools, JMbayes2, JointAI, LAWBL, LDATS, LearnBayes, MCMCvis, MJMbamlss, MSGARCH, MTLRF, MetaLandSim, MetaStan, MethComp, MfUSampler, MigConnectivity, MixSIAR, MplusAutomation, MultiNMix, NMADTA, NPBayesImputeCat, NobBS, PINstimation, PVAClone, PhaseType, PowerXgammaRF, R2MLwiN, R2OpenBUGS, R2admb, R2jags, RMark, RaCE.NMA, RcmdrPlugin.RMTCJags, RoBMA, RoBSA, RobustLPA, Romeb, Rtwalk, SAME, SimBIID, TreeBUGS, UPG, ValidationExplorer, XDNUTS, Xcertainty, ZIHINAR1, adaptsmoFMRI, adsoRptionMCMC, agRee, aggreCAT, aihuman, altmeta, ameras, ammiBayes, aphylo, apollo, arm, auRoc, autoMR, baclava, baker, bamp, baorista, bartcs, bayesCureRateModel, bayesGARCH, bayesLife, bayesMRM, bayesMig, bayesPO, bayesTFR, bayescount, bayeslm, bayesmix, bayesmsm, bayesvl, baytaAAR, bcf, bclogit, bfw, bgumbel, bipd, blapsr, blavaan, bmco, bml, bnma, bplsr, bpr, bridgesampling, brms, brokenstick, broom.mixed, bspcov, bssm, btergm, buzzMed, cash, catalytic, clustGLMM, cobin, cogirt, combreg, compareMCMCs, crossnma, ctmcd, dRiftDM, dcmle, deBInfer, deepSTRAPP, diagis, dlmtree, dmbc, dowser, dreamer, dsp, eSIR, easybgm, eefAnalytics, eggCounts, eiPack, emdbook, epts, ergm, ern, evolqg, evolvability, ewoc, exdqlm, fabMix, factor.switching, fdasrvf, fkbma, fmcmc, geiger, genMCMCDiag, geoBayes, ggdmc, glmbayes, gpciLindApproxProgII, gpcihybridIIImpSam, gpcihybridIImcmc, greta, hSDM, hbsaems, hdpGLM, iglm, immer, invitroTKstats, isotracer, ivd, ivdoctr, jSDM, jagsUI, jagstargets, krige, lame, latentnet, layeranalyzer, lcra, linelistBayes, list, lsirm12pl, marked, mcmcr, mcp, mdmb, metaBMA, metainsight, midas2, missingHE, mixAK, morse, morseDR, motmot, msaeHB, mtarm, multibridge, multimark, multinomialLogitMix, multinomineq, mvnma, nLTT, neojags, nimble, nimbleCarbon, nimbleExtra, nimblewomble, nlist, nse, optimalThreshold, ordinalbayes, pcnetmeta, phytools, plotMCMC, pmwg, polySegratioMM, pomp, pompp, postpack, prevalence, ptycho, qgg, qrjoint, r4ss, ratematrix, rbacon, ref.ICAR, remiod, rjuliabugs, rnmamod, rpm, rr, rtmpt, runMCMCbtadjust, runjags, rwty, saeHB, saeHB.ME, saeHB.ME.beta, saeHB.Spatial.Beta, saeHB.ZIB, saeHB.panel, saeHB.panel.beta, saeHB.spatial, saeHB.twofold, saeHB.unit, sbde, scape, season, serodynamics, shinyrecap, shrinkDSM, shrinkTVP, shrinkTVPVAR, simlandr, slfm, sns, spAbundance, spBayes, spBayesSurv, spOccupancy, spTDyn, spTimer, sparsesurv, spatialAtomizeR, spatialreg, sphet, spikeSlabGAM, spmixW, sspse, stLMM, statnet.common, stocc, stochvol, superdiag, tbea, tergm, tidybayes, tidytreatment, tipmap, trialr, unmconf, voigt, walker, wv, yuima.

Depended on by BAYSTAR, BMAmevt, BSPADATA, BayLum, BayesFactor, BayesLCA, BayesPIM, BayesTwin, DPP, EpiILM, EpiILMCT, FME, HelpersMG, Hmsc, InSilicoVA, MCMC.qpcr, MCMCglmm, MCMCpack, MasterBayes, PICBayes, R2WinBUGS, RGE, Ultimixt, adaptMCMC, anominate, bamlss, bayesDccGarch, bayesSurv, bayou, bhm, bhpm, bkmrhat, blatent, boral, bvartools, c212, coalescentMCMC, cplm, cubfits, dclone, elrm, endorse, gconsensus, gemtc, icenReg, mcgibbsit, metropolis, multiocc, pexm, phase1PRMD, phase1RMD, popReconstruct, ramps, relevent, rjags, spNNGP, spsurv, zoib.

Suggested by AHMbook, AdMit, ArchaeoPhases, BGGE, BVAR, BaM, BetaDanish, CausalMixGPD, ContRespPP, DynCount, HDInterval, LAM, LNIRT, Luminescence, MBNMAdose, MisRepARMA, QAEnsemble, R2BayesX, SALTSampler, SIBER, ShrinkageTrees, TAM, ZINB.GP, ZeBook, afdx, airGR, amen, babelmixr2, bayesImageS, bayesanova, bayesianVARs, bayest, bbqr, bcp, bgms, bmstdr, brea, broom, bsreg, camtrapR, countSTAR, ct, dsge, embryogrowth, emmeans, ergmito, factorstochvol, gap, ggmcmc, glmbayesCore, glmmTMB, glmmfields, handwriter, icensBKL, impala, intraclass, lmls, mcmcderive, mcmcensemble, mcmcsae, metamisc, miceadds, modelbased, mvgam, nimbleAPT, nimbleNoBounds, nimbleSCR, nmathresh, noisyCE2, occumb, outbreaker2, parameters, pscl, purgeR, rFIA, rater, rbi, redist, rstan, shinystan, simpleMH, sirt, snSMART, spCP, surveillance, swfscMisc, systemicrisk, texreg, topolow, vibass, womblR, zoo.


See at CRAN