[Rsiena-help] questions about Rsiena effects

Mark Manger mark.manger at utoronto.ca
Thu Oct 30 14:40:07 CET 2014


Dear Shu,

Tom Snijders, Mark Pickup and myself did something similar for a paper using distance as a dyadic covariate:

Manger, Mark S., Mark A. Pickup, and Tom A. B. Snijders. 2012. “A Hierarchy of Preferences: A Longitudinal Network Analysis Approach to PTA Formation.” Journal of Conflict Resolution 56(5): 852–878.

If you don’t want to recalculate the distances from latitude and longitude, the data for distances between 225 countries and their capitals is from CEPII and available here: http://www.cepii.fr/CEPII/en/bdd_modele/presentation.asp?id=6

Best,

Mark

Mark S. MANGER
Associate Professor of Political Economy and Global Affairs
Munk School of Global Affairs & Department of Political Science | University of Toronto
Observatory Site | 315 Bloor Street West | Room 212
Toronto, ON   M5S 0A7
Phone: 416-946-8927 | Fax: 416-946-8877
mark.manger at utoronto.ca<mailto:mark.manger at utoronto.ca>
www.munkschool.utoronto.ca/mga<http://www.munkschool.utoronto.ca/mga>

JOIN THE GLOBAL CONVERSATION





On Oct 30, 2014, at 03:09, Christian Steglich <c.e.g.steglich at rug.nl<mailto:c.e.g.steglich at rug.nl>> wrote:

Dear Shu He,
as I see it, the best way to handle this would be to calculate a matrix of geographical distances from your coordinates independent of RSiena (directly in R), and use this matrix as a dyadic covariate.
Hope that helps,
Christian


On 29-Oct-14 22:10, Shu He wrote:
Dear Professor,

I have a question with the covariate-similarity effect. In the RSiena Manual, I think that the original RSiena program uses the difference between two actors to measure the dissimilarity. However, in my dataset, I want to measure the location distance between two actors. Since my location data includes longitude and latitude data for each point, I think that I cannot directly use the effect function in the RSiena. I opened the CovariateSimilarityEffect.cpp, it seems that there is a function as similarity( , ). I don't quite understand where the function is from. Could you help me with it? Thank you very much!

Best,
Shu

--
Shu He
Ph.D. Student
Department of Economics
University of Texas at Austin
1-512-983-7578




_______________________________________________
Rsiena-help mailing list
Rsiena-help at lists.r-forge.r-project.org<mailto:Rsiena-help at lists.r-forge.r-project.org>
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help



--
_ __ ___ ____ ___ __ _ __ ___ ____ ___ __ _

Christian Steglich, University of Groningen
Faculty of Behavioural and Social Sciences
Grote Rozenstraat 31, NL-9712 TG Groningen
http://www.gmw.rug.nl/~steglich/
_ __ ___ ____ ___ __ _ __ ___ ____ ___ __ _


_______________________________________________
Rsiena-help mailing list
Rsiena-help at lists.r-forge.r-project.org<mailto:Rsiena-help at lists.r-forge.r-project.org>
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rsiena-help/attachments/20141030/49160e23/attachment.html>


More information about the Rsiena-help mailing list