Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 1 - Professor Daniel Martin Katz
1. Introduction to Computing
for Complex Systems
(Lab Session 1)
daniel martin katz
illinois institute of technology
chicago kent college of law
@computationaldanielmartinkatz.com computationallegalstudies.com
3. Implementation
It is important to understand the canonical
scholarship as highlighted in the lecture
However, model implementation and the mechanics
of other forms of analysis is often the barrier to
entry for most scholars
Implementation is the link between concept and
scientific product
4. Different Software Packages
Netlogo = Introductory Modeling Environment
(Agent Based Models & System Dynamics)
R = Platform for Statistical Analysis
(Includes the IGraph Library for Networks)
Vensim / Nova = Development of System Dynamics
and Ecological Models
Pajek = Basic Software for Empirical Analysis
& Visualization of Networks
Python = Object Oriented Programming Language
Flexible and Fast but High Bar to Entry
6. Getting Started In Netlogo
Netlogo is an Introductory Modeling Environment
Developed By Uri Wilensky @ Northwestern in 1999
Maintained by Center for Connected Learning &
Computer-Based Modeling @ Northwestern
7. Getting Started In Netlogo
Syntax is Inherited from the old “Logo” Language
Resnick (1991)
Wilensky (1999)
Papert & Minsky (1967)
8. Getting Started In Netlogo
Features Aspects of Programming But is Not a
General Language ( C++, Python, Java)
Arguably Easier To Learn Than A General Language
Serves the Implementation Needs of Many Modelers
9. Getting Started In Netlogo
Agent Based Models, System Dynamics Models,
Network Models, GIS, Etc.
Download @ ccl.northwestern.edu/
Should Also Acquire User Manual & Dictionary
Version 4.1, Version 4.1 3D, Version 3.1.5
30. Controls
executes specific
commands “on the fly”
Buttons
Command Center
“once” buttons execute one Action
“forever” buttons repeat the same action
(Until Stopped)
42. Patches: Key Things
Patches do not move -- they are fixed
Patches can breed turtles
Patches can have assigned variables
Patches belong to an agent set
43. Consulting the Netlogo Dictionary
Descriptions of
Patch Primitives
Can Be Accessed
Through the
Netlogo
Dictionary
44. Turtles
Turtles
move
on
top
of
the
patches
Have
decimal
coordinates
(xcor,
ycor)
Have
an
orientation
(heading)
Can
have
different
shapes
45. Turtles
Classic
Hawk
&
Dove
Model
from
Evolutionary
Game
Theory
Runs
in
Netlogo
Version
3.1.5
49. Turtles: Key Things
Turtles move around the environment
Turtles can have various shapes
Turtles can have different variables
Turtles belong to an agent set
50. Colors
color
=
agents
pcolor
=
patches
Select
a
Major
Color
by
Name
Customize
Colors
Using
##
from
Chart
97. Introduction to Computing
for Complex Systems
(Lab Session 1)
daniel martin katz
associate professor of law | illinois tech - chicago kent law
blog | ComputationalLegalStudies
corp | LexPredict