<<

A Primer on Complexity: An Introduction to Computational

Shu-Heng Chen Department of National Chengchi University Taipei, Taiwan 116 [email protected]

1 Course Objectives

This course is to enable the students of social sciences to have some initial experiences of computational modeling of social phenomena or social processes.In this regard, it severs as the beginning course for preparing students of social sciences to have computational thinkingof social phenomena.On the other hand, the course is also to serve as a beginning course for the students of science or students with a strong taste for program- ming andmodeling who are, however, very curious of social phenomena, and want to see whether they can develop their talents in the axis of social sciences.

2 Course Description

National Chengchi University is internationally well-known for its social sciences, but what are the natures of social sciences, and, to what extent, do they differ from sciences? Are these differences fundamentally or just superficially? The current social sciences are divided into economics, business, management, political sciences, , , public administration, anthropology, ethnology, religion, geography, law, international relations, etc. Is this division necessary, logical? When a social phenomenon is presenting itself to us, such as populism, polarization, segregation, racism, exploitation, injustice, global warming, income inequality, social exclusiveness or inclusiveness, green energy promotion, anti-gouging legislation, riots, tuition freeze, mass media regulation, finan- cial crisis, nationalism, globalization, will it identify itself: to which sister discipline it belongs? Economics? Psychology? Ethnology? If the purpose of social sciences is to enhance our understanding (harness) of social phenomena, and hence to enable us to develop a good conversation quality among cit- izens of the society from which the social phenomena emerge, then we probably need to promote good conversations among social scientists first. This is the so-called social science in an interdisciplinary context. Without sufficient conversations among social sci- entists first, we are afraid that the students of the current social sciences with so many disciplines may learn a lot, but in a rather fragmental way.

1 Therefore, while entering into different gates of the social science castle, maybe it is useful to have a more generic, comprehensive, jargon-free pursuit of what social science exactly is. What are the rudimentary elements? What are their generic properties? This fundamental pursuit is the focusing subject of this course, which actually makes social science a coherent family. The course provides two answers to this fundamental pursuit.First, as the title of the course suggests, social sciences deal with social phenomena with different degrees of complexity. Some examples from the magnum opus of Thomas Schelling (1921-2016) “Micro Motives and Macro Behavior” (Schelling, 1978) are sufficient enough to illustrate whatwe mean by complexity in social phenomena. In Week 5, we will review his fa- mous work on the segregation phenomenon observed in many metropolitan areas, such as New York, Chicago, and Los Angeles. Why do people of different races tend to be lumped together in residence? Is it because they are not tolerant enough for different eth- nic groups? If individually they each are quite tolerant of the unlike people, would that be surprising if collectively they don’t seem so? This segregation example shows us one lesson: knowledge of individuals may help us little in predicting what would happen ’as a whole’, and this is what makes social science intriguing, fascinating, and complex. However, just in a verbal way, the word complexity does not automatically unveil all deep functioning mechanisms underlying complex social phenomena.To know the “chemistry” which can add up all simple things in a complex form, we need to simulate these social phenomena. Without going deep into the social process and successfully sim- ulating the observed phenomena, our eyes and minds are frequently under great expo- sure to being deceived by what may seem obvious. Nevertheless, as we shall experience in this class (say the Game of Life, Week 2), paper and pencils are far less than enough for simulating social phenomena, even though what we need to consider is just a small-scale primitive society. Hence, here comes our second response (answer) to the fundamental pursuit, i.e., com- putational social science, the subtitle of the class. The idea is to take full advantage of the great advancement in high-performance computing to tackle complex social phenomena. Having said that, this class does not intend to challenge or scare away those students with programming phobia, most likely, students from social science departments. By no means we will teach anything in programming seriously. In fact, the current devel- opment of computational social science already makes it much more approachable with so many easy-to-use software (languages), and NetLogo is one of them (Railsback and Grimm, 2011; Hamill and Gilbert, 2015; Wilensky and Rand, 2015). In this class, we shall use NetLogo to make students have a quick grasp of the three rudimental elements of all social phenomena, namely, agents, also called actors, decision- makers (their personal traits and behavioral rules), social embeddedness (, cultures, laws, history, spatial surroundings), and social interactions. As we shall see in many examples, aided by NetLogo, these three rudimental elements not only are able to simulate many interesting social phenomena but can also overarch various sister disci- plines of the social science family. At the end of the class, we shall leave all students a chance to answer the questions which we begin with. First, is it really a fundamental difference between science and social science? Second, is it really necessary to have so many different treatments for the same social phenomena with so many different disciplines, from A to Z; would it be better if we can have a coher-

2 ent or united framework so that we would be only interestedin things by its relevancy not by its disciplines. Third, can we say something about the future of social science, in particular, in light of shaping a good society?

3 Class Schedule

General Specification:

1. The student is expected to spend 9 hours per week on this course, which means a 6-hour preparation and review work plus 3-hour class attendance.

2. The assignment (the reading and the computer exercises) will be given at the end of each ppt of the lecture.

3. The student is required to reflect upon the lecture received the week and propose questions, comments, or observations before the lecture of the next week. This “weekly report” needs to be submitted to the web as indicated in the class. The late submission will not be accepted.

Weekly Progress:

1. Week One (Lectured on Feb 24, 2021): Background, History, and All Warm-Ups:

(a) Let us begin the story with a genius, (1903-1957) (b) When Social Science become computational and become biological? (c) A fascinating history of computational social science

2. Week Two (Lectured on March 3, 2021): John Conway and His Game of Life: CSS coming to the 1970s

(a) How simple things get so complex and hard to predict? (b) Can Life extend without limit? Can you win the award? (c) It is all in NetLogo

3. Week Three (Lectured on March 10, 2021): Stephen Wolfram and New Kind of Science: CSS coming to the 1980s

(a) Butterfly Effect: Sensitivity to small changes (b) Small is Big: There is nothing unimportant. (c) Identify new types of social phenomena: Systematic way doing social science (d) A first simulation for interesting social dynamics: On the edge of chaos (e) NetLogo, Computer Science, Cellular Automata

4. Week Four (Lectured on March 17, 2021): Sustainable Development and Ecological Balance

3 (a) Uri Wilensky and his perception of science education: Low threshold and high ceiling (b) Wolves and sheep in meadows (c) Alfred Lotka (1880-1949) and Vito Volterra (1860-1940) (d) Predatory-and-Prey Dynamics: Lotka-Volterra Equation (e) NetLogo Models Library: Sample Models/Biology, Wolf Sheep Predation (Wilen- sky and Rand, 2015, Chapter 4)

5. Week Five (Lectured on March 24, 2021): Segregation in Metropolitan Areas

(a) Thomas Schelling: The 2005 Nobel Laureate in Economics (b) Why people with different ethnic groups choose different residential concen- tration? (c) Thomas Schelling and his Segregation Models (d) NetLogo Models Library: Sample Models/Social Science, Segregation

6. Week Six (Lectured on March 31, 2021): Tutorial on Netlogo Programming (lectured by Dr. Tina Yu). Please bring your own computer.

7. Week Seven (Lectured on April 7, 2021): Public Health and Epidemiology

(a) AIDS, SARS, and Bird Flu (b) NetLogo Models Library: Sample Models/Social Science, AIDS

8. Week Eight (Lectured on April 14, 2021): Efficiency and Equity: The El Farol Bar Problem

(a) Brian Arthur and the El Farol Bar (b) Congestion and idle capacity: Too much and too little (c) Social Exclusion (d) NetLogo Models Library: Sample Models/Social Science, El Farol

9. Week Nine(April 21, 2021) Midterm Exam

10. Week Ten (Lectured on April 28, 2021): Traffic in the High Way

(a) Drivers’ behavior and Traffic (b) NetLogo Models Library: Sample Models/Social Science, Traffic Basic, Grid, 2 lines

11. Week Eleven (Lectured on May 5, 2021): Gossip and Social Networks

4 (a) Gossip: Everybody like it so long as it is not about you (b) Social network: Your Facebook, Skype,... (c) How fast gossip can go: Significance of social networks (d) NetLogo Models Library: Sample Models/Social Science, Rumor Mill 12. Week Twelve (Lectured on May 12, 2021): Time and Hero: Who Made Whom? (a) Reynold Boyd and His Flocking Project (b) Swarms and Their Intelligence (c) Who made a hero? Nobody, it is all self-organizing! (d) NetLogo Models Library: Sample Models/Biology, Flocking 13. Week Thirteen (Lectured on May 19, 2021): School’s Anniversary Celebration 14. Week Fourteen (Lectured on May 26, 2021): Great Minds Think Alike (a) It is all done by tacit agreements (b) What we can learn from fireflies? (c) NetLogo Models Library: Sample Models/Biology, Fireflies 15. Week Fifteen (Lectured on June 2, 2021): From Gossip Network to Financial Stability (a) If you don’t do it now, you will regret it. (b) Stock market, foreign exchange market, should government intervene? (c) Natural of intervention (d) NetLogo User Community Models: Artificial Financial Markets 16. Week Sixteen (Lectured on June 9, 2021): From Interpersonal Relation to the Formation of Culture (a) Robert Axtell, one of the BACH group (b) Homophily: Which classmates you are most close to, why? (c) Cultural Formation: Schelling-Axtell Model (d) NetLogo Models Library: Sample Models/Social Science, Party (e) NetLogo User Community Models: Dissemination of Culture 17. Week Seventeen (Lectured on June 16, 2021): Tutorial on Netlogo Programming II (lectured by Dr. Tina Yu). Please bring in your own computer. (a) Sakoda’s Social Interaction Models 18. Week Eighteen (Lectured on June 23, 2021): Final Exam: In-Class Presentation

5 4 Teaching Approach

The course will be taught in English. The course will proceed in lectures. All lectures are prepared in power points, and the students will be able to get these power points before or after the classes. Most lectures will also be accompanied by the using the software NetLogo. Students are encouraged to use skype to interact with the instructor between classes.

5 Teaching Assistant Tasks

The teaching assistant shall help the instructor to supervise and assist students’ term project progress. Assistant shall assist the instructor in classroom preparation, such as the projector, internet connection, etc. Assistant shall help instructor to grade the term project and help answer various administration problem associated with the class, such as classroom change (if needed), information announcement, lecture notes upload, etc.

6 Course Requirements and Grading Standards

The evaluation of the student performance will be based on the following three main- stays.

1. In-class participation (30%): The student is expected to submit comments or questions during the lecture online, and their questions and comments will be used to motivate and encourage further in-class discussions.

2. Midterm Exam (30%): The midterm exam will be designed as an explorative take-home exam. The ques- tions will be essay style, and the student is expected to surf over the internet using various google engine to prepare their answers to the questions.

3. In-class presentation of the group projects (40%): The students are expected to form their own group, with no more than 3 team mem- bers, for working on the term project. The term project is characterized by the social simulation demonstrations of the corresponding social phenomena. The students can apply NetLogo or any other social simulation tool to model and simulate any social phenomenon which interests them. In case that students cannot find any- thing that they are capable of modeling and simulating, the last resort will be a set of defaults with easily-modifiable codes supplied by the instructor. In the lat- ter case, the students can follow either Hamill and Gilbert (2015) or Wilensky and Rand (2015), and pick up a subject from there; the source codes will be provided by the instructors. In the last two weeks, the students are required to give an in-class power-point presentation. To make sure what to be demonstrated are actually pre- sentable, the students are encouraged to discuss their ideas with their instructors in class or in office hours.

6 7 Textbooks and References

There is no formal textbook available for this class. For the term-project purpose, the students are expected to have either Hamill and Gilbert (2015) or Wilensky and Rand (2015), depending on which exercise they would like to take. The instructor will provide students the source codes required to do any project in these two books. In addition, the NetLogo library is the main source of readings. The link is as follows. http://ccl.northwestern.edu/netlogo/ There are also a lot of supplementary materials available for students who like to learn more on their own. Some of these materials can be found in the lecture notes (the power points); some are available upon request.

8 Course Related Links

The most important link to this class, which students are required to visit very often is the official website of NetLogo: http://ccl.northwestern.edu/netlogo/

9 Office Hours

The office hours are (a) Monday 3:00-5:00 pm (b) Friday 3:00-5:00 pm (c) by appointment. The office is #271646, 16F, General Building, South Tower.

References

Adamatzky, A. (2010). Game of life cellular automata. London:: Springer.

Arifin, S. N., Madey, G. R., & Collins, F. H. (2016). Spatial agent-based simulation model- ing in public health: design, implementation, and applications for malaria epidemiol- ogy. John Wiley & Sons.

Arthur, W. B. (2014). Complexity and the Economy. Oxford University Press.

Bentley, P. (1999). Evolutionary design by . Morgan Kaufmann.

Bentley, P. J. (2001). Digital biology: how nature is transforming our technology and our lives. Simon and Schuster.

Bentley, P. J., & Corne, D. W. (2002). An introduction to Creative Evolutionary Systems. In Creative evolutionary systems.

Buchanam, M. (2007). The Social Atoms. Reed Elsevier Inc.

Casti, J. (2010). Mood matters: from rising skirt lengths to the collapse of world powers. New York: Springer Science and Business Media, LLC.

Codd, E. F. (1968). Cellular automata. Academic Press.

7 Cooper, N. G., Eckhardt, R., & Shera, N. (Eds.). (1989). From Cardinals to Chaos: Reflec- tion on the Life and Legacy of . CUP Archive.

Dodge, R. V. (2012). Schelling’s game theory: How to make decisions. Oxford University Press.

Dore, M., Goodwin, R. M.,& Chakravarty, S. (1989). John von Neumann and modern economics. Oxford University Press.

Fisher, L. (2009). The perfect swarm: The science of complexity in everyday life. Basic Books.

Freeman, L. (2004). The development of social network analysis. A Study in the Sociology of Science. Empirical Press

Gilbert, G. N. (Ed.). (2010). Computational social science. Sage.

Griffeath, D., & Moore, C. (Eds.). (2003). New constructions in cellular automata. Oxford University Press on Demand.

Hamill, L., & Gilbert, N. (2015). Agent-based modelling in economics. John Wiley & Sons.

Hays, J. N. (2005). Epidemics and pandemics: their impacts on human history. Abc-clio.

Hemelrijk, C. (Ed.). (2005). Self-organisation and evolution of biological and social sys- tems. Cambridge University Press.

Hoekstra, A. G., Kroc, J., & Sloot, P. (2010). Simulating complex systems by cellular au- tomata. New York: Springer.

Huston, M., DeAngelis, D., & Post, W. (1988). New computer models unify ecological theory: computer show that many ecological patterns can be explained by interactions among individual organisms. BioScience, 38(10), 682-691.

Ilachinski, A. (2001). Cellular automata: a discrete universe. World Scientific Publishing Company.

Lamm, E., & Unger, R. (2011). Biological computation. CRC press.

Lempert, R. J., Popper, S. W., & Bankes, S. C. (2003). Shaping the next one hundred years: new methods for quantitative, long-term policy analysis. Rand, Santa Monica, CA.

Leonard, R. (2010). Von Neumann, Morgenstern, and the creation of game theory: From chess to social science, 1900-1960. Cambridge University Press.

Macrae, N. (1999). John Von Neumann-the Scientific Genius who Pioneered the Modern Computer,. American Mathematical Society.

McIntosh, H. V. (2009). One dimensional cellular automata. Luniver Press.

McNeill, W. H. (1976). Plagues and peoples. Anchor.

8 Miller, P. (2010). The smart swarm: How understanding flocks, schools, and colonies can make us better at communicating, decision making, and getting things done. Avery Publishing Group, Inc..

Moreno, J. L. (1934). Who shall survive?. Nervous and Mental Disease Publishing Co.

Prell, C. (2012). Social network analysis: History, theory and methodology. Sage.

Railsback, S. F., & Grimm, V. (2011). Agent-based and individual-based modeling: a prac- tical introduction. Princeton university press.

Schelling T (1978) Micro Motives and Macro Behavior, W. W. Norton & Company.

Schiff, J. L. (2011). Cellular automata: a discrete view of the world (Vol. 45). John Wiley & Sons.

Sigmund, K. (1993). Games of life: explorations in ecology, evolution and behavior. Courier Dover Publications.

Toffoli, T., & Margolus, N. (1987). Cellular automata machines: a new environment for modeling. MIT press.

Volterra, V. (1928). Variations and fluctuations of the number of individuals in animal species living together. ICES Journal of Marine Science, 3(1), 3-51.

Voorhees, B. H. (1996). Computational analysis of one-dimensional cellular automata (Vol. 15). World Scientific.

Waldrop, M. M. (1992). Complexity: The emerging science at the edge of order and chaos. info London: Viking, 1992.

Wilensky, U., & Rand, W. (2015). An introduction to agent-based modeling: modeling natural, social, and engineered complex systems with NetLogo. MIT Press.

Wolfram, S. (2002). A new kind of science (Vol. 5, p. 130). Champaign, IL: Wolfram media.

Wolfram, S. (2016). Idea Makers: Personal Perspectives on the Lives & Ideas of Some Notable People. Wolfram Media Inc..

Xing, B., & Gao, W. J. (2014). Innovative computational intelligence: a rough guide to 134 clever algorithms. Cham, Heidelberg, New York, Dordrecht, London: Springer International Publishing.

Zenil, H. (2015). Irreducibility and computational equivalence. Springer.

Zinsser, H. (1935). Rats, lice and history. Boston, USA.

9