<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Kai Arzheimer &#187; social network analysis</title> <atom:link href="http://www.kai-arzheimer.com/blog/tag/social-network-analysis/feed/" rel="self" type="application/rss+xml" /><link>http://www.kai-arzheimer.com/blog</link> <description>A political science blog</description> <lastBuildDate>Sat, 21 Jan 2012 19:06:37 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Networks in Political Science Talk podcast (in German)</title><link>http://www.kai-arzheimer.com/blog/networks-in-political-science-talk-podcast-in-german/</link> <comments>http://www.kai-arzheimer.com/blog/networks-in-political-science-talk-podcast-in-german/#comments</comments> <pubDate>Tue, 21 Dec 2010 18:38:17 +0000</pubDate> <dc:creator>kai</dc:creator> <category><![CDATA[Data and Methods]]></category> <category><![CDATA[My Stuff]]></category> <category><![CDATA[Political Science]]></category> <category><![CDATA[journals]]></category> <category><![CDATA[networks]]></category> <category><![CDATA[publications]]></category> <category><![CDATA[social network analysis]]></category> <category><![CDATA[talk]]></category> <category><![CDATA[trier]]></category><guid isPermaLink="false">http://www.kai-arzheimer.com/blog/?p=639</guid> <description><![CDATA[Recently, the good folks over at the Exzellenzcluster (that&#8217;s German new-speak, folks!) Trier invited me over for a talk on our &#8220;networks in political science&#8221; project (which is not dead, just moving very slowly). Since this is multimedia month, they captured my voice and re-synched it with the presentation. Spooky stuff: all silly jokes, every [...]]]></description> <content:encoded><![CDATA[<p>Recently, the good folks over at the <a href="http://www.netzwerk-exzellenz.uni-trier.de/" target="_blank">Exzellenzcluster (that&#8217;s German new-speak, folks!) Trier</a> invited me over for a talk on our &#8220;<a href="http://kai-arzheimer.com/social-networks-in-political-science.html" target="_blank">networks in political science</a>&#8221; project (which is not dead, just moving very slowly). Since this is multimedia month, they captured my voice and re-synched it with the presentation. Spooky stuff: all silly jokes, every &#8220;errrr&#8221; and all my nasty comments on various colleagues near and far are now online forever. Makes you wonder about scientific, technical and social progress. But if you could not be at Trier on this evening, or just cannot get enough of my lovely voice, just click below.</p><p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="320" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.podcampus.de/nodes/3725.swf" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="320" src="http://www.podcampus.de/nodes/3725.swf" allowfullscreen="true"></embed></object></p><div class="su-linkbox" id="post-639-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.kai-arzheimer.com/blog/networks-in-political-science-talk-podcast-in-german/&quot;&gt;Networks in Political Science Talk podcast (in German)&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded> <wfw:commentRss>http://www.kai-arzheimer.com/blog/networks-in-political-science-talk-podcast-in-german/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Which of my students are most likely to gang up against me?</title><link>http://www.kai-arzheimer.com/blog/which-of-my-students-are-most-likely-to-gang-up-against-me/</link> <comments>http://www.kai-arzheimer.com/blog/which-of-my-students-are-most-likely-to-gang-up-against-me/#comments</comments> <pubDate>Wed, 19 May 2010 20:30:53 +0000</pubDate> <dc:creator>kai</dc:creator> <category><![CDATA[Data and Methods]]></category> <category><![CDATA[My Stuff]]></category> <category><![CDATA[Political Science]]></category> <category><![CDATA[limesurvey]]></category> <category><![CDATA[networkx]]></category> <category><![CDATA[pajek]]></category> <category><![CDATA[political sociology]]></category> <category><![CDATA[python]]></category> <category><![CDATA[sna]]></category> <category><![CDATA[social capital]]></category> <category><![CDATA[social network analysis]]></category> <category><![CDATA[social networks]]></category> <category><![CDATA[stata]]></category> <category><![CDATA[survey data]]></category><guid isPermaLink="false">http://www.kai-arzheimer.com/blog/?p=405</guid> <description><![CDATA[I&#8217;m teaching a lecture course on Political Sociology at the moment, and because everyone is so excited about social capital and social network analysis these days, I decided to run a little online experiment with and on my students. The audience is large (at the beginning of this term, about 220 students had registered for [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;m teaching a lecture course on Political Sociology at the moment, and because everyone is so excited about social capital and social network analysis these days, I decided to run a little online experiment with and on my students. The audience is large (at the beginning of this term, about 220 students had registered for this lecture series) and quite diverse, with some students still in their first year, others in their second, third or fourth and even a bunch of veterans who have spent most of their adult lives in university education.</p><div id="attachment_406" class="wp-caption alignright" style="width: 160px"><a href="http://www.kai-arzheimer.com/blog/wp-content/uploads/2010/05/glorreiche-10.jpg"><img class="size-thumbnail wp-image-406  " title="All ties in a group of students, well-connected students in yellow" src="http://www.kai-arzheimer.com/blog/wp-content/uploads/2010/05/glorreiche-10-150x150.jpg" alt="glorreiche 10 150x150 Which of my students are most likely to gang up against me?" width="150" height="150" /></a><p class="wp-caption-text">Who knows whom in a large group of learners?</p></div><p><span id="more-405"></span></p><p>Fortunately, I had a list of full names plus email addresses for everyone who had signalled interest in the lecture before the beginning of term, so I created a short questionnaire in <a href="http://www.limesurvey.org/" target="_blank">limesurvey</a> and asked them a very simple question: whom do you know in this group? Given the significant overcoverage of my list &#8211; in reality, there are probably not more than 120 students who regularly turn up for the lecture &#8211; the response rate was somewhere in the high 70s. If you want to collect network data with limesurvey, the &#8220;array with flexible labels&#8221; question type is your friend, but keying in 220 names plus unique ids would have been a major pain. Thankfully, one can program the question with a single placeholder name, then export it as a <a class="zem_slink" title="Comma-separated values" rel="wikipedia" href="http://en.wikipedia.org/wiki/Comma-separated_values">CSV</a> file. Next, simply load the file into Emacs and  insert the complete list, then re-import it in limesurvey.</p><p><a href="http://www.kai-arzheimer.com/blog/2010/01/10/how-to-get-from-stata-to-pajek/" target="_blank">Getting  a data matrix from Stata into Pajek is not necessarily a fun exercise,</a> so I decided to give the <a href="http://networkx.lanl.gov/" target="_blank">networkx</a> module for Python a go, which is simply superb. Networkx has data types for representing social networks, so you can read in a rectangular data matrix (again as CSV),  construct the network in Python and export the whole lot to Pajek with a few lines of code:</p><p><code><br /> #Some boring stuff omitted<br /> #create network<br /> Lecture=nx.DiGraph()<br /> #Initialise<br /> for i in range(1,221):<br /> Lecture.add_node(i, stdg="0")<br /> for line in netreader:<br /> sender = int(line[-1])<br /> #Sender-ID at the very  end<br /> edges=line[6:216]<br /> #Degree-scheme<br /> Lecture.node[sender]['stdg']=line[-8]<br /> #Edges<br /> for index in range(len(edges)):<br /> if edges[index] == '2':<br /> Lecture.add_edge(sender,int(filter(str.isdigit,repr(knoten[index]))),weight=2)<br /> elif edges[index] == '3':<br /> Lecture.add_edge(sender,int(filter(str.isdigit,repr(knoten[index]))),weight=3)<br /> nx.write_pajek(Lecture,'file.net')<br /> </code></p><p>As it turns out, a lecture hall rebellion seems not very likely. About one third of all relationships are not reciprocated, and about a quarter of my students do not know a single other person in the room (at least not by name), so levels of social capital are pretty low.  There is, however, a small group of 10 mostly older students who are form a tightly-knit core, and who know many of the suckers in the periphery. I need to keep an eye on these guys.</p><div id="attachment_407" class="wp-caption alignright" style="width: 160px"><a href="http://www.kai-arzheimer.com/blog/wp-content/uploads/2010/05/nur-reziprok.jpg"><img class="size-thumbnail wp-image-407 " title="Reciprocated ties in a group of students, information on degree scheme overlaid" src="http://www.kai-arzheimer.com/blog/wp-content/uploads/2010/05/nur-reziprok-150x150.jpg" alt="nur reziprok 150x150 Which of my students are most likely to gang up against me?" width="150" height="150" /></a><p class="wp-caption-text">260 reciprocated ties within the same group</p></div><p>Finally, the second graph also shows that those relatively few students who are enrolled in our new BA programs (red, dark blue) are pretty much isolated within the larger group, which is still dominated by students enrolled in the old five year programs (MA yellow, State Examination green) that are phased out. Divide et impera.</p><div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/5065f66c-8fcc-401f-afbc-f04a7abf490e/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=5065f66c-8fcc-401f-afbc-f04a7abf490e" alt=" Which of my students are most likely to gang up against me?"  title="Which of my students are most likely to gang up against me? photo" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div><div class="su-linkbox" id="post-405-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.kai-arzheimer.com/blog/which-of-my-students-are-most-likely-to-gang-up-against-me/&quot;&gt;Which of my students are most likely to gang up against me?&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>]]></content:encoded> <wfw:commentRss>http://www.kai-arzheimer.com/blog/which-of-my-students-are-most-likely-to-gang-up-against-me/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 941/1023 objects using disk: basic

Served from: www.kai-arzheimer.com @ 2012-02-08 17:32:29 -->
