Software Code for “An Efficient Sampling Algorithm for Network Motif Detection” (2018). Code and Data for “A block model for node popularity in networks with community structure” (2018). Code for “The Self-Multiset Sampler” (2018). Code for “Bayesian Estimation of the DINA Q matrix” (2018): Readme file , C Code , R Code , R package edina at GitHub . R package dnc for “Latent Space Approaches to Community Detection in Dynamic Networks” (2017). Code for “Sampling for Conditional Inference on Contingency Tables” (2017). Code for “Model-Based Longitudinal Clustering with Varying Cluster Assignments” (2016). Code for “Latent Space Models for Dynamic Networks” (2015). Code for “Analysis of the Formation of the Structure of Social Networks using Latent Space Models for Ranked Dynamic Networks” (2015). Code for “Monte Carlo Algorithms for Identifying Densely Connected Subgraphs” (2015): Reademe file , R Code (find dense subgraphs with a fixed size), R Code (find dense subgraphs with size in a range). Code for “Sampling for Conditional Inference on Network Data” (2013). Code for “Modeling Parasite Infection Dynamics when there Is Heterogeneity and Imperfect Detectability” (2013). Code for “Conditional Inference on Tables with Structural Zeros” (2007). Code for “Volume Measures for Linkage Disequilibrium” (2006).