Methods in Ecology and EvolutionAnimal Behavior & CognitionPeer-reviewed journal article
STbayes: An R package for creating, fitting and understanding Bayesian models of social transmission
Abstract
O_LIA critical consequence of joining social groups is the possibility of social transmission of information related to novel behaviours or resources. Network-based diffusion analysis (NBDA) has emerged as a leading frequentist framework for inferring and quantifying social transmission, particularly in non-human animal populations. C_LIO_LINBDA has been extended several times to account for multiple diffusions, multiple networks, individual-level variables, and complex transmission functions. Bayesian versions of NBDA have been proposed before, although these implementations have seen limited usage and have not kept pace with the evolving ecosystem of Bayesian methods. There is not yet a user-friendly package to implement a Bayesian NBDA. C_LIO_LIHere, we present a unified framework for performing Bayesian analysis of social transmission using NBDA-type models, implemented in the widely used Stan programming language. We provide a user-friendly R package "STbayes" (ST: social transmission) for other researchers to easily use this framework. STbayes accepts user-formatted data, but can also import data directly from the existing NBDA R package. Based on the data users provide, STbayes automatically generates multi-network, multi-diffusion models that allow for covariates that may influence transmission, and varying (random) effects. C_LIO_LIUsing simulated data, we demonstrate that this model can accurately differentiate the relative contribution of individual and social learning in the spread of information through networked populations. We illustrate how incorporating upstream uncertainty about the relationships between individuals can improve model fit. Our framework can be used to infer complex transmission rules, and we describe a numerically stable parameterization of frequency-dependent transmission. Finally, we introduce support for dynamic transmission weights and a "high-resolution" data mode, which allows users to make use of fine-scale data collected by contemporary automated tracking methods. These extensions increase the set of contexts that this type of model may be used for. C_LI
- Citations
- 2
- FWCI
- 12.99
- Field percentile
- top 1%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- BISoN: A Bayesian Framework for Inference of Social Networks
J. D. A. Hart, M. N. Weiss, … L. J. N. Brent·bioRxiv·Dec 20, 2021
- Modelling human and non-human animal network data in R using STRAND
C. T. Ross, R. McElreath, D. Redhead·bioRxiv·May 13, 2022
- A Bayesian model selection approach to mediation analysis
Wesley L. Crouse, Gregory R. Keele, … William S. J. Valdar·PLoS GeneticsPeer-reviewed·May 9, 2022
- nosoi: a stochastic agent-based transmission chain simulation framework in R
S. Lequime, P. Bastide, … G. Baele·bioRxiv·Mar 3, 2020
- Analysis of sparse animal social networks
Helen K. Mylne, Jackie Abell, … Daniel Wayne Franks·bioRxiv·Oct 31, 2024
- Approximate Bayesian Computation Algorithms for Estimating Network Model Parameters
Ye Zheng, Stéphane Aris-Brosou·bioRxiv·Feb 7, 2017