📊 Ando, H., Nishi, A., & Handcock, M. S. (2025). Statistical Modeling of Networked Evolutionary Public Goods Games.
This repository, developed by Hiroyasu Ando and Mark S. Handcock, provides all data and scripts used in the statistical analysis of dynamic network structures arising from repeated networked public goods games. It contains 20 independent longitudinal networks across eight time points, along with complete tools for conducting maximum likelihood estimation (MLE), robustness and sensitivity analyses, and goodness-of-fit evaluations. The repository enables full replication of the modeling framework and empirical results presented in the study.
- A collection of 20 independent dynamic networks from the networked public goods game.
- Each network spans 8 time points (0 to 7).
- Stored as
igraphobjects.
- The same networks as above, represented as adjacency matrices.
- All possible
Y⁺(formation) network data for each network from time 1 to 7. igraphobjects (pgg_plus_data.RData) and adjacency matrices (pgg_plus_adj.RData).- Can be regenerated using the
plus_network.Rscript.
- All possible
Y⁻(persistence) network data for each network from time 1 to 7. igraphobjects (pgg_minus_data.RData) and adjacency matrices (pgg_minus_adj.RData).- Can be regenerated using the
minus_network.Rscript.
Generates all possible Y⁺ (formation) networks.
Outputs:
pgg_plus_data.RDatapgg_plus_adj.RData
Generates all possible Y⁻ (persistence) networks.
Outputs:
pgg_minus_data.RDatapgg_minus_adj.RData
Main model for Table 1.
Outputs:
- Maximum likelihood estimates (MLE)
- Standard errors
- Log-likelihood
Covariates-only model (without the triangle term) used for Table 2 and Figure 5.
Outputs:
- Maximum likelihood estimates (MLE)
- Standard errors
- Log-likelihood
Main model with the gender covariates for the sensitivity analysis.
Outputs:
- Maximum likelihood estimates (MLE)
- Standard errors
- Log-likelihood
Main model with an added 2-star term for the sensitivity analysis.
Outputs:
- Maximum likelihood estimates (MLE)
- Standard errors
- Log-likelihood
Models at each time step, used for Figures 7 & 8.
Outputs:
- Maximum likelihood estimates (MLE)
- Standard errors
- Log-likelihood
Generates visualizations of time-specific model results, used for Figure 7 and Figure 8.
Visualizes the dynamic evolution of the network over time, used for Figure 4.
Generates triangle GoF plots for the formation networks, used for Figure 5.
Generates k-stars GoF plots for the public goods game networks, used for Figure 6.
Produces k-degrees GoF plots for the public goods game networks.
- R (≥ 4.0.0)
igraphtidyverseMatrixparallellatex2exp
If you use this code or data, please cite the original paper:
Ando, H., Nishi, A., & Handcock, M. S. (2025). Statistical Modeling of Networked Evolutionary Public Goods Games.
For questions or collaborations, please reach out to:
Hiroyasu Ando
📧 hiro1999@g.ucla.edu
