Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2008 Jul 10.
Published in final edited form as: J Stat Softw. 2008;24(1):1548–7660. doi: 10.18637/jss.v024.i01

statnet: Software Tools for the Representation, Visualization, Analysis and Simulation of Network Data

Mark S Handcock 1, David R Hunter 2, Carter T Butts 3, Steven M Goodreau 4, Martina Morris 5
PMCID: PMC2447931  NIHMSID: NIHMS54859  PMID: 18618019

Abstract

statnet is a suite of software packages for statistical network analysis. The packages implement recent advances in network modeling based on exponential-family random graph models (ERGM). The components of the package provide a comprehensive framework for ERGM-based network modeling, including tools for model estimation, model evaluation, model-based network simulation, and network visualization. This broad functionality is powered by a central Markov chain Monte Carlo (MCMC) algorithm. The coding is optimized for speed and robustness.

Keywords: exponential-family random graph model, Markov chain Monte Carlo, networks, random graph models

1. Introduction

statnet is a suite of software packages for statistical network analysis in R (R Development Core Team 2007) that implements recent advances in the statistical modeling of random networks. The models, based on statistical exponential families (“exponential-family random graph models,” or ERGMs), generalize the p1 (Holland and Leinhardt 1981) and Markov random graph (Frank and Strauss 1986) models first developed in the social network literature. These in turn derive from developments in spatial statistics (Besag 1974). The general form is sometimes referred to as “p-star” or “p*” in the social network literature (Wasserman and Pattison 1996), reflecting its early origins.

Networks are a form of “relational data,” i.e., data whose properties cannot be reduced to the attributes of the individuals (nodes) involved. The relation, or “tie,” is the object of (and unit of) analysis. Relational data arise in many fields, and are central to the concept of “social” in the social sciences. In typical applications, the nodes in a network represent individuals, and the links (edges) represent a specified relationship between individuals. Nodes can also be used to represent larger social units (groups, families, organizations), objects (physical resources, servers, locations), or even abstract entities (concepts, texts, tasks, random variables).

In network modeling, our goal is to predict the joint probability that a set of edges exists on nodes in a network. An edge can be binary or valued, directed or undirected. In general, these edges are not independent, and that is the challenge for both model specification and estimation. ERGMs were developed to address the complex dependencies within relational data structures and provide a flexible framework for representing them. Simple examples include degree distributions, stars, nodal attribute-based mixing, triangles and other higher order cycles that lead to clustering, and mutuality and transitivity in directed networks. These observed network statistics are properly regarded as outcomes, and the goal of the model is to specify the process that leads to their joint distribution. The terms in an ERG model that represent this process are also network statistics. The statistics for process and outcome may sometimes coincide – for example, a propensity for triad closure leading to a large number of triangles in a network would lead to a model with a term for the number of triangles. But the same outcome may arise from an alternative underlying process – for example, a propensity for within-group partners leads to triad closure when groups are small (Goodreau, Kitts, and Morris 2008b), and this would lead to a model with terms for the relative frequency of within-group ties. ERGMs provide a statistical framework for evaluating alternative hypotheses about the processes that lead to the observed outcomes.

The statnet suite of packages provides a comprehensive framework for ERGM-based network modeling: tools for model estimation, for model evaluation and for model-based network simulation. This broad functionality is powered by a central Markov chain Monte Carlo (MCMC) algorithm that can easily handle networks of several thousand nodes or more, though the size of the problem is dictated more by the number of edges (and edge attributes) than by the number of nodes. See Hunter, Goodreau, and Handcock (2008a); Goodreau (2007); Goodreau et al. (2008b) for examples of large networks that may be handled by statnet. For statistical inference, MCMC is used to approximate the likelihood function by sampling the space of possible networks. The sample is obtained by sequentially updating the values of dyads in the network according to a random schedule using a Metropolis-Hastings algorithm, creating a Markov chain of networks with the appropriate statistical properties (Hunter. Handcock, Butts, Goodreau, and Morris 2008b). The sequence produced by this algorithm can also be used as a method for simulating realizations of networks from the model, which in turn can be used for model evaluation. The algorithm can also be used to produce a dynamically changing network over time. The broad functionality of this MCMC algorithm provides a unifying coherent framework for modeling, and it extends the potential scope of network analysis: providing greater flexibility, range and insight into the generative principles of network formation, and a foundation for the analysis of diffusion across network structures.

Network analysis is a rapidly growing field, and there are now a number of computer packages available that provide a wide range of analytical tools. The methodology in these packages falls into three general classes: descriptive techniques, permutation methods, and generative models. The classes range roughly along a continuum, from capturing static regularities in network structure to testing models for the emergence of that structure.

Descriptive techniques include the traditional social network summaries drawn from the graph theoretic literature and reviewed in Wasserman and Faust (1994). These seek to characterize the systematic patterns observed in networks (e.g., the degree distribution, the number of triangles, the centrality of nodes, or the centralization of the network as a whole), but there is no real statistical inference associated with these methods. Descriptive techniques are featured in established packages like UCINET (Borgatti, Everett, and Freeman 1999) and Pajek (Batagelj and Mrvar 2007), and they are included in the sna (Butts 2007) package in R.

Permutation methods employ computationally intensive resampling to perform statistical inference for traditional statistical models on networks (e.g., the quadratic assignment procedure, QAP, for matrix regression). In this approach, the dependence among observations is treated simply as an obstacle to statistical inference that the permutation distribution allows one to ignore. Such procedures are available in UCINET (Borgatti et al. 1999), sna and netperm (Butts 2006), and also in some traditional statistical environments like Stata (StataCorp. 2007).

Generative models provide a full stochastic representation of the process of network formation, which allows the dependence among observations to become the focus of the model. Simple examples include the Bernoulli model and the preferential attachment model, each of which represents a single type of network generating process, and the log-linear models for nodal attribute mixing that provide a class of generative mixing models. ERGMs are a very general class of generative models, which includes the Bernoulli, preferential attachment and mixing models as special cases. When fully specified, generative models also provide a framework for model evaluation and inference. Such fully specified ERGMs are currently available in statnet and stocnet (Boer, Huisman, Snijders, and Zeggelink 2003).

2. Overview of statnet components

statnet (Handcock, Hunter, Butts, Goodreau, and Morris 2003b) is written in a combination of the open-source statistical language R (R Development Core Team 2007) and (ANSI standard) C (Kernighan and Ritchie 1988). It is usually used interactively, via a command line, from within the R graphical user interface. It can also be used in non-interactive (or “batch”) mode to allow longer or multiple tasks to be processed without user interaction.

The statnet suite of packages, which includes two required components and several optional components, is available on the Comprehensive R Archive Network (CRAN) at http://CRAN.R-project.org/ and also on the statnet project Web site at http://statnetproject.org/ The suite can be installed directly over the Internet using the install.packages command within R as described in Goodreau, Handcock, Hunter, Butts, and Morris (2008a). To obtain a list of the functions available in any of the statnet packages, type help (package = “<pkg name>“), as in

R> help(package = “ergm”)

To obtain further information about a particular function, such as the ergm function within the ergm package, type help (“ergm”) or simply ?ergm for short.

The individual component packages of the statnet suite are listed below. Most of these packages are described in detail in the subsequent articles in this volume.

2.1. Required packages: ergm and network

  • ergm is a collection of functions to fit, simulate from, plot and evaluate exponential-family random graph models. The main functions within the ergm package are ergm, a function to fit exponential-family random graph models in which the probability of a network is dependent upon a vector of network statistics specified by the user; simulate, a function to simulate random networks using an ERGM; and gof, a function to evaluate the goodness of fit of an ERGM to the data, ergm contains many other functions as well; for a guide to the basic types of functionality these functions provide, see Hunter et al. (2008b), Morris, Handcock, and Hunter (2008), and Goodreau et al. (2008a) in this volume.

  • network is a package to create, store, modify and plot the data in network objects. The network object class, defined in the network package (Butts, Handcock, and Hunter 2007; Butts 2008a), can represent a range of relational data types and it supports arbitrary vertex/edge/network attributes. Data stored as network objects can then be analyzed using all of the component packages in the statnet suite.

2.2. Optional packages

The optional packages sna, degreenet, latentnet, and networksis are all available on CRAN:

  • sna: A set of tools for traditional social network analysis (Butts 2008b).

  • degreenet: This package was developed for the degree distributions of networks It implements likelihood-based inference, bootstrapping, and model selection, and it includes power-law models such as the Yule and Waring as well as a range of alternative models that have been proposed in the literature. (Handcock 2003b). The theory behind these methods is described in Jones and Handcock (2003a,b); Handcock and Jones (2004, 2006).

  • latentnet: A package to fit and evaluate latent position and cluster models for statistical networks based on Hoff, Raftery, and Handcock (2002) and Handcock, Raftery, and Tantrum (2007). The probability of a tie is expressed as a function of distances between these nodes in a latent space as well as functions of observed dyadic level covariates. For details about this package, see Krivitsky and Handcock (2007) in this volume.

  • networksis: A package to simulate bipartite networks with fixed marginals through sequential importance sampling (Admiraal and Handcock 2007).

Additional optional packages are available on request, as described below.

  • dynamicnetwork: A set of tools for visualizing dynamically changing networks (Bender-deMoll, Morris, and Moody 2008).

  • netperm: A package for permutation Models for relational data (Butts 2006). It provides simulation and inference tools for exponential families of permutation models on relational structures.

  • rSoNIA: Provides a set of methods to facilitate exporting data and parameter settings and launching SoNIA, which stands for Social Network Image Animator (Bender-deMoll and McFarland 2003). SoNIA facilitates interactive browsing of dynamic network data and exporting animations as a QuickTime (Apple Inc. 1999) movies.

3. Principles of ERGM-based network modeling

ERGMs represent the generative process of tie formation in networks, and there are two basic types of processes: dyadic dependent and dyadic independent. A dyad refers to a pair of nodes and the relations between them. Dyadic dependent processes are those in which the state of one dyad depends stochastically on the state of other dyads. A classic example is the concept that “the friend of my friend is my friend” — the presence of a friendship tie in dyads (i,j) and (j,k) increases the probability of a friendship tie in dyad (i,k). Dyadic independent processes exhibit no direct dependence among dyads: An example is the related social concept that “birds of a feather flock together” — if the two nodes in a dyad have similar attributes, the probability of a friendship tie is increased. The state of the dyad depends on the attributes of the two nodes, but not on the state of other dyads.

The distinction between these two types of processes affects the specification, estimation and behavior of ERG models. Models with only dyadic independent terms have a likelihood function that simplifies to a form that can be maximized using standard logistic regression methods. Intuition about how these models behave is usually straightforward, as for logistic regression models. By contrast, models for processes with dyadic dependence require computationally intensive estimation and imply complex forms of feedback and global dependence that confound both intuition and estimation.

It can be difficult to specify a sensible model that contains dyadic dependent terms, since a model that seems reasonable may in fact have very counterintuitive implications. A good example comes from the recent literature on clustering in networks. Clustering is often represented as a tendency to form closed triangles, and a common summary measure is the “mean clustering coefficient,” the number of triads with all three ties present divided by the number with at least two ties present. A natural ERGM analog for this is a model with two terms — the edge density and the mean clustering coefficient — and corresponding parameters θ⃗ = (θ12) The intuition seems straightforward; the density term governs the overall number of ties and the clustering term captures the propensity for, or against, triad closure relative to a Bernoulli random network. In most social networks, we would expect θ2 to be positive. But the distribution of networks produced by this model (obtained through simulation) displays a bizarre pattern. First, for many combinations of possible values of the parameters in θ⃗, the model produces networks that are either full (every tie exists) or empty (no ties exist) with probability close to one. Second, even for parameters that do not produce these extremal networks, such as those illustrated in Figure 1, the distribution of networks produced by the model is often bimodal; one mode has low density and high triad closure, the other has high density and low triad closure. The model almost never produces networks at the average density and triad closure.

Figure 1.

Figure 1

Darker gray indicates higher probability density in this plot showing the true distribution of networks according to a particular two-statistic ERGM containing edge density and mean clustering coefficient. The population mean vector, specified by a particular choice of the model parameters, is shown at the intersection of the two dotted lines. The fact that there is very little probability mass near this mean is emblematic of degeneracy.

The technical term for this behavior is “model degeneracy,” and a detailed exposition of the topic and the example above can be found in Handcock (2003c) or Handcock (2003a). The intuition behind this problem is relatively simple. If we specify a model that is unlikely to produce the observed network, then one of two things can happen when this model is fit to the data: the maximum likelihood estimator (MLE) may exist, but it will not provide a good fit to the data, as in Figure 1; or the MLE may not exist, and the estimation will not converge properly (as in the extremal case above). Degeneracy is an indication of model mis-specification – not a shortcoming of the MCMC estimation procedure.

The solution to the degeneracy problem is to specify a model that is a better fit to the data, but this is often more difficult than usual. With linear models, for example, the estimated coefficients are linear functions of the observed data. These closed-form solutions can be used to construct predicted values, and mis-specification can be diagnosed by comparing observed to predicted values. With ERGMs, if the model is mis-specified and fails to produce an MLE, the analyst can be left with little information to help guide the re-specification of the model.

A technique that commonly leads to degeneracy when representing dyad dependent processes is the use of simple configuration counts or proportions (e.g., the number of triangles or the mean clustering coefficient) as model covariates. It may seem natural to represent a disproportionately high number of triangles in a network by a triangle term in the model. But because a single edge can complete a large number of triangles, the dyadic dependence effects amplify quickly, so a model with a positive coefficient on a triangle term will almost always lead to degenerate behavior. This is a form of “collapse” or threshold behavior well known in complex systems.

The goal is to develop substantively meaningful models in which the dependent process is properly constrained: to represent the additional heterogeneity in the process of tie formation that limits the range of dependence. One plausible mechanism is strong attribute mixing, which would reduce the impact of dependence beyond the preferred group of nodes: a triad created within the group is more likely than a triad created between groups. Another mechanism is a nonlinear impact of the dependent configuration, e.g., a tie completing two triangles is not twice as likely as a tie completing one triangle, but something less than that. This is similar to the classic declining marginal returns models in economics. The ergm package provides a flexible framework for representing such processes with “curved exponential family models” (Hunter and Handcock 2006). These allow one to specify a single ergm term that is a parametric summary of an entire distribution of statistics, such as degree statistics, instead of a nonparametric specification that uses one term for each value in the distribution.

In some cases, model re-specification will simply require selecting different ergm terms from the list included in the ergm package (Handcock, Hunter, Butts, Goodreau, and Morris 2003a). In other cases, it may require coding a new ergm term using the methods provided for user-coded terms. As discussed in Morris et al. (2008), the terms in an ERGM are network statistics that must be calculated for the observed network, and for each step of the MCMC sequence. So every term requires its own algorithm. This is another way in which network ERGMs differ from traditional statistical models. In a traditional linear model, for example, the covariates are measured prior to estimation, and while they might be transformed as a part of model specification, most transformations are simple arithmetic operators on one or more vectors, and most interactions are simple products of vectors. Network statistics, by contrast, may require complex algorithms for their construction (e.g., a cycle census over the whole network). statnet includes code for many of the most common network statistics used in the social network field, but the terms relevant for any particular network, or for networks outside the social sciences, may be different. Re-specifying an ERGM may not just be a simple matter of adding another term to the model; it may require writing a piece of program code to represent that term.

statnet provides a range of diagnostic tools to help identify when a model is degenerate, discussed in Goodreau et al. (2008a) and (Hunter et al. 2008b). Since statistical methods for simulating stochastic random networks have only recently been developed, the models and parameter values relevant to real networks are only beginning to be understood. A good discussion of model specification for social networks can be found in Snijders, Pattison. Robins, and Handcock (2006).

4. Other capabilities

statnet is a package that is undergoing long term development, and the statnet development team is continually adding functionality. We welcome your comments and even suggestions, though naturally we can not promise to respond to all requests! We also welcome inquiries about becoming a member of the statnet development team. We sponsor a statnet mail list for questions and discussions; sign-up is through the statnet Web page at http://statnetproject.org/. Further information about statnet is also available at the Web site.

Acknowledgments

The authors would like to acknowledge members of the statnet team, including Ryan Admiraal, Nicole Bohme, Susan Cassels, Krista Gile, Deven Hamilton, Aditya Khanna, Pavel Krivitsky, David Lockhart, and James Moody. This work was funded by two grants from the National Institutes of Health (R01-HD041877, R01-DA012831). DRH received additional funding from Le Studium, an agency of the Centre National de la Recherche Scientifique of France, and NIH grant R01-GM083603-01.

Contributor Information

Mark S. Handcock, University of Washington

David R. Hunter, Penn State University

Carter T. Butts, University of California, Irvine

Steven M. Goodreau, University of Washington

Martina Morris, University of Washington.

References

  1. Admiraal R, Handcock MS. networksis: Simulate Bipartite Graphs with Fixed Marginals Through Sequential Importance Sampling. 2007 doi: 10.18637/jss.v024.i08. Statnet Project http://statnetproject.org/ Seattle, WA. R package version 1.0, URL http://CRAN.R-project.org/package=networksis. [DOI] [PMC free article] [PubMed]
  2. Apple Inc. QuickTime Multimedia Software Architecture. 1999 URL http://developer.apple.com/quicktime/
  3. Batagelj V, Mrvar A. University of Ljubljana; Slovenia: 2007. Pajek: Package for Large Network Analysis. URL http://vlado.fmf.uni-lj.si/pub/networks/pajek/ [Google Scholar]
  4. Bender-deMoll S, McFarland DA. SoNIA: Social Network Image Animator. 2003 URL http://sonia.Stanford,edu/
  5. Bender-deMoll S, Morris M, Moody J. Prototype Packages for Managing and Animating Longitudinal Network Data: dynamicnetwork and rSoNIA. Journal of Statistical Software. 2008;24(7) URL http://www.jstatsoft.org/v24/i07/
  6. Besag J. Spatial Interaction and the Statistical Analysis of Lattice Systems. Journal of the Royal Statistical Society B. 1974;36:192–236. [Google Scholar]
  7. Boer P, Huisman M, Snijders TAB, Zeggelink EPH. ICS/SciencePlus, Universiy of Groningen; Groningen, Netherlands: 2003. StOCNET: An Open Software System for the Advanced Statistical Analysis of Social Networks. version 1.7 edition. URL http://stat.gamma.rug.nl/stocnet/ [Google Scholar]
  8. Borgatti SP, Everett MG, Freeman LC. UCINET 6.0 for Windows: Software for Social Network Analysis. 1999 Analytic Technologies, Natick. URL http://www.analytictech.com/
  9. Butts CT. netperm: Permutation Models for Relational Data. R package version 0.2. 2006 URL http://erzuli.ss.uci.edu/R.stuff/
  10. Butts CT. sna: Tools for Social Network Analysis. 2007 Statnet Project http://statnetproject.org/, Seattle, WA. R package version 1.5, URL http://CRAN.R-project.org/package=sna.
  11. Butts CT. network: A Package for Managing Relational Data in R. Journal of Statistical Software. 2008a;24(2) URL http://www.jstatsoft.org/v24/i02/
  12. Butts CT. Social Network Analysis with sna. Journal of Statistical Software. 2008b;24(6) doi: 10.18637/jss.v024.i01. URL http://www.jstatsoft.org/v24/i06/ [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Butts CT, Handcock MS, Hunter DR. network: Classes for Relational Data. 2007 Statnet Project http://statnetproject.org/, Seattle, WA. R package version 1.3, URL http://CRAN.R-project.org/package=network.
  14. Frank O, Strauss D. Markov Graphs. Journal of the American Statistical Association. 1986;81(395):832–842. [Google Scholar]
  15. Goodreau SM. Advances in Exponential Random Graph (p*) Models Applied to a Large Social Network. Social Networks. 2007;29(2):231–248. doi: 10.1016/j.socnet.2006.08.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  16. Goodreau SM, Handcock MS, Hunter DR, Butts CT, Morris M. A statnet Tutorial. Journal of Statistical Software. 2008a;24(9) URL http://www.jstatsoft.org/v24/i09/ [PMC free article] [PubMed]
  17. Goodreau SM, Kitts J, Morris M. Birds of a Feather, or Friend of a Friend? Using Exponential Random Graph Models to Investigate Adolescent Social Networks. Demography. 2008b:45. doi: 10.1353/dem.0.0045. Forthcoming. [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Handcock MS. Working Paper. Vol. 39. Center for Statistics and the Social Sciences; University of Washington: 2003a. Assessing Degeneracy in Statistical Models of Social Networks. URL http://www.csss.Washington.edu/Papers/ [Google Scholar]
  19. Handcock MS. degreenet: Models for Skewed Count Distributions Relevant to Networks. 2003b Statnet Project http://statnetproject.org/, Seattle, WA. R package version 1.0, URL http://CRAN.R-project.org/package=degreenet.
  20. Handcock MS. Statistical Models for Social Networks: Inference and Degeneracy. In: Breiger R, Carley K, Pattison P, editors. Dynamic Social Network Modeling and Analysis. Vol. 126. Committee on Human Factors, Board on Behavioral, Cognitive, and Sensory Sciences, National Academy Press; Washington, DC: 2003c. pp. 229–252. [Google Scholar]
  21. Handcock MS, Hunter DR, Butts CT, Goodreau SM, Morris M. ergm: A Package to Fit, Simulate and Diagnose Exponential-Family Models for Networks. 2003a doi: 10.18637/jss.v024.i03. Statnet Project http://statnetproject.org/, Seattle, WA. R package version 2.0, URL http://CRAN.R-project.org/package=ergm. [DOI] [PMC free article] [PubMed]
  22. Handcock MS, Hunter DR, Butts CT, Goodreau SM, Morris M. statnet: Software Tools for the Statistical Modeling of Network Data. 2003b doi: 10.18637/jss.v024.i01. Statnet Project http://statnetproject.org/, Seattle, WA. R package version 2.0, URL http://CRAN.R-project.org/package=statnet. [DOI] [PMC free article] [PubMed]
  23. Handcock MS, Jones JH. Likelihood-Based Inference for Stochastic Models of Sexual Network Formation. Theoretical Population Biology. 2004;65:413–422. doi: 10.1016/j.tpb.2003.09.006. [DOI] [PubMed] [Google Scholar]
  24. Handcock MS, Jones JH. Interval Estimates for Epidemic Thresholds in Two-Sex Network Models. Theoretical Population Biology. 2006;70:125–134. doi: 10.1016/j.tpb.2006.02.004. [DOI] [PubMed] [Google Scholar]
  25. Handcock MS, Raftery AE, Tantrum JM. Model-based Clustering for Social Networks. Journal of the Royal Statistical Society A. 2007;170(2):301–354. [Google Scholar]
  26. Hoff PD, Raftery AE, Handcock MS. Latent Space Approaches to Social Network Analysis. Journal of the American Statistical Association. 2002;97(460):1090–1098. [Google Scholar]
  27. Holland PW, Leinhardt S. An Exponential Family of Probability Distributions for Directed Graphs. Journal of the American Statistical Association. 1981;76(373):33–65. [Google Scholar]
  28. Hunter DR, Goodreau SM, Handcock MS. Goodness of Fit for Social Network Models. Journal of the American Statistical Association. 2008a;103:248–258. [Google Scholar]
  29. Hunter DR, Handcock MS. Inference in Curved Exponential Family Models for Networks. Journal of Computational and Graphical Statistics. 2006;15(3):565–583. [Google Scholar]
  30. Hunter DR, Handcock MS, Butts CT, Goodreau SM, Morris M. ergm: A Package to Fit, Simulate and Diagnose Exponential-Family Models for Networks. Journal of Statistical Software. 2008b;24(3) doi: 10.18637/jss.v024.i03. URL http://www.jstatsoft.org/v24/i03/ [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Jones JH, Handcock MS. An Assessment of Preferential Attachment as a Mechanism for Human Sexual Network Formation. Proceedings of the Royal Society of London B. 2003a;270:1123–1128. doi: 10.1098/rspb.2003.2369. [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Jones JH, Handcock MS. Sexual Contacts and Epidemic Thresholds. Nature. 2003b;423(6940):605–606. doi: 10.1038/423605a. [DOI] [PubMed] [Google Scholar]
  33. Kernighan BW, Ritchie DM. The C Programming Language. Prentice Hall Press; Upper Saddle River, NJ: 1988. [Google Scholar]
  34. Krivitsky PN, Handcock MS. latentnet: Latent Position and Cluster Models for Statistical Networks. 2007 doi: 10.18637/jss.v024.i05. Statnet Project http://statnetproject.org/, Seattle, WA. R package version 2.0, URL http://CRAN.R-project.org/package=latentnet. [DOI] [PMC free article] [PubMed]
  35. Morris M, Handcock MS, Hunter DR. Specification of Exponential-Family Random Graph Models: Terms and Computational Aspects. Journal of Statistical Software. 2008;24(4) doi: 10.18637/jss.v024.i04. URL http://www.jstatsoft.org/v24/i04/ [DOI] [PMC free article] [PubMed]
  36. R Development Core Team. R Foundation for Statistical Computing; Vienna, Austria: 2007. R: A Language and Environment for Statistical Computing. Version 2.6.1, URL http://www.R-project.org/ [Google Scholar]
  37. Snijders TAB, Pattison P, Robins GL, Handcock MS. New Specifications for Exponential Random Graph Models. Sociological Methodology. 2006;36:99–153. [Google Scholar]
  38. StataCorp. StataCorp LP; College Station, TX: 2007. Stata Statistical Software: Release 10. URL http://www.stata.com/ [Google Scholar]
  39. Wasserman SS, Faust K. Structural Analysis in the Social Sciences. Cambridge University Press; Cambridge: 1994. Social Network Analysis: Methods and Applications. [Google Scholar]
  40. Wasserman SS, Pattison P. Logit Models and Logistic Regressions for Social Networks: I. An Introduction to Markov Graphs and p*. Psychometrika. 1996;61(3):401–425. [Google Scholar]

RESOURCES