<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi dear RSiena community,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I currently have the following problem. I am conducting a dynamic analysis on cooperation in research project on basis of a directed edgelist that looks like follows:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">“Project leader” “Project partner” “Year” “Some more attributes”<o:p></o:p></p>
<p class="MsoNormal">Firm X Firm Y 2000<o:p></o:p></p>
<p class="MsoNormal">Firm A Firm X 2005<o:p></o:p></p>
<p class="MsoNormal">…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I want to divide the dataset into 3-4 subsets for different periods, lets say 2000-2002, 2003- 2005 ect. That’s not the challenge (subseting in [R]), but then my problem is the following:
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">1.: How can I create a directed and weighted adjacency matrix out of this data structure for every single time period? Up to now I managed it with transforming it to an IGraph object and then back into an adjacency matrix. That works,
but the resulting matrix for the selected timeframe does not contain all actors from the whole dataset, thus the resulting adjacency matrixes as input for RSiena all have different dimensions.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I up to now worked with 2-mode edgelists, there I just could tabulate the dataframe and multiply it with the transposed one to get the adjacency matrix. When I used subsets for the different time period, I could exploit the fact that R
still keeps the index of everything that drops out of the subset, but shows up in the cross-tab and therefore in the adjacency again.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">With a 1-mode edgelist it obviously does not work. Any advice is appreciated!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Vest wishes <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Daniel S. Hain<br>
</span><span style="font-size:8.0pt;color:black">PhD Fellow, M.Sc. Economics, Dipl.-Wirt.-Ing.<br>
_______________________________________<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:black">Innovation, Knowledge and Economic Dynamics (IKE) Group<br>
Strategic Research Alliance for Energy Innovation Systems (EIS)<br>
Department of Business and Management<br>
Aalborg University<br>
Fibigerstraede 4, Room 16a<br>
9220 Aalborg Øst, Denmark<br>
<br>
Tel.: +45 9940 2724<br>
Email: </span><span lang="DA" style="font-size:8.0pt;color:black"><a href="mailto:dsh@business.aau.dk"><span lang="EN-US" style="color:blue">dsh@business.aau.dk</span></a></span><span lang="DA" style="font-size:8.0pt;color:black">
</span><span style="font-size:8.0pt;color:black"><br>
Web: <a href="http://www.business.aau.dk"><span style="color:blue">www.business.aau.dk</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>