R syntax and network data for the article: Zbíral, David; Riccardo, Katia; Hampejs, Tomáš; Brys, Zoltán. 2024. Gender, kinship, and other social predictors of incrimination in the inquisition register of Bologna (1291–1310): Results from an exponential random graph model. (Currently under review)
The data and analysis are described in the related article (see below).
If you use the data or the code in your research, please cite this repository as:
Riccardo, Katia; Brys, Zoltán; Hampejs, Tomáš; Zbíral, David. 2024. Incriminations in the inquisition register of Bologna, 1291-1310: Data and R code. Available: https://github.com/DISSINET/bologna.incr.social.
This repository contains:
- the R-syntax for analyzing the social patterns of incriminations in the inquisition register of Bologna (1291–1310);
- table of nodes (TSV file);
- table of edges (TSV file);
The two TSV datasets used in the analysis are in the data
subdirectory.
The licence to use the data and code is described in the LICENCE file.
Zbíral, David; Riccardo, Katia; Hampejs, Tomáš; Brys, Zoltán. 2024. Gender, kinship, and other social predictors of incrimination in the inquisition register of Bologna (1291–1310): Results from an exponential random graph model. (Under review.)
The code is written in R 4.3.1 and uses parallel computing. Following packages are required:
- parallel 4.3.1 (R Core Team (2023), https://stat.ethz.ch/R-manual/R-devel/library/parallel/html/00Index.html.)
- Matrix 1.6.1 (Bates D, Maechler M, Jagan M (2023). Matrix: Sparse and Dense Matrix Classes and Methods. R package version 1.6-1, https://CRAN.R-project.org/package=Matrix.)
- igraph 1.5.1 (Csardi G, Nepusz T (2006). The igraph software package for complex network research. InterJournal, Complex Systems, 1695. https://igraph.org.)
- netUtils 0.8.2 (David Schoch (2023). netUtils: A Collection of Tools for Network Analysis https://CRAN.R-project.org/package=netUtils)
- netseq 1.0.2 (Bojanowski M (2021). Measures of Network Segregation and Homophily. R package version 1.0-1, https://mbojan.github.io/netseg/)
- poweRlaw 0.70.6 (Colin S. Gillespie (2015). Fitting Heavy Tailed Distributions: The poweRlaw Package. Journal of Statistical Software, 64(2), 1-16. URL http://www.jstatsoft.org/v64/i02/)
- network 1.18.1 (Butts C (2015). network: Classes for Relational Data. The Statnet Project (http://www.statnet.org). R package version 1.13.0.1)
- ergm 4.5.0 (Handcock MS, Hunter DR, Butts CT, Goodreau SM, Krivitsky PN, Morris M (2023). ergm: Fit, Simulate and Diagnose Exponential-Family Models for Networks. The Statnet Project (https://statnet.org). R package version 4.5.0, https://CRAN.R-project.org/package=ergm)
- statnet.common 4.9.0 (Krivitsky PN (2023). statnet.common: Common R Scripts and Utilities Used by the Statnet Project Software. The Statnet Project (https://statnet.org). R package version 4.9.0, https://CRAN.R-project.org/package=statnet.common)
- sna 2.7-1 ( Butts CT (2023). sna: Tools for Social Network Analysis. R package version 2.7-1, https://CRAN.R-project.org/package=sna )
- tergm 4.2.0 (Krivitsky PN, Handcock MS (2023). tergm: Fit, Simulate and Diagnose Models for Network Evolution Based on Exponential-Family Random Graph Models. The Statnet Project (https://statnet.org). R package version 4.2.0, https://CRAN.R-project.org/package=tergm)
- networkDynamic 0.11.3 (Butts C, Leslie-Cook A, Krivitsky P, Bender-deMoll S (2023). networkDynamic: Dynamic Extensions for Network Objects. R package version 0.11.3, https://CRAN.R-project.org/package=networkDynamic)
- intergraph 2.0-3 (Bojanowski M (2023). intergraph: Coercion Routines for Network Data Objects. R package version 2.0-3, https://mbojan.github.io/intergraph/)
- ergMargins 0.1.3.1 ( Duxbury S (2023). ergMargins: Process Analysis for Exponential Random Graph Models. R package version 0.1.3.1, https://CRAN.R-project.org/package=ergMargins)