[Rsiena-help] questions about Rsiena effects

Christian Steglich c.e.g.steglich at rug.nl
Thu Oct 30 08:09:45 CET 2014


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
> 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/
_ __ ___ ____ ___ __ _ __ ___ ____ ___ __ _

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


More information about the Rsiena-help mailing list