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

ALAAMEE: Open-source software for fitting autologistic actor attribute models

Author

Listed:
  • Alex Stivala
  • Peng Wang
  • Alessandro Lomi

Abstract

The autologistic actor attribute model (ALAAM) is a model for social influence, derived from the more widely known exponential-family random graph model (ERGM). ALAAMs can be used to estimate parameters corresponding to multiple forms of social contagion associated with network structure and actor covariates. This work introduces ALAAMEE, open-source Python software for estimation, simulation, and goodness-of-fit testing for ALAAM models. ALAAMEE implements both the stochastic approximation and equilibrium expectation (EE) algorithms for ALAAM parameter estimation, including estimation from snowball sampled network data. It implements data structures and statistics for undirected, directed, and bipartite networks. We use a simulation study to assess the accuracy of the EE algorithm for ALAAM parameter estimation and statistical inference, and demonstrate the use of ALAAMEE with empirical examples using both small (fewer than 100 nodes) and large (more than 10 000 nodes) networks.Author summary: If we observe a social network, along with some attributes of the actors within it, including an opinion, behaviour, or belief (we will call this the outcome attribute) that we might suppose to be socially contagious, how might we test this supposition? The situation is complicated by the fact that, if the outcome attribute is indeed socially contagious, then its value for one actor will depend on its value for that actor’s network neighbours (friends, for instance). Even further complexity arises if we suppose that the outcome is not simply contagious like a disease, where it is likely to be transmitted from a single network neighbour, but its adoption might instead depend on particular patterns of adoption of the outcome attribute in the local network structure surrounding an actor. The “autologistic actor attribute model” (ALAAM) is a statistical model that, unlike some better-known models, can handle such situations. In this work we describe open-source software called ALAAMEE that implements this model, and demonstrate its use on both small and large networks.

Suggested Citation

  • Alex Stivala & Peng Wang & Alessandro Lomi, 2024. "ALAAMEE: Open-source software for fitting autologistic actor attribute models," PLOS Complex Systems, Public Library of Science, vol. 1(4), pages 1-32, December.
  • Handle: RePEc:plo:pcsy00:0000021
    DOI: 10.1371/journal.pcsy.0000021
    as

    Download full text from publisher

    File URL: https://journals.plos.org/complexsystems/article?id=10.1371/journal.pcsy.0000021
    Download Restriction: no

    File URL: https://journals.plos.org/complexsystems/article/file?id=10.1371/journal.pcsy.0000021&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pcsy.0000021?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. Alex Stivala & Garry Robins & Alessandro Lomi, 2020. "Exponential random graph model parameter estimation for very large directed networks," PLOS ONE, Public Library of Science, vol. 15(1), pages 1-21, January.
    2. Yann Bramoullé & Habiba Djebbari & Bernard Fortin, 2020. "Peer Effects in Networks: A Survey," Annual Review of Economics, Annual Reviews, vol. 12(1), pages 603-629, August.
    3. Letina, Srebrenka, 2016. "Network and actor attribute effects on the performance of researchers in two fields of social science in a small peripheral community," Journal of Informetrics, Elsevier, vol. 10(2), pages 571-595.
    4. Garry Robins & Philippa Pattison & Peter Elliott, 2001. "Network models for social influence processes," Psychometrika, Springer;The Psychometric Society, vol. 66(2), pages 161-189, June.
    5. Morris, Martina & Handcock, Mark S. & Hunter, David R., 2008. "Specification of Exponential-Family Random Graph Models: Terms and Computational Aspects," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 24(i04).
    6. Schmid, Christian S. & Chen, Ted Hsuan Yun & Desmarais, Bruce A., 2022. "Generative Dynamics of Supreme Court Citations: Analysis with a New Statistical Network Model," Political Analysis, Cambridge University Press, vol. 30(4), pages 515-534, October.
    7. Dai, Ning & Jones, Galin L., 2017. "Multivariate initial sequence estimators in Markov chain Monte Carlo," Journal of Multivariate Analysis, Elsevier, vol. 159(C), pages 184-199.
    8. Anselin, Luc, 1990. "Some robust approaches to testing and estimation in spatial econometrics," Regional Science and Urban Economics, Elsevier, vol. 20(2), pages 141-163, September.
    9. Johan Koskinen & Galina Daraganova, 2022. "Bayesian analysis of social influence," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 185(4), pages 1855-1881, October.
    10. Handcock, Mark S. & Hunter, David R. & Butts, Carter T. & Goodreau, Steven M. & Morris, Martina, 2008. "statnet: Software Tools for the Representation, Visualization, Analysis and Simulation of Network Data," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 24(i01).
    11. Jones, Galin L. & Haran, Murali & Caffo, Brian S. & Neath, Ronald, 2006. "Fixed-Width Output Analysis for Markov Chain Monte Carlo," Journal of the American Statistical Association, American Statistical Association, vol. 101, pages 1537-1547, December.
    12. Michele L. Barnes & Peng Wang & Joshua E. Cinner & Nicholas A. J. Graham & Angela M. Guerrero & Lorien Jasny & Jacqueline Lau & Sarah R. Sutcliffe & Jessica Zamborain-Mason, 2020. "Social determinants of adaptive and transformative responses to climate change," Nature Climate Change, Nature, vol. 10(9), pages 823-828, September.
    13. Krivitsky, Pavel N., 2017. "Using contrastive divergence to seed Monte Carlo MLE for exponential-family random graph models," Computational Statistics & Data Analysis, Elsevier, vol. 107(C), pages 149-161.
    14. Klovdahl, A.S. & Potterat, J.J. & Woodhouse, D.E. & Muth, J.B. & Muth, S.Q. & Darrow, W.W., 1994. "Social networks and infectious disease: The Colorado Springs study," Social Science & Medicine, Elsevier, vol. 38(1), pages 79-88, January.
    15. Dootika Vats & James M Flegal & Galin L Jones, 2019. "Multivariate output analysis for Markov chain Monte Carlo," Biometrika, Biometrika Trust, vol. 106(2), pages 321-337.
    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. Alex Stivala & Garry Robins & Alessandro Lomi, 2020. "Exponential random graph model parameter estimation for very large directed networks," PLOS ONE, Public Library of Science, vol. 15(1), pages 1-21, January.
    2. Duxbury, Scott W, 2019. "Mediation and Moderation in Statistical Network Models," SocArXiv 9bs4u, Center for Open Science.
    3. De Nicola, Giacomo & Fritz, Cornelius & Mehrl, Marius & Kauermann, Göran, 2023. "Dependence matters: Statistical models to identify the drivers of tie formation in economic networks," Journal of Economic Behavior & Organization, Elsevier, vol. 215(C), pages 351-363.
    4. Duncan A. Clark & Mark S. Handcock, 2022. "Comparing the real‐world performance of exponential‐family random graph models and latent order logistic models for social network analysis," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 185(2), pages 566-587, April.
    5. Hashimi, Sadaf & Ouellet, Marie, 2025. "Invite only: The prevalence of subgroups within a police department," Journal of Criminal Justice, Elsevier, vol. 96(C).
    6. Dang-Pham, Duy & Pittayachawan, Siddhi & Bruno, Vince, 2016. "Impacts of security climate on employees’ sharing of security advice and troubleshooting: Empirical networks," Business Horizons, Elsevier, vol. 59(6), pages 571-584.
    7. Khalilzadeh, Jalayer, 2018. "Demonstration of exponential random graph models in tourism studies: Is tourism a means of global peace or the bottom line?," Annals of Tourism Research, Elsevier, vol. 69(C), pages 31-41.
    8. Chakraborty, Saptarshi & Bhattacharya, Suman K. & Khare, Kshitij, 2022. "Estimating accuracy of the MCMC variance estimator: Asymptotic normality for batch means estimators," Statistics & Probability Letters, Elsevier, vol. 183(C).
    9. repec:jss:jstsof:24:i09 is not listed on IDEAS
    10. Ying Liu & Dootika Vats & James M. Flegal, 2022. "Batch Size Selection for Variance Estimators in MCMC," Methodology and Computing in Applied Probability, Springer, vol. 24(1), pages 65-93, March.
    11. Jian, Zhihong & Li, Xupei & Zhu, Zhican, 2020. "Sequential forecasting of downside extreme risk during overnight and daytime: Evidence from the Chinese Stock Market☆," Pacific-Basin Finance Journal, Elsevier, vol. 64(C).
    12. Christine A. Bevc & Jessica H. Retrum & Danielle M. Varda, 2015. "Patterns in PARTNERing across Public Health Collaboratives," IJERPH, MDPI, vol. 12(10), pages 1-14, October.
    13. Johan Koskinen & Galina Daraganova, 2022. "Bayesian analysis of social influence," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 185(4), pages 1855-1881, October.
    14. Aliakbar Akbaritabar & Vincent Antonio Traag & Alberto Caimo & Flaminio Squazzoni, 2020. "Italian sociologists: a community of disconnected groups," Scientometrics, Springer;Akadémiai Kiadó, vol. 124(3), pages 2361-2382, September.
    15. Hunter, David R. & Goodreau, Steven M. & Handcock, Mark S., 2013. "ergm.userterms: A Template Package for Extending statnet," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 52(i02).
    16. Ashish Arora & Michelle Gittelman & Sarah Kaplan & John Lynch & Will Mitchell & Nicolaj Siggelkow & Ji Youn (Rose) Kim & Michael Howard & Emily Cox Pahnke & Warren Boeker, 2016. "Understanding network formation in strategy research: Exponential random graph models," Strategic Management Journal, Wiley Blackwell, vol. 37(1), pages 22-44, January.
    17. Yonghong Ma & Xiaomeng Yang & Sen Qu & Lingkai Kong, 2022. "Research on the formation mechanism of big data technology cooperation networks: empirical evidence from China," Scientometrics, Springer;Akadémiai Kiadó, vol. 127(3), pages 1273-1294, March.
    18. Riccardo (Jack) Lucchetti & Luca Pedini, 2020. "ParMA: Parallelised Bayesian Model Averaging for Generalised Linear Models," Working Papers 2020:28, Department of Economics, University of Venice "Ca' Foscari".
    19. Samrachana Adhikari & Beau Dabbs, 2018. "Social Network Analysis in R: A Software Review," Journal of Educational and Behavioral Statistics, , vol. 43(2), pages 225-253, April.
    20. Joshua Chan & Arnaud Doucet & Roberto León-González & Rodney W. Strachan, 2018. "Multivariate Stochastic Volatility with Co-Heteroscedasticity," Working Paper series 18-38, Rimini Centre for Economic Analysis.
    21. Kojevnikov, Denis & Song, Kyungchul, 2023. "Econometric inference on a large Bayesian game with heterogeneous beliefs," Journal of Econometrics, Elsevier, vol. 237(1).

    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:pcsy00:0000021. 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: complexsystem (email available below). General contact details of provider: https://journals.plos.org/complexsystems/ .

    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.