<?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>Computational Legal Studies™ &#187; agent based models</title>
	<atom:link href="http://computationallegalstudies.com/tag/agent-based-models/feed/" rel="self" type="application/rss+xml" />
	<link>http://computationallegalstudies.com</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 15:09:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Model Thinking &#8211; A Free Online Course with Scott E. Page (Director of UMich Center for Study of Complex Systems)</title>
		<link>http://computationallegalstudies.com/2011/12/01/model-thinking-a-free-online-course-with-scott-e-page-director-of-umich-center-for-study-of-complex-systems/</link>
		<comments>http://computationallegalstudies.com/2011/12/01/model-thinking-a-free-online-course-with-scott-e-page-director-of-umich-center-for-study-of-complex-systems/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 18:32:05 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[complex systems]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=7325</guid>
		<description><![CDATA[Starting in the January 2012, Scott E. Page (one of my PhD thesis advisors) will teach Model Thinking (a free online course offered via the consortium that brought you AI Class, Machine Learning, etc.) Scott and I have previously teamed &#8230; <a href="http://computationallegalstudies.com/2011/12/01/model-thinking-a-free-online-course-with-scott-e-page-director-of-umich-center-for-study-of-complex-systems/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://www.youtube.com/embed/y7CPoSeYQaQ" frameborder="0" width="560" height="315"></iframe></p>
<p>Starting in the January 2012, <strong><a href="http://www.cscs.umich.edu/~spage/">Scott E. Page</a></strong> (one of my PhD thesis advisors) will teach <strong><a href="http://www.modelthinker-class.org/">Model Thinking</a></strong> (a free online course offered via the consortium that brought you <strong><a href="https://www.ai-class.com/">AI Class</a></strong>, <strong><a href="http://www.ml-class.org/course/auth/welcome">Machine Learning</a></strong>, etc.)</p>
<p>Scott and I have previously teamed up to teach <strong><a href="http://computationallegalstudies.com/icpsr-class/">Complex Systems @ the ICPSR Summer Methods Program</a></strong> (where I teach the model implementation lab).  Over 7,000 people and counting have are already signed up &#8230; </p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2011/12/01/model-thinking-a-free-online-course-with-scott-e-page-director-of-umich-center-for-study-of-complex-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to Computing for Complex Systems &#8212; ICPSR 2010 &#8212; My Full Course Slides Available Online!</title>
		<link>http://computationallegalstudies.com/2010/10/22/introduction-to-computing-for-complex-systems-icpsr-2010-my-full-course-slides-available-online/</link>
		<comments>http://computationallegalstudies.com/2010/10/22/introduction-to-computing-for-complex-systems-icpsr-2010-my-full-course-slides-available-online/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 03:49:46 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[computational social science]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[data mining]]></category>
		<category><![CDATA[network analysis]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=4940</guid>
		<description><![CDATA[I am going to bump this post to front of the blog one last time as there has been some interest in this material. It has now been several weeks since we completed the full four week class here at &#8230; <a href="http://computationallegalstudies.com/2010/10/22/introduction-to-computing-for-complex-systems-icpsr-2010-my-full-course-slides-available-online/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://computationallegalstudies.com/icpsr-class/"><img class="aligncenter size-full wp-image-4941" title="ICPSR Summer Complex Systems Computing Course" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2010/08/Picture-10.jpg" alt="" width="493" height="764" /></a></p>
<p style="text-align: justify;">I am going to bump this post to front of the blog one last time as there has been some interest in this material. It has now been several weeks since we completed the full four week class here at the <a href="http://www.icpsr.umich.edu/icpsrweb/sumprog/"><strong>ICPSR Program in Quantitative Methods</strong></a>. In this course, I (together with my colleagues) highlight the methods of complex systems as well as several environments designed to explore the field. These include <a href="http://ccl.northwestern.edu/netlogo/"><strong>Netlogo</strong></a> (agent based models and network models), <a href="http://www.vensim.com/"><strong>Vensim</strong></a> (system dynamics / ecological modeling) and <strong><a href="http://vlado.fmf.uni-lj.si/pub/networks/pajek/">Pajek</a> </strong>(empirical network analysis).  In the final week, we cover a variety of advanced topics:</p>
<ul>
<li><strong>(a) </strong><a href="http://www.slideshare.net/Danielkatz/icpsr2010-class14"><strong>Community Detection in Networks</strong></a></li>
<li><strong>(b) </strong><a href="http://www.slideshare.net/Danielkatz/icpsr2010-class15"><strong>Computational Linguistics / Natural Language Processing</strong></a></li>
<li><strong>(c) </strong><a href="http://www.slideshare.net/Danielkatz/icpsr2010-class16"><strong>Diffusion Models and Mathematical Modeling with Data</strong></a></li>
<li><strong>(d) </strong><a href="http://www.slideshare.net/Danielkatz/icpsr2010-class17"><strong>Exponential Random Graph (</strong></a><em><a href="http://www.slideshare.net/Danielkatz/icpsr2010-class17"><strong>p*</strong></a></em><a href="http://www.slideshare.net/Danielkatz/icpsr2010-class17"><strong>) Models</strong></a></li>
<li><strong>(e) </strong><a href="http://www.slideshare.net/Danielkatz/icpsr2010-class17partii"><strong>Information Retrieval / Webscraping</strong></a></li>
</ul>
<p style="text-align: justify;">
<p style="text-align: justify;">Although, we do not work with more advanced languages within the course, those who need to conduct complex analysis are directed to alternatives such as <a href="http://www.r-project.org/"><strong>R</strong></a>, <a href="http://www.python.org/"><strong>Python</strong></a>, <strong><a href="http://en.wikipedia.org/wiki/Java_(programming_language)">Java</a><span style="font-weight: normal;">, etc. </span></strong></p>
<p style="text-align: justify;"><strong> </strong>Anyway, the slides are designed to be fully self-contained and thus allow for individually paced study of the relevant material. If you work through the slides carefully you should be able to learn the software as well as many of the core principles associated with the <a href="http://en.wikipedia.org/wiki/Complex_system"><strong>science of complex systems</strong></a>. The material should be available online indefinitely. If you have questions, feel free to <a href="http://sitemaker.umich.edu/dankatz/home"><strong>email me</strong></a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2010/10/22/introduction-to-computing-for-complex-systems-icpsr-2010-my-full-course-slides-available-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Riders on a Swarm &#8212; Might Mimicking the Behavior of Ants, Bees &amp; Birds Be the Key to Artificial Intelligence?</title>
		<link>http://computationallegalstudies.com/2010/08/17/riders-on-a-swarm-might-mimicking-the-behavior-of-ants-bees-birds-be-the-key-to-artificial-intelligence/</link>
		<comments>http://computationallegalstudies.com/2010/08/17/riders-on-a-swarm-might-mimicking-the-behavior-of-ants-bees-birds-be-the-key-to-artificial-intelligence/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 04:01:52 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[artificial intelligence and law]]></category>
		<category><![CDATA[classic models]]></category>
		<category><![CDATA[complex systems]]></category>
		<category><![CDATA[computer science]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=5009</guid>
		<description><![CDATA[This week&#8217;s issue of the Economist has an interesting article entitled Riders on a Swarm. Among other things, the article discusses how attempts to computationally model ant, bee and bird behavior have offered insight into major problems in artificial intelligence. &#8230; <a href="http://computationallegalstudies.com/2010/08/17/riders-on-a-swarm-might-mimicking-the-behavior-of-ants-bees-birds-be-the-key-to-artificial-intelligence/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.economist.com/node/16789226"><img class="aligncenter size-full wp-image-5010" title="Riders on the Swarm" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2010/08/Screen-shot-2010-08-16-at-10.41.12-PM.jpg" alt="" width="496" height="334" /></a></p>
<p style="text-align: justify;">This week&#8217;s issue of the Economist has an interesting article entitled <a href="http://www.economist.com/node/16789226"><strong>Riders on a Swarm</strong></a>. Among other things, the article discusses how attempts to computationally model ant, bee and bird behavior have offered insight into major problems in artificial intelligence.</p>
<p style="text-align: justify;">For those not familiar, the examples discussed within the article are classic models in the <a href="http://en.wikipedia.org/wiki/Complex_system"><strong>science of complex systems</strong></a>. For example, here is the <a href="http://ccl.northwestern.edu/netlogo/models/Flocking"><strong>Netlogo implementation of bird flocking</strong></a>. It will run in your browser but requires <em>Java 4.1 or higher</em>. If you decide to take a look &#8212; please click <em><span style="text-decoration: underline;"><strong>setup &#8211; then go</strong></span> </em>to make the model run. Once inside the Netlogo GUI, you can explore how various parameter configurations impact the model&#8217;s outcomes.</p>
<p style="text-align: justify;">One of the major insights of the bird flocking model is how random starting conditions and local behavioral rules can lead to the emergence of observed behavioral patterns that appear (at least on first glance) to be orchestrated by some sort of top down command structure.</p>
<p style="text-align: justify;">This is, of course, not the case. The model is <a href="http://en.wikipedia.org/wiki/Top-down_and_bottom-up_design"><strong>bottom up and not top down</strong></a>. Both the simplicity and the bottom up flavor of the model are apparent when you explore the model&#8217;s code. For those interested, I will take a second and plug the slides from my <a href="http://computationallegalstudies.com/icpsr-class/"><strong>ICPSR class</strong></a>. In the class, I dedicated about an hour of class time to bird flocking model.<strong> <a href="http://www.slideshare.net/Danielkatz/icpsr2010-class6-4861386">Click here for the slides</a><span style="font-weight: normal;">. </span><span style="font-weight: normal;"><span style="font-weight: normal;">In the</span></span><span style="font-weight: normal;"> slides, I</span></strong> walk through some of the important features of the code (discussion starts on slide 16).</p>
<p style="text-align: justify;">
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2010/08/17/riders-on-a-swarm-might-mimicking-the-behavior-of-ants-bees-birds-be-the-key-to-artificial-intelligence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Agents of Change&#8221;  &#8212; Agent Based Models and Methods [ Via The Economist ]</title>
		<link>http://computationallegalstudies.com/2010/07/27/agents-of-change-agent-based-models-and-methods-the-economist/</link>
		<comments>http://computationallegalstudies.com/2010/07/27/agents-of-change-agent-based-models-and-methods-the-economist/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 06:41:30 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[computational social science]]></category>
		<category><![CDATA[computer science]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=4693</guid>
		<description><![CDATA[This week&#8217;s &#8220;economic focus&#8221; in the Economist highlights Agent Based Modeling as an alternative to traditional economic models and methods. As I am currently teaching Agent Based approaches to modeling as part of the ICPSR Introduction to Computing for Complex &#8230; <a href="http://computationallegalstudies.com/2010/07/27/agents-of-change-agent-based-models-and-methods-the-economist/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.economist.com/node/16636121"><img class="aligncenter size-full wp-image-4694" title="ABM's Highlighted in the Economist" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2010/07/Picture-9.jpg" alt="" width="497" height="394" /></a></p>
<p style="text-align: justify;">This week&#8217;s <a href="http://www.economist.com/node/16636121"><strong>&#8220;economic focus&#8221; in the Economist</strong></a> highlights Agent Based Modeling as an alternative to traditional economic models and methods. As I am currently teaching Agent Based approaches to modeling as part of the <a href="http://computationallegalstudies.com/icpsr-class/"><strong>ICPSR Introduction to Computing for Complex Systems</strong></a>, I am quite pleased to see this coverage.  Indeed, the timing could not be better and I plan to highlight this article in the course!</p>
<p style="text-align: justify;">Here are some highlights from the article: &#8220;&#8230; Agent-based modelling does not assume that the economy can achieve a settled equilibrium. No order or design is imposed on the economy from the top down. Unlike many models, ABMs are not populated with “representative agents”: identical traders, firms or households whose individual behaviour mirrors the economy as a whole. Rather, an ABM uses a bottom-up approach which assigns particular behavioural rules to each agent. For example, some may believe that prices reflect fundamentals whereas others may rely on empirical observations of past price trends. Crucially, agents’ behaviour may be determined (and altered) by direct interactions between them, whereas in conventional models interaction happens only indirectly through pricing. This feature of ABMs enables, for example, the copycat behaviour that leads to “herding” among investors. The agents may learn from experience or switch their strategies according to majority opinion. They can aggregate into institutional structures such as banks and firms &#8230;&#8221; For those who are interested, I have made similar points in the post &#8220;<strong><a href="http://computationallegalstudies.com/2010/06/22/complex-models-for-dynamic-time-evolving-landscapes-or-herb-gintis-offers-a-strong-rebuke-of-meltdown-by-thomas-woods/">Complex Models for Dynamic Time Evolving Landscapes &#8211;or&#8211; Herb Gintis Offers a Strong Rebuke of &#8220;Meltdown</a><span style="font-weight: normal;">.</span></strong>&#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2010/07/27/agents-of-change-agent-based-models-and-methods-the-economist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The State of the Union and Computational Models of Standing Ovations</title>
		<link>http://computationallegalstudies.com/2010/01/28/the-state-of-the-union-and-agent-based-models-of-the-standing-ovation-problem/</link>
		<comments>http://computationallegalstudies.com/2010/01/28/the-state-of-the-union-and-agent-based-models-of-the-standing-ovation-problem/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 05:01:13 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=3437</guid>
		<description><![CDATA[The State of the Union often provides for dramatic political theatre. While watching President Obama&#8217;s first State of the Union Address last night, I could not help but think about a particular subplot associated with the speech&#8211;the Republican caucus and the &#8220;standing &#8230; <a href="http://computationallegalstudies.com/2010/01/28/the-state-of-the-union-and-agent-based-models-of-the-standing-ovation-problem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-3439 aligncenter" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2010/01/Barack-Obama-address-Bara-0071.jpg" alt="" width="424" height="281" /></p>
<p style="text-align: justify;">The State of the Union often provides for dramatic political theatre. While watching President Obama&#8217;s first <strong><a href="http://www.nytimes.com/2010/01/28/us/politics/28obama.text.html?pagewanted=1">State of the Union Address</a> </strong>last night, I could not help but think about a particular subplot associated with the speech&#8211;the Republican caucus and the &#8220;<a href="http://www.cscs.umich.edu/~spage/teaching_files/modeling_lectures/MODEL5/M1standopaper.pdf"><strong>standing ovation problem</strong></a>.&#8221; With respect to being the party not currently occupying the White House&#8211;from the individual member all the way up to the full caucus&#8211;it is difficult for the individual member to determine (1) whether to applaud (2) if a given statement by the President is worthy of a standing ovation. From my passive consumption of the television coverage, there was clearly significant variation in the number of Republican caucus members standing at any given applause moment.</p>
<p style="text-align: justify;">For those not familiar, here is a State of the Union based description of the standing ovation problem. &#8220;The standing ovation model illustrates a familiar decision-making problem: after hearing a given statement by the President a subset of the audience begins to applaud. The applause builds and a few members of the respective caucus may decide to stand up in enthusiastic recognition. In this situation every other member of the respective caucus must decide whether to join the standing individuals in their ovation, or else remain seated. It is not a trivial decision; imagine, for example, that you initially decide to stay down quietly but then find yourself surrounded by people standing and clapping vigorously. It seems plausible that you may feel awkward, change your mind and end up standing up, saving yourself a significant dose of potential embarrassment. Analogously, you probably wouldn&#8217;t enjoy being the only person standing and clapping alone in the middle of a crowded chamber of seated people.&#8221;</p>
<p style="text-align: justify;">While often considered along with other related <a href="http://en.wikipedia.org/wiki/Information_cascade"><strong>information cascade</strong></a> problems, generating agent based models for the so called &#8220;standing ovation problem&#8221; has been the focus of a number of scholars.  For example, along with <a href="http://zia.hss.cmu.edu/miller/"><strong>John Miller</strong></a> (Carnegie Mellon), Michigan CSCS Director <a href="http://www.cscs.umich.edu/~spage/"><strong>Scott E. Page</strong></a> has authored a leading article on the &#8220;<a href="http://www.cscs.umich.edu/~spage/teaching_files/modeling_lectures/MODEL5/M1standopaper.pdf"><strong>standing ovation problem</strong></a>.&#8221;  Using an <a href="http://en.wikipedia.org/wiki/Agent-based_model"><strong>agent based modeling</strong></a> approach, Miller &amp; Page analyze a variety dynamics associated with this rich problem. For those interested, here is a link to a <a href="http://jasss.soc.surrey.ac.uk/12/1/6/appendixB/MillerPage2004.html"><strong>standing ovation ABM</strong></a> in Netlogo (requires Java).</p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2010/01/28/the-state-of-the-union-and-agent-based-models-of-the-standing-ovation-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming Dynamic Models in Python-Part 3: Outbreak on a Network</title>
		<link>http://computationallegalstudies.com/2009/11/15/programming-dynamic-models-in-python-3-outbreak-on-a-network/</link>
		<comments>http://computationallegalstudies.com/2009/11/15/programming-dynamic-models-in-python-3-outbreak-on-a-network/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 20:37:36 +0000</pubDate>
		<dc:creator>jzelner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[network analysis]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[social epidemiology]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=2697</guid>
		<description><![CDATA[In this post, we will continue building on the basic models we discussed in the first and second tutorials. If you haven&#8217;t had a chance to take a look at them yet, definitely go back and at least skim them, &#8230; <a href="http://computationallegalstudies.com/2009/11/15/programming-dynamic-models-in-python-3-outbreak-on-a-network/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">In this post, we will continue building on the basic models we discussed in the <a href="http://computationallegalstudies.com/2009/10/11/programming-dynamic-models-in-python/" target="_self"><strong>first</strong></a> and <a href="http://computationallegalstudies.com/2009/10/21/programming-dynamic-models-in-python-coding-efficient-dynamic-models/" target="_self"><strong>second</strong></a> tutorials. If you haven&#8217;t had a chance to take a look at them yet, definitely go back and at least skim them, since the ideas and code there form the backbone of what we&#8217;ll be doing here.</p>
<p style="text-align: justify;">In this tutorial, we will build a model that can simulate outbreaks of disease on a <a href="http://en.wikipedia.org/wiki/Small-world_network" target="_blank"><strong>small-world network</strong></a> (although the code can support arbitrary networks).  This tutorial represents a shift away from both: <strong> </strong></p>
<p style="text-align: justify;"><strong>a)</strong> the mass-action mixing of the first two and and <strong> </strong></p>
<p style="text-align: justify;"><strong>b)</strong> the assumption of social homogeneity across individuals that allowed us to take some shortcuts to simplify model code and speed execution. Put another way, we&#8217;re moving more in the direction of individual-based modeling.</p>
<p style="text-align: justify;">When we&#8217;re done, your model should be producing plots that look like this:</p>
<div id="attachment_2716" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-2716" title="netplotoutbreak" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2009/11/netplotoutbreak1-300x300.png" alt="Outbreak on a small-world network" width="300" height="300" /><p class="wp-caption-text">Outbreak on a small-world network</p></div>
<p>Red nodes are individuals who have been infected before the end of the run, blue nodes are never-infected individuals and green ones are the index cases who are infectious at the beginning of the run.</p>
<p>And your model will be putting out interesting and unpredictable results such as these:</p>
<div id="attachment_2713" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-2713" title="outbreakplot" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2009/11/outbreakplot-300x151.png" alt="Time vs. # of cases" width="300" height="151" /><p class="wp-caption-text">Time vs. # of cases</p></div>
<p>In order to do this one, though, you&#8217;re going to <em><span style="color: #ff0000;"><strong>need</strong></span></em><span style="color: #ff0000;"> </span>to download and install have <a href="http://igraph.sourceforge.net/download.html" target="_blank"><strong>igraph</strong></a> for Python on your system.</p>
<h2>Individual-Based Networks</h2>
<p style="text-align: justify;">
<p style="text-align: justify;">It is important to make the subtle distinction between <em>individual</em> and <a href="http://en.wikipedia.org/wiki/Agent-based_model" target="_blank"><em><strong>agent based models</strong></em></a> very clear here. Although the terms  are often used interchangeably, referring to our nodes, who have no agency, <em>per se</em>, but are instead fairly static receivers and diffusers of infection, as agents, seems like overreaching. Were they to exhibit some kind of adaptive behavior, i.e., avoiding infectious agents or removing themselves from the population during the infective period, they then become more agent-like.</p>
<p style="text-align: justify;">This is not to under- or over-emphasize the importance or utility of either approach, but just to keep the distinction in mind to avoid the &#8220;when all you have is a hammer, everything looks like a nail&#8221; problem.</p>
<p style="text-align: justify;">In short, <a href="http://www.pnas.org/content/99/suppl.3/7187.full.pdf" target="_blank"><strong>adaptive agents are great</strong></a>, but they&#8217;re overkill if you don&#8217;t need them for your specific problem.</p>
<h2>Small World Networks</h2>
<p style="text-align: justify;">The guiding idea behind small-world networks is that they capture some of the structure seen in more realistic contact networks: most contacts are regular in the sense that they are fairly predicable, but there are some contacts that span tightly <a href="http://en.wikipedia.org/wiki/Clustering_coefficient" target="_blank"><strong>clustered</strong></a> social groups and bring them together.</p>
<p style="text-align: justify;">In the basic small-world model, an individual is connected to some (small, typically &lt;=8) number of his or her immediate neighbors. Some fraction of these network connections are then randomly re-wired, so that some individuals who were previously distant in network terms &#8211; i.e., connected by a large number of jumps &#8211; are now adjacent to each other. This also has the effect of shortening the distance between their neighbors and individuals on the other side of the graph. Another way of putting this is that we have shortened the <a href="http://en.wikipedia.org/wiki/Average_path_length"><strong>average path length</strong></a> and increased the average reachability of all nodes.</p>
<p style="text-align: justify;">These random connections are sometimes referred to as &#8220;weak ties&#8221;, as there are fewer of these ties that bridge clusters than there are within clusters. When these networks are considered from a sociological perspective, we often expect to find that the relationship represented by a weak tie is one in which the actors on either end have less in common with each other than they do with their &#8216;closer&#8217; network neighbors.</p>
<p style="text-align: justify;"><a href="http://en.wikipedia.org/wiki/Erd%C5%91s%E2%80%93R%C3%A9nyi_model"><strong>Random networks</strong></a> also have the property of having short average path lengths, but they lack the clustering that gives the small-world model that pleasant smell of quasi-realism that makes them an interesting but largely tractable, testing ground for theories about the impact of social structure on dynamic processes.</p>
<h2>Installation and Implementation Issues</h2>
<p style="text-align: justify;">If you have all the pre-requisites installed on your system, you should be able to just copy and paste this code into a new file and run it with your friendly, local Python interpreter. When you run the model, you should first see a plot of the network, and when you close this, you should see a plot of the number of infections as a function of time shortly thereafter.</p>
<p style="text-align: justify;">Aside from the addition of the network, the major conceptual difference is that the model operates on discrete individuals instead of a homogeneous population of agents. In this case, the only heterogeneity is in the number and identity of each individual&#8217;s contacts, but there&#8217;s no reason we can&#8217;t (and many do) incorporate more heterogeneity (biological, etc.) into a very similar model framework.</p>
<p style="text-align: justify;">With Python, this change in orientation to homogeneous nodes to discrete individuals seems almost trivial, but in other languages it can be somewhat painful. For instance, in C/++, a similar implementation would involve defining a <a href="http://en.wikipedia.org/wiki/Struct_%28C_programming_language%29" target="_blank"><strong>struct</strong></a> with fields for recovery time and individual ID, and defining a custom comparison operator for these structs. Although this is admittedly not a super-high bar to pass, it adds enough complexity that it can scare off novices and frustrate more experienced modelers.</p>
<p style="text-align: justify;">Perhaps more importantly, it often has the effect of convincing programmers that a more heavily object-oriented approach is the way to go, so that each individual is a discrete object. When our individuals are as inert as they are in this model, this ends up being a waste of resources and makes for significantly more cluttered code. The end result can often be a model written in a language that is ostensibly faster than Python, such as C++ or Java, that runs slower than a saner (and more readable) Python implementation.</p>
<p style="text-align: justify;">For those of you who are playing along at home, here are some things to think about and try with this model:</p>
<ol style="text-align: justify;">
<li>Change the kind of network topology the model uses (you can find all of the different networks available in igraph <a href="http://igraph.sourceforge.net/doc/python/igraph.GraphBase-class.html" target="_blank"><strong>here</strong></a>).</li>
<li>Incorporate another level of agent heterogeneity: Allow agents to have differing levels of infectivity (Easier); Give agents different recovery time distributions (Harder, but not super difficult).</li>
<li>Make two network models &#8211; you can think of them as separate towns &#8211; and allow them to weakly influence each other&#8217;s outbreaks. (Try to use the object-oriented framework here with minimal changes to the basic model.)</li>
</ol>
<p style="text-align: justify;">That&#8217;s it for tutorial #3, (other than reviewing the comment code which is below) but definitely check back for more on network models!</p>
<p style="text-align: justify;">In future posts, we&#8217;ll be thinking about more dynamic networks (i.e., ones where the links can change over time), agents with a little more agency, and tools for generating dynamic visualizations (i.e., movies!) of stochastic processes on networks.</p>
<p style="text-align: justify;">That really covers the bulk of the major conceptual issues. Now let&#8217;s work through the implementation.</p>
<h3 style="font-size: 1.17em; text-align: center;"><strong><span style="color: #0000ff;">Click Below to Review the Implementation and Commented Code!</span></strong></h3>
<p style="text-align: center;"><strong><span style="color: #0000ff;"><span id="more-2697"></span><br />
</span></strong></p>
<p style="text-align: center;"><span style="font-weight: bold;">Okay, thanks for clicking through&#8230; now follow along with the comments in the code below:</span><br />
<script src="http://gist.github.com/234127.js"></script></p>
<div style="text-align: center;"><strong><br />
</strong></div>
<p style="text-align: justify;">
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2009/11/15/programming-dynamic-models-in-python-3-outbreak-on-a-network/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Positive Legal Theory and a Model of Intellectual Diffusion on the American Legal Academy [Repost from 4/22]</title>
		<link>http://computationallegalstudies.com/2009/08/26/model-of-intellectual-diffusion-on-the-american-legal-academy-repost-from-422/</link>
		<comments>http://computationallegalstudies.com/2009/08/26/model-of-intellectual-diffusion-on-the-american-legal-academy-repost-from-422/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 09:34:24 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[Law as a Complex System]]></category>
		<category><![CDATA[network analysis]]></category>
		<category><![CDATA[social epidemiology]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=1923</guid>
		<description><![CDATA[For the third installment of posts related to Reproduction of Hierarchy? A Social Network Analysis of the American Law Professoriate, we offer a Netlogo simulation of intellectual diffusion on the network we previously visualized.  As noted in prior posts, we are &#8230; <a href="http://computationallegalstudies.com/2009/08/26/model-of-intellectual-diffusion-on-the-american-legal-academy-repost-from-422/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://cscs.umich.edu/~mjbommar/lpd/lawprofdiffusion.html"><img class="aligncenter size-full wp-image-1922" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2009/08/Picture-22.png" alt="" width="616" height="452" /></a>For the third installment of posts related to <a href="http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1352656"><strong>Reproduction of Hierarchy? A Social Network Analysis of the American Law Professoriate</strong></a>, we offer a Netlogo simulation of intellectual diffusion on the network we previously visualized.  As noted in prior posts, we are interested legal socialization and its role in considering the spread of particular intellectual or doctrinal paradigms. This model captures a discrete run of the social epidemiological model we offer in the paper.   As we noted within the paper, this represents a first cut on the question&#8212;where we favor parsimony over complexity.  In reality, there obviously exist far more dynamics than we engage herein.  The purpose of this exercise is simply to begin to engage the question. In our estimation, a positive theory of law should engage the sociology of the academy &#8212; a group who collectively socialize nearly every lawyer and judge in the United States. In the paper and in the model documentation, we offer some possible model extensions which could be considered in future scholarship.</p>
<p style="text-align: justify;"><strong><span style="-webkit-text-decorations-in-effect: underline; text-decoration: underline;">Once you click through to the model, here is how it works:</span></strong></p>
<p style="text-align: justify;">(1) Click the <strong>Setup </strong>Button in the Upper Left Corner.  This will Display the Network in the Circular Layout.</p>
<p style="text-align: justify;">(2) Click the <strong>Layout</strong> Button.  Depending upon the speed of your machine this may take up to 30 seconds.  Stop the <strong>Layout</strong> Button by Re-Clicking the Button.</p>
<p style="text-align: justify;">(3) Click the <strong>Size Nodes by Degree </strong>Button. You Will Notice the Fairly Central Node Colored in Red.  This is School #12 Northwestern University Law School.  Observe how we have set the default infected school as #12 Northwestern (Hat Tip to <a href="http://ccl.northwestern.edu/#Groups"><strong>Uri Wilensky</strong></a>).  A Full List of School Number is available at the bottom of the page when you click through.</p>
<p style="text-align: justify;">(4) Now, we are ready to begin.  Click the <strong>Spread Once</strong> Button.  The idea then reaches its neighbors with probability <strong>p</strong> (set as a default at .05).  You can click the <strong>Toggle Infection Tree</strong> button (at any point) to observe the discrete paths traversed by the idea.</p>
<p style="text-align: justify;">(5) Click the <strong>Spread Once</strong> Button, again and again.  Notice the plot tracking the time on the <em>x axis</em>and the number of institution infected on the <em>y axis</em>.  This is an estimate of the diffusion curve for the institution.</p>
<p style="text-align: justify;">(6) To restart the simulation, click the <strong>Reinfect One</strong> button.  Prior to hitting this button, slide the<strong>Infected Slider</strong> to any Law School you would like to observe.  Also, feel free to adjust the <strong>p slider</strong> to increase or decrease the infectiousness of the idea.</p>
<p style="text-align: justify;">Please comment if you have any difficulty or questions.  Note you must have <a href="http://java.com/en/"><strong>Java 1.4.1 +</strong></a> installed on your computer.  The Information Technology professionals at many institutions will have already installed this on your machine but if not you will need to download it.   We hope you enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2009/08/26/model-of-intellectual-diffusion-on-the-american-legal-academy-repost-from-422/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forest Fire Model-A Popular Example of Non-Linearity [Repost from 5/13]</title>
		<link>http://computationallegalstudies.com/2009/08/20/the-forest-fire-model-a-popular-example-of-non-linearity/</link>
		<comments>http://computationallegalstudies.com/2009/08/20/the-forest-fire-model-a-popular-example-of-non-linearity/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 06:20:50 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[classic models]]></category>
		<category><![CDATA[evolution of law]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=970</guid>
		<description><![CDATA[The Forest Fire Model is a commonly invoked example of non-linear system&#8211;where a very small perturbation can generate significant differences in observed outcomes. Consider the above Netlogo&#8211;to Run the Model: (1) Adjust the Density Slider to set the concentration within &#8230; <a href="http://computationallegalstudies.com/2009/08/20/the-forest-fire-model-a-popular-example-of-non-linearity/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><span style="color: #551a8b; text-decoration: underline;"><a href="http://ccl.northwestern.edu/netlogo/models/run.cgi?Fire.738.574"><img class="aligncenter size-full wp-image-974" title="Forest Fire Model" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2009/05/picture-54.png" alt="Forest Fire Model" width="643" height="446" /></a></span></p>
<p style="text-align: justify;">The Forest Fire Model is a commonly invoked example of non-linear system&#8211;where a very small perturbation can generate significant differences in observed outcomes. Consider the above Netlogo&#8211;t<a href="http://ccl.northwestern.edu/netlogo/models/run.cgi?Fire.738.574"><strong>o Run the Model</strong></a>: (1) Adjust the <strong>Density</strong> Slider to set the concentration within the Forest.  (2) Hit the <strong>Setup</strong> Button (3) Hit the <strong>Go</strong> Button  &#8230;. Rinse and Repeat at different levels of <strong>Density</strong>.</p>
<p style="text-align: justify;">Above is the output for a run of the model at several levels of <strong>Density</strong> {48%, 56%, 62%}.  Notice the differences in the <strong>Percent Burned</strong> {1.6%, 5.2%, 86.5%}.</p>
<p style="text-align: justify;">This is obviously a theoretical model but it has potential application to a wide class of substantive questions including regulatory failure.  In addition, the Forest Fire Model is important because it has been invoked in the critique of the popular book <em><a href="http://www.amazon.com/Tipping-Point-Little-Things-Difference/dp/0316346624"><strong>The Tipping Point</strong></a></em>. Specifically, in discussing the book network scientist <a href="http://en.wikipedia.org/wiki/Duncan_Watts"><strong>Duncan Watts</strong></a> notes &#8221;It sort of sounds cool &#8230; But it&#8217;s wonderfully persuasive only for as long as you don&#8217;t think about it.&#8221; Watts notes &#8220;&#8230;trends are more like forest fires: There are thousands a year, but only a few become roaring monsters. That&#8217;s because in those rare situations, the landscape was ripe: sparse rain, dry woods, badly equipped fire departments. If these conditions exist, any old match will do&#8230;. and nobody&#8230; will go around talking about the exceptional properties of the spark that started the fire.&#8221; (Quotes from Jan 2008 <a href="http://www.fastcompany.com/magazine/122/is-the-tipping-point-toast.html"><strong>Is the Tipping Point Toast?</strong></a> Fast Company Magazine).</p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2009/08/20/the-forest-fire-model-a-popular-example-of-non-linearity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Power Laws, Preferential Attachment and Positive Legal Theory [Part 1]</title>
		<link>http://computationallegalstudies.com/2009/07/15/power-laws-preferential-attachment-and-positive-legal-theory-part-1/</link>
		<comments>http://computationallegalstudies.com/2009/07/15/power-laws-preferential-attachment-and-positive-legal-theory-part-1/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 04:58:00 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[classic models]]></category>
		<category><![CDATA[computational social science]]></category>
		<category><![CDATA[network analysis]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=1573</guid>
		<description><![CDATA[The visual above is drawn from the Netlogo Simulation of preferential attachment. &#8221;In the model, a given node prefers to connect to other nodes that already display high indegree.  As the number of connections a given agent displays is a function of &#8230; <a href="http://computationallegalstudies.com/2009/07/15/power-laws-preferential-attachment-and-positive-legal-theory-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><span style="color: #551a8b; text-decoration: underline;"><a href="http://ccl.northwestern.edu/netlogo/models/PreferentialAttachment"><img class="aligncenter size-full wp-image-1672" title="Preferential Attachment Model" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2009/07/Picture-28.png" alt="Preferential Attachment Model" width="599" height="446" /></a><br />
</span></p>
<p style="text-align: justify;">The visual above is drawn from the <a href="http://ccl.northwestern.edu/netlogo/models/PreferentialAttachment"><strong>Netlogo Simulation</strong></a> of preferential attachment. &#8221;In the model, a given node prefers to connect to other nodes that already display high indegree.  As the number of connections a given agent displays is a function of the number the agent possessed in earlier time periods, the distribution of connections is highly susceptible to the initial starting conditions. For instance, consider a network that has four nodes A, B, C and D where A is connected to B and C is connected to D. If node E enters the network, assume the initial probability of attachment to the AB community is equal to that of the CD community. Once E connects to either the AB or CD community, subsequent entrants such as node F, G and beyond are more likely to connect with the community selected by E.&#8221; The model offers one of the generative processes responsible for creating a network with a power law distribution.  </p>
<p style="text-align: justify;">There are important differences between the abstract model as initially described in <a href="http://www.barabasi.com/"><strong>Albert-László </strong></a><em><a href="http://www.barabasi.com/"><strong>Barabási</strong></a></em> &amp; <a href="http://www.phys.psu.edu/~ralbert/"><strong>Reka Albert</strong></a>,<em> </em><em><a href="http://www.barabasilab.com/pubs/CCNR-ALB_Publications/199910-15_Science-Emergence/199910-15_Science-Emergence.pdf"><strong>Emergence of Scaling in Random Networks</strong></a></em>, 286 <a href="http://www.sciencemag.org/"><strong>Science</strong></a> 509 (1999) and the dynamics of broader social world.  While a number of extensions of the model have been authored in the period following the original article, what is striking is how much leverage on basic dynamics can be gleaned from the graph analog of a <a href="http://en.wikipedia.org/wiki/Yule–Simon_distribution"><strong>Yule process</strong></a>. </p>
<p style="text-align: justify;">For purposes of positive legal theory consider the following passage &#8230; &#8220;In order to contextualize what a particular observed network structure implies, it is critical to remember that the social landscape need not take any particular form. Scaffolding could indeed assume a variety of flavors and there are causal mechanisms that act at the micro-level to produce the observed macro-architecture.&#8221;  While such distributions have been documented in a variety of context relevant for positive legal theory, it is important to note this distribution of social authority is by no means a given.  Specifically, as we described in <strong><a href="http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1277282">Social Architecture, Judicial Peer Effects and the &#8216;Evolution&#8217; of the Law: Toward a Positive Theory of Judicial Social Structure</a><span style="font-weight: normal;"> social systems can embrace a wide variety of architectures.  Thus, we believe the documented tendency of common law and its constitutive systems to generate such highly skewed distributions is highly relevant. </span></strong></p>
<p style="text-align: justify;">In Part II of this post, we will highlight the current state of the relevant applied legal literature. This includes not only our work but also important studies by a wide number of other legal scholars. To preview, check out <a href="http://computationallegalstudies.com/2009/07/06/citation-analysis-in-continental-jurisdictions/"><strong>this post</strong></a> from a few days ago&#8230;    </p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2009/07/15/power-laws-preferential-attachment-and-positive-legal-theory-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syllabus&#8211;Modeling Law as a Complex Adaptive System</title>
		<link>http://computationallegalstudies.com/2009/05/15/future-syllabus-modeling-law-as-a-complex-adaptive-system/</link>
		<comments>http://computationallegalstudies.com/2009/05/15/future-syllabus-modeling-law-as-a-complex-adaptive-system/#comments</comments>
		<pubDate>Fri, 15 May 2009 04:49:27 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[Law as a Complex System]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=1011</guid>
		<description><![CDATA[Several months ago, I put together this syllabus for use in a future seminar course Law as a Complex System.   A number of my friends and colleagues noted that if were to actually use this syllabus in a course, it &#8230; <a href="http://computationallegalstudies.com/2009/05/15/future-syllabus-modeling-law-as-a-complex-adaptive-system/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><span style="color: #551a8b; text-decoration: underline;"><a href="http://sitemaker.umich.edu/dankatz/files/complexitytheoryandlawsyllabus.doc.pdf"><img class="aligncenter size-full wp-image-1024" title="Law as a CAS" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2009/05/picture-45.png" alt="Law as a CAS" width="406" height="203" /></a><br />
</span></p>
<p style="text-align: justify;">Several months ago, I put together this <a href="http://sitemaker.umich.edu/dankatz/files/complexitytheoryandlawsyllabus.doc.pdf"><strong>syllabus</strong></a> for use in a future seminar course <a href="http://sitemaker.umich.edu/dankatz/files/complexitytheoryandlawsyllabus.doc.pdf"><strong>Law as a Complex System</strong></a>.   A number of my friends and colleagues noted that if were to actually use this syllabus in a course, it would be necessary to reduce the total reading in contained herein. While I completely agree, I still thought I would post it to the blog in its current form. I am proud to say that I am an <a href="https://umich-rackham.custhelp.com/cgi-bin/umich_rackham.cfg/php/enduser/std_adp.php?p_faqid=1739&amp;p_sid=2gwxPQxj&amp;p_lva=1570"><strong>award winning instructor.</strong></a>  Notwithstanding, I am always interested in improving my pedagogical skills. Thus, if you see any law related scholarship you believe should be included please feel free to email me.</p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2009/05/15/future-syllabus-modeling-law-as-a-complex-adaptive-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Revolution Will Not Be Televised &#8212; But Will it Come from HLS or YLS ?   A Social Network Analysis of the Legal Academy (Part IV)</title>
		<link>http://computationallegalstudies.com/2009/04/23/the-revolution-will-not-be-televised-but-will-it-come-from-hls-or-yls-a-social-network-analysis-of-the-legal-academy-part-iv/</link>
		<comments>http://computationallegalstudies.com/2009/04/23/the-revolution-will-not-be-televised-but-will-it-come-from-hls-or-yls-a-social-network-analysis-of-the-legal-academy-part-iv/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 04:03:20 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[evolution of law]]></category>
		<category><![CDATA[law schools]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[social epidemiology]]></category>
		<category><![CDATA[Sociology of Law]]></category>
		<category><![CDATA[structure of science]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=720</guid>
		<description><![CDATA[This is the final installment of posts related to Reproduction of Hierarchy? A Social Network Analysis of the American Law Professoriate. Thanks for your emails. Here is the plot we provide within the paper.  As a general proposition, we believe this &#8230; <a href="http://computationallegalstudies.com/2009/04/23/the-revolution-will-not-be-televised-but-will-it-come-from-hls-or-yls-a-social-network-analysis-of-the-legal-academy-part-iv/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-747" title="Law Prof Diffusion" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2009/04/picture-19.png" alt="Law Prof Diffusion" width="566" height="355" /></p>
<p style="text-align: justify;">This is the final installment of posts related to <a href="http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1352656"><strong>Reproduction of Hierarchy? A Social Network Analysis of the American Law Professoriate</strong></a>. Thanks for your emails.</p>
<p style="text-align: justify;">Here is the plot we provide within the paper.  As a general proposition, we believe this represents an upper bound measure for the intellectual reach of an agenda offered by a given institution.  With respect to our version of the <a href="http://www.stat.columbia.edu/~regina/research/risk.pdf"><strong>Reed Frost</strong></a><strong> </strong>Epidemiological Model, we use the <strong>p</strong> parameter to model &#8220;idea infectiousness.&#8221;  When<strong> p</strong> = 1 every institution &#8220;contacted&#8221; by the idea is infected with the idea. When <strong>p</strong> = 0 no institution &#8220;contacted&#8221; by the idea is infected.  In this version, we use the programming language <a href="http://www.python.org/"><strong>python</strong></a><strong> </strong>to run the model 500 times per institution. The above plot represents an estimate of the &#8220;diffusion curve&#8221; for each of the 184 institutions in our model. Building off <a href="http://en.wikipedia.org/wiki/Central_limit_theorem"><strong>central limit type properties</strong></a>, this leaves a far better estimate of reach than is offered in the single model run from the previous <a href="http://cscs.umich.edu/~mjbommar/lpd/lawprofdiffusion.html"><strong>Netlogo GUI</strong></a>.</p>
<p style="text-align: justify;">A cursory review of the above plot demonstrates, we are far from the <a href="http://en.wikipedia.org/wiki/Nonlinearity"><strong>land of linearity</strong></a>.  Namely, a large number of institutions are able to reach much of the graph with very small changes in the value of<strong> p</strong>.</p>
<p style="text-align: justify;">In the <a href="http://en.wikipedia.org/wiki/The_Structure_of_Scientific_Revolutions"><strong>Structure of Scientific Revolutions</strong></a>, Kuhn quotes from <a href="http://en.wikipedia.org/wiki/Max_Planck"><strong>Max Planck</strong></a>:  &#8221;a new scientific truth does not triumph by convincing its opponents and making them see the light, but rather because its opponents eventually die, and a new generation grows up that is familiar with it.&#8221; Following Planck, we believe retirement is indeed be an important mechanism.  However, we also argue the nature of the <strong>p</strong> parameter is a relevant consideration.  In fact, unpacking various dimensions of <strong>p </strong>is the key to the broader model. Specifically, what are the properties of an idea that generate its infectiousness? Of course, we might like to believe infectiousness is related to a class of normatively attractive properties such as promoting efficiency or justice.  However, it is not clear that this follows.</p>
<p style="text-align: justify;">We took no pass on the question of whether some institutions would be better or worse at producing ideas with greater or lesser values of <strong>p</strong>. The motivated question for this post considers whether, in general, the institutions which are top producers of law professors are (1) leaders in innovation, (2) subsequent ratifiers of a newly established paradigm or (3) defenders of the status quo. In a deep sense, we are asking how to reasonably model decision making by the heterogeneous agents located at such institutions.  Do institutions reward or punish intellectual risk-taking, search, etc.?</p>
<p style="text-align: justify;">While this is an empirical question beyond the scope of this post, it worth asking because it partially informs the micro-dynamics plausibly responsible for generating the spread of new intellectual paradigms.</p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2009/04/23/the-revolution-will-not-be-televised-but-will-it-come-from-hls-or-yls-a-social-network-analysis-of-the-legal-academy-part-iv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classic Model from Complex Systems: The El Farol Bar Problem</title>
		<link>http://computationallegalstudies.com/2009/04/07/classic-model-from-complex-systems-the-el-farol-bar-problem/</link>
		<comments>http://computationallegalstudies.com/2009/04/07/classic-model-from-complex-systems-the-el-farol-bar-problem/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 21:38:15 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[classic models]]></category>
		<category><![CDATA[complex systems]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=228</guid>
		<description><![CDATA[I recently attended a conference at the Santa Fe Institute.  During the trip, I made a point of eating at the El Farol Bar &#38; Restaurant. This restaurant holds a special place in the lore of complex systems.  Thus, I thought I &#8230; <a href="http://computationallegalstudies.com/2009/04/07/classic-model-from-complex-systems-the-el-farol-bar-problem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2009/03/picture-31.png"><img class="size-full wp-image-229 aligncenter" title="picture-31" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2009/03/picture-31.png" alt="picture-31" width="335" height="336" /></a></p>
<p>I recently attended a conference at the <a href="http://www.santafe.edu/"><strong>Santa Fe Institute.</strong></a>  During the trip, I made a point of eating at the <a href="http://www.elfarolsf.com/"><strong>El Farol Bar &amp; Restaurant</strong></a>. This restaurant holds a special place in the lore of complex systems.  Thus, I thought I would take the opportunity to highlight the model on the CLS blog.  </p>
<p>Here is a subset of the model description&#8230;. &#8220;The bar is popular &#8212; especially on Thursday nights when they offer Irish music &#8212; but sometimes becomes overcrowded and unpleasant. In fact, if the patrons of the bar think it will be overcrowded they stay home; otherwise they go enjoy themselves at El Farol. This model explores what happens to the overall attendance at the bar on these popular Thursday evenings, as the patrons use different strategies for determining how crowded they think the bar will be.&#8221;   </p>
<p>The original paper written by Brian Arthur is located<strong> </strong><a href=" http://en.wikipedia.org/wiki/Minority_game"><strong>here</strong></a>. An interesting follow up paper employing <a href="http://en.wikipedia.org/wiki/Reinforcement_learning"><strong>reinforcement learning</strong></a> is located <a href="http://www.econ.ed.ac.uk/papers/The%20El%20Farol%20Bar%20Problem%20Revisited.pdf"><strong>here</strong></a><strong>.    </strong><span>This above is a screen print from the Netlogo model.  <a href="http://ccl.northwestern.edu/netlogo/models/"><strong>Netlogo</strong></a> offers an easy interface useful for exploring a variety of <a href="http://en.wikipedia.org/wiki/Agent_based_modeling"><strong>agent based models</strong></a>.  </span></p>
<p><span>The model will run in your browser provided you have</span><span> Java 1.4.1+.  </span></p>
<p><span>To run the El Farol model, please go <a href="http://ccl.northwestern.edu/netlogo/models/ElFarol"><strong>here</strong></a>.   </span></p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2009/04/07/classic-model-from-complex-systems-the-el-farol-bar-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coming Next Week on CLS Blog</title>
		<link>http://computationallegalstudies.com/2009/04/03/coming-next-week-on-cls-blog/</link>
		<comments>http://computationallegalstudies.com/2009/04/03/coming-next-week-on-cls-blog/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 18:42:05 +0000</pubDate>
		<dc:creator>Daniel Martin Katz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agent based models]]></category>
		<category><![CDATA[classic models]]></category>
		<category><![CDATA[complex systems]]></category>

		<guid isPermaLink="false">http://computationallegalstudies.com/?p=364</guid>
		<description><![CDATA[  A Netlogo 3D screenprint of one of the classic agent based models&#8212;the Shelling Segregation Model is above. We offer it as a holdover until CLS Blog Returns Sunday Night with more exciting content&#8230;.. NEXT WEEK: (1) Discussion of a New &#8230; <a href="http://computationallegalstudies.com/2009/04/03/coming-next-week-on-cls-blog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center; "><img class="aligncenter size-full wp-image-373" title="picture-4" src="http://ec2-107-21-222-181.compute-1.amazonaws.com/wp-content/uploads/2009/04/picture-4.png" alt="picture-4" width="419" height="268" /></p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;">A <strong><a href="http://ccl.northwestern.edu/netlogo/models/Segregation">Netlogo 3D</a></strong> screenprint of one of the classic agent based models&#8212;the <strong><a href="http://ccl.northwestern.edu/netlogo/models/Segregation">Shelling Segregation Model</a><span style="font-weight: normal; "> is above. </span></strong><strong><span style="font-weight: normal; ">We offer it as a holdover until CLS Blog Returns Sunday Night with more exciting content&#8230;.. </span></strong></p>
<p style="text-align: justify;"><strong>NEXT WEEK</strong>:<strong></strong><strong><span style="font-weight: normal; "><br />
(1) Discussion of a New Paper: <em>Computer Programming and the Law<br />
<span style="font-style: normal;">(2) Visualizing the 110th Congress &#8212; The House of Representatives<br />
(3) For Law Students and Law Professors &#8212; Data on the Law Clerk Tournament<br />
(4) And More &#8230;..</span></em></span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://computationallegalstudies.com/2009/04/03/coming-next-week-on-cls-blog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 1/54 queries in 0.016 seconds using apc
Object Caching 1089/1200 objects using apc

Served from: computationallegalstudies.com @ 2012-02-04 07:08:30 -->
