IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0230101.html
   My bibliography  Save this article

Approximating multivariate posterior distribution functions from Monte Carlo samples for sequential Bayesian inference

Author

Listed:
  • Bram Thijssen
  • Lodewyk F A Wessels

Abstract

An important feature of Bayesian statistics is the opportunity to do sequential inference: the posterior distribution obtained after seeing a dataset can be used as prior for a second inference. However, when Monte Carlo sampling methods are used for inference, we only have a set of samples from the posterior distribution. To do sequential inference, we then either have to evaluate the second posterior at only these locations and reweight the samples accordingly, or we can estimate a functional description of the posterior probability distribution from the samples and use that as prior for the second inference. Here, we investigated to what extent we can obtain an accurate joint posterior from two datasets if the inference is done sequentially rather than jointly, under the condition that each inference step is done using Monte Carlo sampling. To test this, we evaluated the accuracy of kernel density estimates, Gaussian mixtures, mixtures of factor analyzers, vine copulas and Gaussian processes in approximating posterior distributions, and then tested whether these approximations can be used in sequential inference. In low dimensionality, Gaussian processes are more accurate, whereas in higher dimensionality Gaussian mixtures, mixtures of factor analyzers or vine copulas perform better. In our test cases of sequential inference, using posterior approximations gives more accurate results than direct sample reweighting, but joint inference is still preferable over sequential inference whenever possible. Since the performance is case-specific, we provide an R package mvdens with a unified interface for the density approximation methods.

Suggested Citation

  • Bram Thijssen & Lodewyk F A Wessels, 2020. "Approximating multivariate posterior distribution functions from Monte Carlo samples for sequential Bayesian inference," PLOS ONE, Public Library of Science, vol. 15(3), pages 1-25, March.
  • Handle: RePEc:plo:pone00:0230101
    DOI: 10.1371/journal.pone.0230101
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0230101
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0230101&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0230101?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. Lee, Gyemin & Scott, Clayton, 2012. "EM algorithms for multivariate Gaussian mixture models with truncated and censored data," Computational Statistics & Data Analysis, Elsevier, vol. 56(9), pages 2816-2829.
    2. MacDonald, A. & Scarrott, C.J. & Lee, D. & Darlow, B. & Reale, M. & Russell, G., 2011. "A flexible extreme value mixture model," Computational Statistics & Data Analysis, Elsevier, vol. 55(6), pages 2137-2157, June.
    3. Pierre Del Moral & Arnaud Doucet & Ajay Jasra, 2006. "Sequential Monte Carlo samplers," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 68(3), pages 411-436, June.
    4. Dißmann, J. & Brechmann, E.C. & Czado, C. & Kurowicka, D., 2013. "Selecting and estimating regular vine copulae and application to financial returns," Computational Statistics & Data Analysis, Elsevier, vol. 59(C), pages 52-69.
    5. Duong, Tarn, 2007. "ks: Kernel Density Estimation and Kernel Discriminant Analysis for Multivariate Data in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 21(i07).
    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. Nguyen, Hoang & Virbickaitė, Audronė, 2023. "Modeling stock-oil co-dependence with Dynamic Stochastic MIDAS Copula models," Energy Economics, Elsevier, vol. 124(C).
    2. Zhang, Yi & Cheng, Chuntian & Cai, Huaxiang & Jin, Xiaoyu & Jia, Zebin & Wu, Xinyu & Su, Huaying & Yang, Tiantian, 2022. "Long-term stochastic model predictive control and efficiency assessment for hydro-wind-solar renewable energy supply system," Applied Energy, Elsevier, vol. 316(C).
    3. Lee, J. & Fan, Y. & Sisson, S.A., 2015. "Bayesian threshold selection for extremal models using measures of surprise," Computational Statistics & Data Analysis, Elsevier, vol. 85(C), pages 84-99.
    4. F. Durante & A. Gatto & F. Ravazzolo, 2024. "Understanding relationships with the Aggregate Zonal Imbalance using copulas," Statistical Methods & Applications, Springer;Società Italiana di Statistica, vol. 33(2), pages 513-554, April.
    5. Fátima Brilhante, M. & Ivette Gomes, M. & Pestana, Dinis, 2013. "A simple generalisation of the Hill estimator," Computational Statistics & Data Analysis, Elsevier, vol. 57(1), pages 518-535.
    6. Wang, Mengjiao & Liu, Jianxu & Yang, Bing, 2024. "Does the strength of the US dollar affect the interdependence among currency exchange rates of RCEP and CPTPP countries?," Finance Research Letters, Elsevier, vol. 62(PA).
    7. James Martin & Ajay Jasra & Emma McCoy, 2013. "Inference for a class of partially observed point process models," Annals of the Institute of Statistical Mathematics, Springer;The Institute of Statistical Mathematics, vol. 65(3), pages 413-437, June.
    8. Suqin Ge & João Macieira, 2024. "Unobserved Worker Quality and Inter‐Industry Wage Differentials," Journal of Industrial Economics, Wiley Blackwell, vol. 72(1), pages 459-515, March.
    9. Nagler, Thomas & Czado, Claudia, 2016. "Evading the curse of dimensionality in nonparametric density estimation with simplified vine copulas," Journal of Multivariate Analysis, Elsevier, vol. 151(C), pages 69-89.
    10. Benoumechiara Nazih & Bousquet Nicolas & Michel Bertrand & Saint-Pierre Philippe, 2020. "Detecting and modeling critical dependence structures between random inputs of computer models," Dependence Modeling, De Gruyter, vol. 8(1), pages 263-297, January.
    11. Steffen Nico & Dickhaus Thorsten, 2020. "Optimizing effective numbers of tests by vine copula modeling," Dependence Modeling, De Gruyter, vol. 8(1), pages 172-185, January.
    12. D. J. Rasmussen & Scott Kulp & Robert E. Kopp & Michael Oppenheimer & Benjamin H. Strauss, 2022. "Popular extreme sea level metrics can better communicate impacts," Climatic Change, Springer, vol. 170(3), pages 1-17, February.
    13. Lee Anthony & Caron Francois & Doucet Arnaud & Holmes Chris, 2012. "Bayesian Sparsity-Path-Analysis of Genetic Association Signal using Generalized t Priors," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 11(2), pages 1-31, January.
    14. Michele Bavaro & Federico Tullio, 2023. "Intergenerational mobility measurement with latent transition matrices," The Journal of Economic Inequality, Springer;Society for the Study of Economic Inequality, vol. 21(1), pages 25-45, March.
    15. Talbi, Marwa & Bedoui, Rihab & de Peretti, Christian & Belkacem, Lotfi, 2021. "Is the role of precious metals as precious as they are? A vine copula and BiVaR approaches," Resources Policy, Elsevier, vol. 73(C).
    16. Song, Yupeng & Basu, Biswajit & Zhang, Zili & Sørensen, John Dalsgaard & Li, Jie & Chen, Jianbing, 2021. "Dynamic reliability analysis of a floating offshore wind turbine under wind-wave joint excitations via probability density evolution method," Renewable Energy, Elsevier, vol. 168(C), pages 991-1014.
    17. Nagler Thomas & Schellhase Christian & Czado Claudia, 2017. "Nonparametric estimation of simplified vine copula models: comparison of methods," Dependence Modeling, De Gruyter, vol. 5(1), pages 99-120, January.
    18. Naoki Awaya & Yasuhiro Omori, 2021. "Particle Rolling MCMC with Double-Block Sampling ," CIRJE F-Series CIRJE-F-1175, CIRJE, Faculty of Economics, University of Tokyo.
    19. Rezitis, Anthony N. & Rokopanos, Andreas, 2019. "Impact of trade liberalisation on dairy market price co-movements between the EU, Oceania, and the United States," Australian Journal of Agricultural and Resource Economics, Australian Agricultural and Resource Economics Society, vol. 63(3), July.
    20. Brechmann, Eike & Czado, Claudia & Paterlini, Sandra, 2014. "Flexible dependence modeling of operational risk losses and its impact on total capital requirements," Journal of Banking & Finance, Elsevier, vol. 40(C), pages 271-285.

    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:plo:pone00:0230101. 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: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    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.