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.
    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. 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.
    2. 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.
    3. 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).
    4. 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.
    5. 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.
    6. 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.
    7. Lindeløv, Jonas Kristoffer, 2020. "mcp: An R Package for Regression With Multiple Change Points," OSF Preprints fzqxv, Center for Open Science.
    8. 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.
    9. repec:jss:jstsof:23:i03 is not listed on IDEAS
    10. 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.
    11. 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).
    12. Siliverstovs, Boriss, 2017. "Dissecting models' forecasting performance," Economic Modelling, Elsevier, vol. 67(C), pages 294-299.
    13. 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.
    14. 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).
    15. 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.
    16. 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.
    17. 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.
    18. 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.
    19. 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.
    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. 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.
    2. Zeileis, Achim, 2006. "Implementing a class of structural change tests: An econometric computing approach," Computational Statistics & Data Analysis, Elsevier, vol. 50(11), pages 2987-3008, July.
    3. 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.
    4. 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.
    5. João Sousa Andrade & Adelaide Duarte & Marta Simões, 2011. "Inequality and Growth in Portugal: a time series analysis," GEMF Working Papers 2011-11, GEMF, Faculty of Economics, University of Coimbra.
    6. de Silva, Ashton J & Boymal, Jonathan & Potts, Jason & Thomas, Stuart, 2015. "Does innovation in residential mortgage products explain rising house prices? No," MPRA Paper 62548, University Library of Munich, Germany.
    7. 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).
    8. Paolo Libenzio Brignoli & Alessandro Varacca & Cornelis Gardebroek & Paolo Sckokai, 2024. "Machine learning to predict grains futures prices," Agricultural Economics, International Association of Agricultural Economists, vol. 55(3), pages 479-497, May.
    9. 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.
    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. Bennett Kleinberg & Isabelle Vegt & Paul Gill, 2021. "The temporal evolution of a far-right forum," Journal of Computational Social Science, Springer, vol. 4(1), pages 1-23, May.
    12. Liu, Guanchun & He, Lei & Yue, Yiding & Wang, Jiying, 2014. "The linkage between insurance activity and banking credit: Some evidence from dynamic analysis," The North American Journal of Economics and Finance, Elsevier, vol. 29(C), pages 239-265.
    13. 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.
    14. 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).
    15. 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.
    16. Tighe, Kara & Piggott, Nicholas & Nicholas, Oscar & Mounter, Stuart & Villano, Renato, 2019. "Testing for pre-committed quantities of Australian meat demand," Australian Journal of Agricultural and Resource Economics, Australian Agricultural and Resource Economics Society, vol. 60(2), April.
    17. Kleiber, Christian, 2016. "Structural Change in (Economic) Time Series," Working papers 2016/06, Faculty of Business and Economics - University of Basel.
    18. Sinclair Davidson & Ashton de Silva, 2018. "Did Recent Tobacco Reforms Change the Cigarette Market?," Economic Papers, The Economic Society of Australia, vol. 37(1), pages 55-74, March.
    19. 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.
    20. Gary W. Brester & Kole Swanser & Brett Crosby, 2021. "Adding Weight to a Thinning Live Cattle Market," MSU Staff Papers 310364, Montana State University > Department of Agricultural Economics and Economics.

    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.