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

bcp: An R Package for Performing a Bayesian Analysis of Change Point Problems

Author

Listed:
  • Erdman, Chandra
  • Emerson, John W.

Abstract

Barry and Hartigan (1993) propose a Bayesian analysis for change point problems. We provide a brief summary of selected work on change point problems, both preceding and following Barry and Hartigan. We outline Barry and Hartigan's approach and offer a new R package, bcp (Erdman and Emerson 2007), implementing their analysis. We discuss two frequentist alternatives to the Bayesian analysis, the recursive circular binary segmentation algorithm (Olshen and Venkatraman 2004) and the dynamic programming algorithm of (Bai and Perron 2003). We illustrate the application of bcp with economic and microarray data from the literature.

Suggested Citation

  • Erdman, Chandra & Emerson, John W., 2007. "bcp: An R Package for Performing a Bayesian Analysis of Change Point Problems," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 23(i03).
  • Handle: RePEc:jss:jstsof:v:023:i03
    DOI: http://hdl.handle.net/10.18637/jss.v023.i03
    as

    Download full text from publisher

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v023i03/bcp_1.8.4.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v023i03/v23i03.R.zip
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v023.i03?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. Zeileis, Achim & Leisch, Friedrich & Hornik, Kurt & Kleiber, Christian, 2002. "strucchange: An R Package for Testing for Structural Change in Linear Regression Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 7(i02).
    2. Zeileis, Achim & Kleiber, Christian & Kramer, Walter & Hornik, Kurt, 2003. "Testing and dating of structural changes in practice," Computational Statistics & Data Analysis, Elsevier, vol. 44(1-2), pages 109-123, October.
    3. Loschi, R.H. & Cruz, F.R.B., 2005. "Extension to the product partition model: computing the probability of a change," Computational Statistics & Data Analysis, Elsevier, vol. 48(2), pages 255-268, February.
    4. Garcia, Rene & Perron, Pierre, 1996. "An Analysis of the Real Interest Rate under Regime Shifts," The Review of Economics and Statistics, MIT Press, vol. 78(1), pages 111-125, February.
    5. Jushan Bai & Pierre Perron, 2003. "Computation and analysis of multiple structural change models," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 18(1), pages 1-22.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Daniel Mantilla-García & Vijay Vaidyanathan, 2017. "Predicting stock returns in the presence of uncertain structural changes and sample noise," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 31(3), pages 357-391, August.
    2. Ross, Gordon J., 2015. "Parametric and Nonparametric Sequential Change Detection in R: The cpm Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 66(i03).
    3. Siliverstovs, Boriss, 2017. "Dissecting models' forecasting performance," Economic Modelling, Elsevier, vol. 67(C), pages 294-299.
    4. Plakandaras, Vasilios & Gupta, Rangan & Karmakar, Sayar & Wohar, Mark E., 2023. "Are real interest rates a monetary phenomenon? Evidence from 700 years of data," Research in International Business and Finance, Elsevier, vol. 66(C).
    5. Chai, Jian & Xing, Li-Min & Zhou, Xiao-Yang & Zhang, Zhe George & Li, Jie-Xun, 2018. "Forecasting the WTI crude oil price by a hybrid-refined method," Energy Economics, Elsevier, vol. 71(C), pages 114-127.
    6. C. Berrett & B. Gurney & D. Arthur & T. Moon & G. P. Williams, 2023. "A Bayesian change point modeling approach to identify local temperature changes related to urbanization," Environmetrics, John Wiley & Sons, Ltd., vol. 34(3), May.
    7. Sonali Das & Rangan Gupta & Patrick Kanda & Monique Reid & Christian Tipoy & Mulatu Zerihun, 2014. "Real interest rate persistence in South Africa: evidence and implications," Economic Change and Restructuring, Springer, vol. 47(1), pages 41-62, February.
    8. Charakopoulos, Avraam & Karakasidis, Theodoros, 2022. "Backward Degree a new index for online and offline change point detection based on complex network analysis," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 604(C).
    9. Gregor Semieniuk & Ellis Scharfenaker, 2014. "A Bayesian Latent Variable Mixture Model for Filtering Firm Profit Rate," SCEPA working paper series. 2014-1, Schwartz Center for Economic Policy Analysis (SCEPA), The New School.
    10. Stein Olav Skrøvseth & Johan Gustav Bellika & Fred Godtliebsen, 2012. "Causality in Scale Space as an Approach to Change Detection," PLOS ONE, Public Library of Science, vol. 7(12), pages 1-14, December.
    11. Gao Wang & Abhishek Sarkar & Peter Carbonetto & Matthew Stephens, 2020. "A simple new approach to variable selection in regression, with application to genetic fine mapping," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 82(5), pages 1273-1300, December.
    12. Lindeløv, Jonas Kristoffer, 2020. "mcp: An R Package for Regression With Multiple Change Points," OSF Preprints fzqxv, Center for Open Science.
    13. Hinoveanu, Laurentiu C. & Leisen, Fabrizio & Villa, Cristiano, 2019. "Bayesian loss-based approach to change point analysis," Computational Statistics & Data Analysis, Elsevier, vol. 129(C), pages 61-78.
    14. repec:jss:jstsof:23:i03 is not listed on IDEAS
    15. Ricardo C. Pedroso & Rosangela H. Loschi & Fernando Andrés Quintana, 2023. "Multipartition model for multiple change point identification," TEST: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 32(2), pages 759-783, June.
    16. Bian, Zilin & Zuo, Fan & Gao, Jingqin & Chen, Yanyan & Pavuluri Venkata, Sai Sarath Chandra & Duran Bernardes, Suzana & Ozbay, Kaan & Ban, Xuegang (Jeff) & Wang, Jingxing, 2021. "Time lag effects of COVID-19 policies on transportation systems: A comparative study of New York City and Seattle," Transportation Research Part A: Policy and Practice, Elsevier, vol. 145(C), pages 269-283.
    17. Indrė Gečaitė & Egidijus Rimkus, 2023. "Wintertime cold and warm spells in the eastern part of the Baltic Sea region," Natural Hazards: Journal of the International Society for the Prevention and Mitigation of Natural Hazards, Springer;International Society for the Prevention and Mitigation of Natural Hazards, vol. 115(3), pages 2435-2456, February.
    18. Nora M. Villanueva & Marta Sestelo & Miguel M. Fonseca & Javier Roca-Pardiñas, 2023. "seq2R: An R Package to Detect Change Points in DNA Sequences," Mathematics, MDPI, vol. 11(10), pages 1-20, May.
    19. Aijing Zhang & Chi Zhang & Guobin Fu & Bende Wang & Zhenxin Bao & Hongxing Zheng, 2012. "Assessments of Impacts of Climate Change and Human Activities on Runoff with SWAT for the Huifa River Basin, Northeast China," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 26(8), pages 2199-2217, June.
    20. Addona Vittorio & Yates Philip A, 2010. "A Closer Look at the Relative Age Effect in the National Hockey League," Journal of Quantitative Analysis in Sports, De Gruyter, vol. 6(4), pages 1-19, October.
    21. Cavanaugh, Grant & Penick, Michael, 2018. "The lifecycle of exchange-traded derivatives," Journal of Commodity Markets, Elsevier, vol. 10(C), pages 47-68.

    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. Aurelio Fernández Bariviera & M. Belén Guercio & Lisana B. Martinez, 2014. "Informational Efficiency in Distressed Markets: The Case of European Corporate Bonds," The Economic and Social Review, Economic and Social Studies, vol. 45(3), pages 349-369.
    2. repec:jss:jstsof:23:i03 is not listed on IDEAS
    3. Patrik Nosil & Zachariah Gompert & Daniel J. Funk, 2024. "Divergent dynamics of sexual and habitat isolation at the transition between stick insect populations and species," Nature Communications, Nature, vol. 15(1), pages 1-15, December.
    4. James Nolan & Zoe Laulederkind, 2022. "Plane to See? Empirical Analysis of the 1999–2006 Air Cargo Cartel," Advances in Airline Economics, in: The International Air Cargo Industry, volume 9, pages 241-262, Emerald Group Publishing Limited.
    5. Ashok Chanabasangouda Patil & Shailesh Rastogi, 2020. "Multifractal Analysis of Market Efficiency across Structural Breaks: Implications for the Adaptive Market Hypothesis," JRFM, MDPI, vol. 13(10), pages 1-18, October.
    6. DIMA, Bogdan & DIMA, Ştefana Maria & IOAN, Roxana, 2021. "Remarks on the behaviour of financial market efficiency during the COVID-19 pandemic. The case of VIX," Finance Research Letters, Elsevier, vol. 43(C).
    7. Abhijit Sharma & Kelvin G Balcombe & Iain M Fraser, 2009. "Non-renewable resource prices: Structural breaks and long term trends," Economics Bulletin, AccessEcon, vol. 29(2), pages 805-819.
    8. Venkata Jandhyala & Stergios Fotopoulos & Ian MacNeill & Pengyu Liu, 2013. "Inference for single and multiple change-points in time series," Journal of Time Series Analysis, Wiley Blackwell, vol. 34(4), pages 423-446, July.
    9. Ricardo C. Pedroso & Rosangela H. Loschi & Fernando Andrés Quintana, 2023. "Multipartition model for multiple change point identification," TEST: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 32(2), pages 759-783, June.
    10. Fabio Clementi & Marco Gallegati & Mauro Gallegati, 2015. "Growth and Cycles of the Italian Economy Since 1861: The New Evidence," Italian Economic Journal: A Continuation of Rivista Italiana degli Economisti and Giornale degli Economisti, Springer;Società Italiana degli Economisti (Italian Economic Association), vol. 1(1), pages 25-59, March.
    11. F. Peters & J. P. Mackenbach & W. J. Nusselder, 2016. "Does the Impact of the Tobacco Epidemic Explain Structural Changes in the Decline of Mortality?," European Journal of Population, Springer;European Association for Population Studies, vol. 32(5), pages 687-702, December.
    12. Pouliot, Sébastien, 2012. "On the Economics of Adulteration in Food Imports: Application to US Fish and Seafood Imports," Working Papers 148596, Structure and Performance of Agriculture and Agri-products Industry (SPAA).
    13. Christos Katris & Manolis G. Kavussanos, 2021. "Time series forecasting methods for the Baltic dry index," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(8), pages 1540-1565, December.
    14. Kleiber, Christian, 2016. "Structural Change in (Economic) Time Series," Working papers 2016/06, Faculty of Business and Economics - University of Basel.
    15. Iraj Daizadeh, 2020. "Trademark filings and patent application count time series are structurally near-identical and cointegrated: Implications for studies in innovation," Papers 2012.10400, arXiv.org.
    16. Camilo Alberto Cárdenas-Hurtado & María Alejandra Hernández-Montes, 2019. "Understanding the Consumer Confidence Index in Colombia: A structural FAVAR analysis," Borradores de Economia 1063, Banco de la Republica de Colombia.
    17. Zeileis, Achim & Shah, Ajay & Patnaik, Ila, 2010. "Testing, monitoring, and dating structural changes in exchange rate regimes," Computational Statistics & Data Analysis, Elsevier, vol. 54(6), pages 1696-1706, June.
    18. Eskandar Elmarzougui & Bruno Larue, 2013. "On the Evolving Relationship Between Corn and Oil Prices," Agribusiness, John Wiley & Sons, Ltd., vol. 29(3), pages 344-360, June.
    19. Bogdan Dima & Ștefana Maria Dima, 2024. "The non-linear impact of monetary policy on shifts in economic policy uncertainty: evidence from the United States of America," Empirica, Springer;Austrian Institute for Economic Research;Austrian Economic Association, vol. 51(3), pages 755-781, August.
    20. Dean Fantazzini, 2014. "Nowcasting and Forecasting the Monthly Food Stamps Data in the US Using Online Search Data," PLOS ONE, Public Library of Science, vol. 9(11), pages 1-27, November.
    21. Brittle, Shane, 2009. "Ricardian Equivalence and the Efficacy of Fiscal Policy in Australia," Economics Working Papers wp09-10, School of Economics, University of Wollongong, NSW, Australia.

    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:023:i03. 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.