<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Shu He,<br>
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.<br>
Hope that helps,<br>
Christian<br>
<br>
<br>
On 29-Oct-14 22:10, Shu He wrote:<br>
</div>
<blockquote
cite="mid:CAM_sWHrzuVeWhxMRcHp8OrRChc4J+cdz7Bf=sBJKptFDVNGOvA@mail.gmail.com"
type="cite">
<div dir="ltr">Dear Professor,
<div><br>
</div>
<div>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!</div>
<div><br>
</div>
<div>Best,</div>
<div>Shu<br clear="all">
<div><br>
</div>
-- <br>
<div>Shu He<br>
Ph.D. Student</div>
<div>Department of Economics</div>
<div>University of Texas at Austin</div>
<div>1-512-983-7578</div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rsiena-help mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rsiena-help@lists.r-forge.r-project.org">Rsiena-help@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rsiena-help</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
_ __ ___ ____ ___ __ _ __ ___ ____ ___ __ _
Christian Steglich, University of Groningen
Faculty of Behavioural and Social Sciences
Grote Rozenstraat 31, NL-9712 TG Groningen
<a class="moz-txt-link-freetext" href="http://www.gmw.rug.nl/~steglich/">http://www.gmw.rug.nl/~steglich/</a>
_ __ ___ ____ ___ __ _ __ ___ ____ ___ __ _
</pre>
</body>
</html>