IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v042i09.html
   My bibliography  Save this article

MCMCpack: Markov Chain Monte Carlo in R

Author

Listed:
  • Martin, Andrew D.
  • Quinn, Kevin M.
  • Park, Jong Hee

Abstract

We introduce MCMCpack, an R package that contains functions to perform Bayesian inference using posterior simulation for a number of statistical models. In addition to code that can be used to fit commonly used models, MCMCpack also contains some useful utility functions, including some additional density functions and pseudo-random number generators for statistical distributions, a general purpose Metropolis sampling algorithm, and tools for visualization.

Suggested Citation

  • Martin, Andrew D. & Quinn, Kevin M. & Park, Jong Hee, 2011. "MCMCpack: Markov Chain Monte Carlo in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 42(i09).
  • Handle: RePEc:jss:jstsof:v:042:i09
    DOI: http://hdl.handle.net/10.18637/jss.v042.i09
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v042i09/v42i09.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v042i09/MCMCpack_1.0-11.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v042i09/v42i09.R
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v042i09/v42i09-data.zip
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v042.i09?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Geweke, John & Keane, Michael, 2000. "An empirical analysis of earnings dynamics among men in the PSID: 1968-1989," Journal of Econometrics, Elsevier, vol. 96(2), pages 293-356, June.
    2. Chib S. & Jeliazkov I., 2001. "Marginal Likelihood From the Metropolis-Hastings Output," Journal of the American Statistical Association, American Statistical Association, vol. 96, pages 270-281, March.
    3. Martin, Andrew D. & Quinn, Kevin M., 2002. "Dynamic Ideal Point Estimation via Markov Chain Monte Carlo for the U.S. Supreme Court, 1953–1999," Political Analysis, Cambridge University Press, vol. 10(2), pages 134-153, April.
    4. Chib, Siddhartha, 1998. "Estimation and comparison of multiple change-point models," Journal of Econometrics, Elsevier, vol. 86(2), pages 221-241, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Gary Koop & Simon M. Potter, 2007. "A flexible approach to parametric inference in nonlinear time series models," Staff Reports 285, Federal Reserve Bank of New York.
    2. Bauwens, Luc & Dufays, Arnaud & Rombouts, Jeroen V.K., 2014. "Marginal likelihood for Markov-switching and change-point GARCH models," Journal of Econometrics, Elsevier, vol. 178(P3), pages 508-522.
    3. M. Hashem Pesaran & Davide Pettenuzzo & Allan Timmermann, 2006. "Forecasting Time Series Subject to Multiple Structural Breaks," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 73(4), pages 1057-1084.
    4. Chen, Cathy W.S. & Chan, Jennifer S.K. & So, Mike K.P. & Lee, Kevin K.M., 2011. "Classification in segmented regression problems," Computational Statistics & Data Analysis, Elsevier, vol. 55(7), pages 2276-2287, July.
    5. He, Zhongfang, 2009. "Forecasting output growth by the yield curve: the role of structural breaks," MPRA Paper 28208, University Library of Munich, Germany.
    6. Sims, Christopher A. & Waggoner, Daniel F. & Zha, Tao, 2008. "Methods for inference in large multiple-equation Markov-switching models," Journal of Econometrics, Elsevier, vol. 146(2), pages 255-274, October.
    7. Garth John Holloway, 2020. "Sustainable Land-Use Pathway Ranking and Selection," Sustainability, MDPI, vol. 12(19), pages 1-31, September.
    8. Jong Hee Park, 2010. "Structural Change in U.S. Presidents' Use of Force," American Journal of Political Science, John Wiley & Sons, vol. 54(3), pages 766-782, July.
    9. Sugita, Katsuhiro & 杉田, 勝弘, 2006. "Bayesian Analysis of Dynamic Multivariate Models with Multiple Structural Breaks," Discussion Papers 2006-14, Graduate School of Economics, Hitotsubashi University.
    10. Koop, Gary & Potter, Simon, 2010. "A flexible approach to parametric inference in nonlinear and time varying time series models," Journal of Econometrics, Elsevier, vol. 159(1), pages 134-150, November.
    11. Barnett, Alina & Mumtaz, Haroon & Theodoridis, Konstantinos, 2014. "Forecasting UK GDP growth and inflation under structural change. A comparison of models with time-varying parameters," International Journal of Forecasting, Elsevier, vol. 30(1), pages 129-143.
    12. repec:hal:journl:peer-00732535 is not listed on IDEAS
    13. John Carter Braxton & Kyle F. Herkenhoff & Jonathan Rothbaum & Lawrence Schmidt, 2021. "Changing Income Risk across the US Skill Distribution: Evidence from a Generalized Kalman Filter," Opportunity and Inclusive Growth Institute Working Papers 55, Federal Reserve Bank of Minneapolis.
    14. Takahashi, Makoto & Watanabe, Toshiaki & Omori, Yasuhiro, 2016. "Volatility and quantile forecasts by realized stochastic volatility models with generalized hyperbolic distribution," International Journal of Forecasting, Elsevier, vol. 32(2), pages 437-457.
    15. Bae, Jinho & Nelson, Charles R., 2007. "Earnings growth and the bull market of the 1990s: Is there a case for rational exuberance?," Journal of Macroeconomics, Elsevier, vol. 29(4), pages 690-707, December.
    16. Miranda-Agrippino, Silvia & Ricco, Giovanni, 2018. "Bayesian Vector Autoregressions," The Warwick Economics Research Paper Series (TWERPS) 1159, University of Warwick, Department of Economics.
    17. Hajargasht, Gholamreza & Rao, D.S. Prasada, 2019. "Multilateral index number systems for international price comparisons: Properties, existence and uniqueness," Journal of Mathematical Economics, Elsevier, vol. 83(C), pages 36-47.
    18. John M. Maheu & Stephen Gordon, 2008. "Learning, forecasting and structural breaks," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 23(5), pages 553-583.
    19. Kakamu, Kazuhiko & Yunoue, Hideo & Kuramoto, Takashi, 2014. "Spatial patterns of flypaper effects for local expenditure by policy objective in Japan: A Bayesian approach," Economic Modelling, Elsevier, vol. 37(C), pages 500-506.
    20. Yanwen Wang & Chunhua Wu & Ting Zhu, 2019. "Mobile Hailing Technology and Taxi Driving Behaviors," Marketing Science, INFORMS, vol. 38(5), pages 734-755, September.
    21. Jochmann Markus & Koop Gary, 2015. "Regime-switching cointegration," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 19(1), pages 35-48, February.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:042:i09. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.