IDEAS home Printed from https://ideas.repec.org/a/spr/compst/v36y2021i2d10.1007_s00180-020-01045-4.html
   My bibliography  Save this article

Efficient leave-one-out cross-validation for Bayesian non-factorized normal and Student-t models

Author

Listed:
  • Paul-Christian Bürkner

    (Aalto University)

  • Jonah Gabry

    (Columbia University)

  • Aki Vehtari

    (Aalto University)

Abstract

Cross-validation can be used to measure a model’s predictive accuracy for the purpose of model comparison, averaging, or selection. Standard leave-one-out cross-validation (LOO-CV) requires that the observation model can be factorized into simple terms, but a lot of important models in temporal and spatial statistics do not have this property or are inefficient or unstable when forced into a factorized form. We derive how to efficiently compute and validate both exact and approximate LOO-CV for any Bayesian non-factorized model with a multivariate normal or Student- $$t$$ t distribution on the outcome values. We demonstrate the method using lagged simultaneously autoregressive (SAR) models as a case study.

Suggested Citation

  • Paul-Christian Bürkner & Jonah Gabry & Aki Vehtari, 2021. "Efficient leave-one-out cross-validation for Bayesian non-factorized normal and Student-t models," Computational Statistics, Springer, vol. 36(2), pages 1243-1261, June.
  • Handle: RePEc:spr:compst:v:36:y:2021:i:2:d:10.1007_s00180-020-01045-4
    DOI: 10.1007/s00180-020-01045-4
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s00180-020-01045-4
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s00180-020-01045-4?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Carpenter, Bob & Gelman, Andrew & Hoffman, Matthew D. & Lee, Daniel & Goodrich, Ben & Betancourt, Michael & Brubaker, Marcus & Guo, Jiqiang & Li, Peter & Riddell, Allen, 2017. "Stan: A Probabilistic Programming Language," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 76(i01).
    2. Bivand, Roger & Piras, Gianfranco, 2015. "Comparing Implementations of Estimation Methods for Spatial Econometrics," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i18).
    3. Michel Goulard & Thibault Laurent & Christine Thomas-Agnan, 2017. "About predictions in spatial autoregressive models: optimal and almost optimal strategies," Spatial Economic Analysis, Taylor & Francis Journals, vol. 12(2-3), pages 304-325, July.
    4. Solmaria Halleck Vega & J. Paul Elhorst, 2015. "The Slx Model," Journal of Regional Science, Wiley Blackwell, vol. 55(3), pages 339-363, June.
    5. Ando, Tomohiro & Tsay, Ruey, 2010. "Predictive likelihood for Bayesian model selection and averaging," International Journal of Forecasting, Elsevier, vol. 26(4), pages 744-763, October.
    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. Kuschnig, Nikolas, 2021. "Bayesian Spatial Econometrics and the Need for Software," Department of Economics Working Paper Series 318, WU Vienna University of Economics and Business.
    2. Thomas Suesse, 2018. "Estimation of spatial autoregressive models with measurement error for large data sets," Computational Statistics, Springer, vol. 33(4), pages 1627-1648, December.
    3. Nikolas Kuschnig, 2022. "Bayesian spatial econometrics: a software architecture," Journal of Spatial Econometrics, Springer, vol. 3(1), pages 1-25, December.
    4. Demidova, Olga, 2021. "Methods of spatial econometrics and evaluation of government programs effectiveness," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 64, pages 107-134.
    5. Wu, Wenchao, 2017. "Agglomeration Economy and Input-output Linkage: Evidence from the Entry of the Agro-food Industry in China," Japanese Journal of Agricultural Economics (formerly Japanese Journal of Rural Economics), Agricultural Economics Society of Japan (AESJ), vol. 19.
    6. Roger Bivand & Giovanni Millo & Gianfranco Piras, 2021. "A Review of Software for Spatial Econometrics in R," Mathematics, MDPI, vol. 9(11), pages 1-40, June.
    7. Virgilio Gómez-Rubio & Roger S. Bivand & Håvard Rue, 2020. "Bayesian Model Averaging with the Integrated Nested Laplace Approximation," Econometrics, MDPI, vol. 8(2), pages 1-15, June.
    8. Rüttenauer, Tobias & Best, Henning, 2021. "Consistent Inequality across Germany? Exploring Spatial Heterogeneity in the Unequal Distribution of Air Pollution," SocArXiv 5tavs, Center for Open Science.
    9. Alexandra Fedorets & Franziska Lottmann & Michael Stops, 2019. "Job matching in connected regional and occupational labour markets," Regional Studies, Taylor & Francis Journals, vol. 53(8), pages 1085-1098, August.
    10. Shuai Shi & Kathy Pain, 2020. "Investigating China’s Mid-Yangtze River economic growth region using a spatial network growth model," Urban Studies, Urban Studies Journal Limited, vol. 57(14), pages 2973-2993, November.
    11. Francis,David C. & Kubinec ,Robert, 2022. "Beyond Political Connections : A Measurement Model Approach to Estimating Firm-levelPolitical Influence in 41 Economies," Policy Research Working Paper Series 10119, The World Bank.
    12. Guohuan Su & Adam Mertel & Sébastien Brosse & Justin M. Calabrese, 2023. "Species invasiveness and community invasibility of North American freshwater fish fauna revealed via trait-based analysis," Nature Communications, Nature, vol. 14(1), pages 1-12, December.
    13. Martinovici, A., 2019. "Revealing attention - how eye movements predict brand choice and moment of choice," Other publications TiSEM 7dca38a5-9f78-4aee-bd81-c, Tilburg University, School of Economics and Management.
    14. Yongping Bao & Ludwig Danwitz & Fabian Dvorak & Sebastian Fehrler & Lars Hornuf & Hsuan Yu Lin & Bettina von Helversen, 2022. "Similarity and Consistency in Algorithm-Guided Exploration," CESifo Working Paper Series 10188, CESifo.
    15. Heinrich, Torsten & Yang, Jangho & Dai, Shuanping, 2020. "Growth, development, and structural change at the firm-level: The example of the PR China," MPRA Paper 105011, University Library of Munich, Germany.
    16. van Kesteren Erik-Jan & Bergkamp Tom, 2023. "Bayesian analysis of Formula One race results: disentangling driver skill and constructor advantage," Journal of Quantitative Analysis in Sports, De Gruyter, vol. 19(4), pages 273-293, December.
    17. Xin Xu & Yang Lu & Yupeng Zhou & Zhiguo Fu & Yanjie Fu & Minghao Yin, 2021. "An Information-Explainable Random Walk Based Unsupervised Network Representation Learning Framework on Node Classification Tasks," Mathematics, MDPI, vol. 9(15), pages 1-14, July.
    18. Han, Feng & Ke, Shanzi, 2016. "The effects of factor proximity and market potential on urban manufacturing output," China Economic Review, Elsevier, vol. 39(C), pages 31-45.
    19. Xiaoyue Xi & Simon E. F. Spencer & Matthew Hall & M. Kate Grabowski & Joseph Kagaayi & Oliver Ratmann & Rakai Health Sciences Program and PANGEA‐HIV, 2022. "Inferring the sources of HIV infection in Africa from deep‐sequence data with semi‐parametric Bayesian Poisson flow models," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 71(3), pages 517-540, June.
    20. Deniz Aksoy & David Carlson, 2022. "Electoral support and militants’ targeting strategies," Journal of Peace Research, Peace Research Institute Oslo, vol. 59(2), pages 229-241, March.

    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:spr:compst:v:36:y:2021:i:2:d:10.1007_s00180-020-01045-4. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.