DATANET: Stata module to facilitate dataset organization for network analysis purposes

Given a fixed number of units (or nodes) belonging to a same group, possibly connected one each other or possibly not, this routine creates all their possible couplings. To launch the command, one needs to have at least two variables in the dataset, the first we call here ID, and the second we call here X. The variable ID indexes units (such as people or organizations) forming the nodes (or vertices) of the network, while the variable X denotes the group to which the single unit belongs, coded through a specific group identifier (chosen by the user). A tutorial (Cerulli and Zinilli, 2014) with an illustrative example in the accompanying documentation.