The ability to simulate graphs with given properties is important for the analysis of social networks. Sequential importance sampling has been shown to be particularly effective in estimating the number of graphs adhering to fixed marginals and in estimating the null distribution of graph statistics. This paper describes the networksis package for R and how its simulate and simulate_sis functions can be used to address both of these tasks as well as generate initial graphs for Markov chain Monte Carlo simulations.
History
Preferred citation
Admiraal, R. & Handcock, M. S. (2008). networksis: A package to simulate bipartite graphs with fixed marginals through sequential importance sampling. Journal of Statistical Software, 24(8). https://doi.org/10.18637/jss.v024.i08