Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Identify reciprocated ties in directed network with -netsis-

From   Claudio Tagliapietra <>
To   "" <>
Subject   st: Identify reciprocated ties in directed network with -netsis-
Date   Sat, 15 Jun 2013 09:15:49 +0000

I am using -netsis- in Stata 12.1 SE in Windows 7, to analyze a directed network. The data is stored as an arc list, as follows

Example 1. Input.

month   source   target
1           Andrew  Peter
1           Peter     Andrew
1           James   Peter
2           Peter     James
2           Andrew  Peter
2           James    Peter

"source" and "target" are stored as integer ids.

I want to create a dummy "recipr" that indicates which ties (arcs) are reciprocated in each month. The output should be:

Example 2. Output.

month   source   target    recipr
1           Andrew  Peter      1
1           Peter     Andrew   1
1           James   Peter       0
2           Peter     James     1
2           Andrew  Peter       0
2           James    Peter      1

Is this currently possible with -netsis-?


Codice Fiscale: 80007010376

Questa informativa è inserita in automatico dal sistema al fine esclusivo della realizzazione dei fini istituzionali dell’ente.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index