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

brms: An R Package for Bayesian Multilevel Models Using Stan

Author

Listed:
  • Bürkner, Paul-Christian

Abstract

The brms package implements Bayesian multilevel models in R using the probabilistic programming language Stan. A wide range of distributions and link functions are supported, allowing users to fit - among others - linear, robust linear, binomial, Poisson, survival, ordinal, zero-inflated, hurdle, and even non-linear models all in a multilevel context. Further modeling options include autocorrelation of the response variable, user defined covariance structures, censored data, as well as meta-analytic standard errors. Prior specifications are flexible and explicitly encourage users to apply prior distributions that actually reflect their beliefs. In addition, model fit can easily be assessed and compared with the Watanabe-Akaike information criterion and leave-one-out cross-validation.

Suggested Citation

  • Bürkner, Paul-Christian, 2017. "brms: An R Package for Bayesian Multilevel Models Using Stan," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 80(i01).
  • Handle: RePEc:jss:jstsof:v:080:i01
    DOI: http://hdl.handle.net/10.18637/jss.v080.i01
    as

    Download full text from publisher

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v080i01/brms_1.9.0.tar.gz
    Download Restriction: no

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

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v080i01/v80i01-efficiency.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v080.i01?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. Simon N. Wood, 2004. "Stable and Efficient Multiple Smoothing Parameter Estimation for Generalized Additive Models," Journal of the American Statistical Association, American Statistical Association, vol. 99, pages 673-686, January.
    2. Yee, Thomas W., 2010. "The VGAM Package for Categorical Data Analysis," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 32(i10).
    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. Farjam, Mike & Nikolaychuk, Olexandr & Bravo, Giangiacomo, 2019. "Experimental evidence of an environmental attitude-behavior gap in high-cost situations," Ecological Economics, Elsevier, vol. 166(C), pages 1-1.
    2. Eline Adrianne Smit & Andrew J Milne & Roger T Dean & Gabrielle Weidemann, 2019. "Perception of affect in unfamiliar musical chords," PLOS ONE, Public Library of Science, vol. 14(6), pages 1-28, June.
    3. Strauss, Ilan & Yang, Jangho, 2020. "Corporate Secular Stagnation: Empirical Evidence on the Advanced Economy Investment Slowdown," INET Oxford Working Papers 2019-16, Institute for New Economic Thinking at the Oxford Martin School, University of Oxford.
    4. Kubinec, Robert & Barceló, Joan & Goldszmidt, Rafael & Grujic, Vanja & Model, Timothy & Schenk, Caress & Cheng, Cindy & Hale, Thomas & Hartnett, Allison Spencer & Messerschmidt, Luca, 2021. "Statistically Validated Indices for COVID-19 Public Health Policies," SocArXiv rn9xk, Center for Open Science.
    5. Miranda Dally & Jaime Butler-Dawson & Alex Cruz & Lyndsay Krisher & Richard J Johnson & Claudia Asensio & W Daniel Pilloni & Edwin J Asturias & Lee S Newman, 2020. "Longitudinal trends in renal function among first time sugarcane harvesters in Guatemala," PLOS ONE, Public Library of Science, vol. 15(3), pages 1-11, March.
    6. Elsner, James B. & Schroder, Zoe, 2019. "Tornado damage ratings estimated with cumulative logistic regression," Earth Arxiv k9wv6, Center for Open Science.
    7. Lieke L F van Lieshout & Iris J Traast & Floris P de Lange & Roshan Cools, 2021. "Curiosity or savouring? Information seeking is modulated by both uncertainty and valence," PLOS ONE, Public Library of Science, vol. 16(9), pages 1-19, September.
    8. Maxim Ananyev, 2019. "Political Economy of Cross-Border Income Shifting: A Protection Racket Approach," Melbourne Institute Working Paper Series wp2019n15, Melbourne Institute of Applied Economic and Social Research, The University of Melbourne.
    9. Joshua P White & Simon Dennis & Martin Tomko & Jessica Bell & Stephan Winter, 2021. "Paths to social licence for tracking-data analytics in university research and services," PLOS ONE, Public Library of Science, vol. 16(5), pages 1-19, May.

    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. Gerhard Tutz & Moritz Berger, 2022. "Sparser Ordinal Regression Models Based on Parametric and Additive Location‐Shift Approaches," International Statistical Review, International Statistical Institute, vol. 90(2), pages 306-327, August.
    2. Marra, Giampiero & Radice, Rosalba, 2013. "Estimation of a regression spline sample selection model," Computational Statistics & Data Analysis, Elsevier, vol. 61(C), pages 158-173.
    3. D'Alberto, R. & Targetti, S. & Schaller, L. & Bartolini, F. & Eichhorn, T. & Haltia, E. & Harmanny, K. & Le Gloux, F. & Nikolov, D. & Runge, T. & Vergamini, D. & Viaggi, D., 2024. "A European perspective on acceptability of innovative agri-environment-climate contract solutions," Land Use Policy, Elsevier, vol. 141(C).
    4. Christopher Muller & Daniel Schrage, 2014. "Mass Imprisonment and Trust in the Law," The ANNALS of the American Academy of Political and Social Science, , vol. 651(1), pages 139-158, January.
    5. Fiaschi, Davide & Lavezzi, Andrea Mario, 2007. "Nonlinear economic growth: Some theory and cross-country evidence," Journal of Development Economics, Elsevier, vol. 84(1), pages 271-290, September.
    6. Jiang, Xianfeng & Packer, Frank, 2019. "Credit ratings of Chinese firms by domestic and global agencies: Assessing the determinants and impact," Journal of Banking & Finance, Elsevier, vol. 105(C), pages 178-193.
    7. Xi Liu & Yiqiao Jin & Yifan Yang & Xiaoqing Pan, 2023. "Properties and Estimations of a Multivariate Folded Normal Distribution," Mathematics, MDPI, vol. 11(23), pages 1-15, December.
    8. Alla A. Petukhina & Raphael C. G. Reule & Wolfgang Karl Härdle, 2021. "Rise of the machines? Intraday high-frequency trading patterns of cryptocurrencies," The European Journal of Finance, Taylor & Francis Journals, vol. 27(1-2), pages 8-30, January.
    9. Longhi, Christian & Musolesi, Antonio & Baumont, Catherine, 2014. "Modeling structural change in the European metropolitan areas during the process of economic integration," Economic Modelling, Elsevier, vol. 37(C), pages 395-407.
    10. Koji Karato & Oleksandr Movshuk & Chihiro Shimizu, 2015. "Semiparametric Model of Hedonic Housing Prices in Japan," Asian Economic Journal, East Asian Economic Association, vol. 29(4), pages 325-345, December.
    11. Strasak, Alexander M. & Umlauf, Nikolaus & Pfeiffer, Ruth M. & Lang, Stefan, 2011. "Comparing penalized splines and fractional polynomials for flexible modelling of the effects of continuous predictor variables," Computational Statistics & Data Analysis, Elsevier, vol. 55(4), pages 1540-1551, April.
    12. E. Zanini & E. Eastoe & M. J. Jones & D. Randell & P. Jonathan, 2020. "Flexible covariate representations for extremes," Environmetrics, John Wiley & Sons, Ltd., vol. 31(5), August.
    13. Daniel Melser & Robert J. Hill, 2019. "Residential Real Estate, Risk, Return and Diversification: Some Empirical Evidence," The Journal of Real Estate Finance and Economics, Springer, vol. 59(1), pages 111-146, July.
    14. Michail Tsagris & Christina Beneki & Hossein Hassani, 2014. "On the Folded Normal Distribution," Mathematics, MDPI, vol. 2(1), pages 1-17, February.
    15. Shuai Shao & Göran Kauermann, 2020. "Understanding price elasticity for airline ancillary services," Journal of Revenue and Pricing Management, Palgrave Macmillan, vol. 19(1), pages 74-82, February.
    16. Maciej Berȩsewicz & Dagmara Nikulin, 2021. "Estimation of the size of informal employment based on administrative records with non‐ignorable selection mechanism," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 70(3), pages 667-690, June.
    17. Shin Ji-Hyung & Infante-Rivard Claire & McNeney Brad & Graham Jinko, 2014. "A data-smoothing approach to explore and test gene-environment interaction in case-parent trios," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 13(2), pages 159-171, April.
    18. Thomas Yee & Alfian Hadi, 2014. "Row–column interaction models, with an R implementation," Computational Statistics, Springer, vol. 29(6), pages 1427-1445, December.
    19. Andrea Mario Lavezzi & Davide Fiaschi, 2004. "Nonlinear Growth and the Productivity Slowdown," Computing in Economics and Finance 2004 162, Society for Computational Economics.
    20. Ioannis Kontoyiannis & Lambros Mertzanis & Athina Panotopoulou & Ioannis Papageorgiou & Maria Skoularidou, 2022. "Bayesian context trees: Modelling and exact inference for discrete time series," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 84(4), pages 1287-1323, September.

    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:080:i01. 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.