Computational Social Science for Sustainability (EBS 181/281)

Winter 2025

Schedule and location

Monday lectures and Wednesday lab sections 11:30 AM - 12:50 PM in 320-109, Winter quarter 2025.

Instructor

Dr. Matthew A. Turner, PhD (email)

Feel free to call me by my first name.

Please see my professional site to learn more about me.

Office hours

  • Monday and Tuesday 1 - 3 PM (Y2E2 352)
  • Thursday 3 - 4 PM (Zoom; link to be shared on Canvas)
  • By appointment

Getting help

I recommend seeking help early if students feel stuck or lost. Please attend office hours, email me to ask questions or set up a time to meet, or seek the help from other students.

Accessibility

Students who need an academic accommodation based on the impact of a disability must initiate the request with the Office of Accessible Education (OAE). Professional staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty. Unless the student has a temporary disability, Accommodation letters are issued for the entire academic year. Students should contact the OAE as soon as possible since timely notice is needed to coordinate accommodations. The OAE is located at 563 Salvatierra Walk (phone: 650-723-1066).

Course overview

The development and diffusion of sustainable innovations, cooperation for sustainable resource management, and political polarization that can undermine these, share a common explanation: these phenomena all emerge from repeated social interactions between individuals over time. These interactions take the form of social learning, social influence, or strategic economic cooperation.

Take this course to learn how to develop computational “experiments” of repeated social interaction that can be used to design more effective sustainability interventions and to analyze behavioral data. Students will learn transferrable technical skills in programming and mathematics. Students will deepen their interdisciplinary understanding of the social and behavioral sciences. With these skills and understanding, students will be empowered to create research products that analyze and evaluate potential sustainability interventions using computation.

Learning goals

Through participation in lecture and lab sections and completion of course activities, students will

  • learn modern approaches to scientific modeling and statistical analysis of social behavior
  • learn to develop, implement, and analyze their own models for designing sustainability interventions
  • learn to write effective research papers using the Introduction, Model, Analysis, Discussion structure
  • improve their R programming skills, including the popular tidyverse, for simulation modeling and data science see the R for Data Science book for more details.

Expectations

Understanding mutual expectations can help everyone succeed. There are things you can expect of me and things I expect of enrolled students.

What you can expect of me

I will do my best to promote an encouraging, safe, and fair learning environment to promote student success. I will strive to understand and support student career goals coming from a diversity of life experiences.

You can expect I will be eager to help when needed, especially if you start from very little to no experience with math and programming. I understand that these subjects can cause anxiety for some.

Expectations of all students

Students are expected attend all scheduled course meetings unless there are extenuating circumstances. Please email if this occurs. Students are expected to seek help if they are struggling or stuck.

Expectations of graduate students

Graduate students will be required to complete an extra exercise on each problem set that will be extra credit for undergraduates. They will be held to higher standards for clarity, structure, and technical detail in midterm and final projects.

Honor code

You are expected to cite sources and individuals from whom you have learned and borrowed ideas as a display of academic, intellectual, and creative integrity. Failure to do so is a violation of Stanford’s Honor Code and is a serious offense, even when the violation is unintentional. Conduct prohibited by the Honor Code includes all forms of academic dishonesty, among them unpermitted collaboration and representing others’ work as one’s own. Please review the policies and guidance from the Office of Community Standards, and documentation and citation resources from the Hume Center for Writing and Speaking.

Course materials

Students will need a laptop or otherwise portable computer to bring to the Wednesday lab sections. There are a number of readings from journals and books (see the Calendar below), but these are either available through Stanford Libraries, or if not I will provide PDF copies via Canvas.

Course structure

Each week will have a Monday lecture on topics in computational social science for sustainability. Wednesday meetings will focus on developing programming, analysis, and writing skills in an interactive lab-section setting. In these Wednesday sections students will be introduced to problem sets and midterm and final projects, and have time to work together with the instructor and peers.

Coursework and Grading

Students will be evaluated based on their completion of six assignments worth 100 points total: four problem sets (10 points each), a midterm project (20 points), and a final project (40 points). Undergraduate students will have the opportunity for bonus points on each problem set.

  • Problem sets: There will be four problem sets introduced on Wednesdays during the computing lab section. Students will also have the opportunity to work together and ask the instructor questions during other lab sections before each assignment is due. (10 points per problem set)
  • Midterm project: Students will write a report on how they will use a model from the course to address a sustainability problem of interest. The midterm project will be used as a foundation for the final project. (20 points)
  • Final project: Students will expand on their midterm project, performing a detailed model analysis and discussing the implications of their results for designing sustainability interventions. (40 points)

Late coursework policy

If there is a family or health emergency or other acute distress please contact me to make arrangements to submit late work without penalty. Otherwise the following policy applies:

  • Problem sets up to 72 hours late can receive 50% credit.
  • Problem sets up to one week late can receive 20% credit.
  • The midterm project may be submitted up to one week late to receive 50% credit.
  • The final project may not be submitted late.
  • No credit will be given for work beyond one week late.

Lecture and lab calendar and topics outline

Calendar

In the calendar below, PS stands for problem set. Subject to change.

Week Topic Coursework Readings
1, M 1/6 and W 1/8 What is social science, why computation, and how these can promote sustainability in socio-ecological systems.
  • PS 1, diffusion via social learning: How many individuals need to be know about beneficial sustainable innovations so that they spread throughout a population? Due 1/22 at 11:30 AM
  • A. Pisor, Lansing, and Magargal (2023)
  • Ostrom (2014)
  • Cox, Arnold, and Tomás (2010)
2, M 1/13 and W 1/15 The effect of social networks on sustainable innovation development and diffusion.
  • A. C. Pisor, Borgerhoff Mulder, and Smith (2024)
  • Centola (2022)
  • Derex and Boyd (2016)
3, M 1/20 and W 1/22 How asymmetric preferences for within-group interaction can create sustainability-promoting social networks, and how to measure this in the real world.
  • PS 1 due 1/22 at 11:30 AM
  • PS 2, how information and opinions spread in different social networks: How careful timing of informational interventions can help limit polarization. Due 2/5 at 11:30 AM
  • Matthew A. Turner et al. (2023)
4, W 1/29 (no class M 1/27) Social influence represented as forces causing opinion dynamics.
  • Matthew A. Turner and Smaldino (2018)
  • Smaldino (2023, Ch. 6)
5, M 2/3 and W 2/5 Opinion dynamics in the context of sustainability. Experimental design and measurement in opinion dynamics experiments.
  • PS 2 due W 2/5 at 11:30 AM
  • Midterm project announced W 2/5, due 2/24 at 11:59 PM
  • Liddell and Kruschke (2018)
  • Galesic et al. (2023)
6, M 2/10 and W 2/12 Common-pool resource management dilemmas: when and why do people cooperate? (Part I)
  • PS 3, modeling and measuring socio-ecological dilemmas: applications include groundwater management and reforestation.Due W 2/26 at 11:30 AM
  • Nowak (2006)
  • J. Andrews and Borgerhoff Mulder (2018)
7, W 2/19 (no class M 2/17) Common-pool resource management dilemmas: when and why do people cooperate? (Part II)
  • Final project announced, due M 3/17 at 11:59 PM
  • Tavoni et al. (2011)
  • Jackson (2008), Ch. 9, especially 9.2 and 9.3
8, M 2/24 and W 2/26 How to perform and report computational social model analyses.
  • PS 3 due W 2/26 at 11:30 AM
  • PS 4, the evolution of institutions for sustainable property rights: with example of promoting carbon-capture farming. Due W 3/12 at 11:30 AM
9, M 3/3 and W 3/5 Institutions support cooperation by balancing variation and homogeneity within and between stakeholder groups.
  • Waring et al. (2015)
  • Waring, Goff, and Smaldino (2017)
  • Jeffrey Andrews et al. (2024)
10, M 3/10 and W 3/12 Review: A look back at how computational social science can promote sustainability, through the lens of the Price equation.
  • PS 4 Due W 3/12
  • Final project due W 3/5 at 11:30 AM
  • Deffner et al. (2024)
  • Bak-Coleman et al. (2021)

Course outline

  1. Computational social science can help design sustainability interventions. Social science theory provides models of repeated human interaction over time that can be used, for example, to represent Ostrom’s eight “design principles” for sustainable socio-ecological systems.

    • Lab: Introducing the 80% success rate exercise, “How much advertising is necessary for an 80% success rate in spreading a sustainable innovation in groups, given population size and average number of acquaintances of people in the group?”
  2. How human psychology, groups, and social networks can promote or inhibit the diffusion of sustainable innovations, Part I: single-group social networks.

  3. How human psychology, groups, and social networks can promote or inhibit the diffusion of sustainable innovations, Part II: two-group (or more) social networks, i.e., metapopulation social networks.

  4. Social influence: understanding the effect of rhetoric as a force that acts on opinions and beliefs. How to measure opinion dynamics and

  5. The emergence of cooperation via reciprocity: application to groundwater sustainability. How to predict and restrict potential free-riding based on marginal utility in managing common pool resources using game theory (see Jackson (2008)).

    • Lab I: “Groundwater sharing dilemma” (as we’ll call it, though it’s just a re-telling of the famous prisoners’ dilemma)
    • Lab II: Agent-based model of behavioral study of “avoidance of disastrous climate change in a public goods game” by Tavoni et al. (2011)
  6. Ideal institutions support human cooperation by balancing variation and maintenance of beneficial behaviors within and between stakeholder groups (Richerson et al. 2016; Waring et al. 2015). Example: sustainable agricultural practices like crop switching (Waring et al. 2023; Kling et al. 2024).

    • Lab I: The evolution of property rights supports sustainability (Waring, Goff, and Smaldino 2017). What sorts of social networks evolve? Could alternatives better promote or inhibit the development and diffusion of innovations?

References

Andrews, J., and M. Borgerhoff Mulder. 2018. Cultural group selection and the design of REDD+: insights from Pemba.” Sustainability Science 13 (1): 93–107. https://doi.org/10.1007/s11625-017-0489-2.
Andrews, Jeffrey, Matthew Clark, Vicken Hillis, and Monique Borgerhoff Mulder. 2024. The cultural evolution of collective property rights for sustainable resource governance.” Nature Sustainability. https://doi.org/10.1038/s41893-024-01290-1.
Bak-Coleman, Joseph B., Mark Alfano, Wolfram Barfuss, Carl T. Bergstrom, Miguel A. Centeno, Iain D. Couzin, Jonathan F. Donges, et al. 2021. Stewardship of global collective behavior.” Proceedings of the National Academy of Sciences of the United States of America 118 (27): 1–10. https://doi.org/10.1073/pnas.2025764118.
Centola, Damon. 2022. The network science of collective intelligence.” Trends in Cognitive Sciences 26 (11): 923–41. https://doi.org/10.1016/j.tics.2022.08.009.
Cox, Michael, Gwen Arnold, and Sergio Villamayor Tomás. 2010. A review of design principles for community-based natural resource management.” Ecology and Society 15 (4). https://doi.org/10.5751/ES-03704-150438.
De Bacco, Caterina, Martina Contisciani, Jonathan Cardoso-Silva, Hadiseh Safdari, Gabriela Lima Borges, Diego Baptista, Tracy Sweet, et al. 2023. Latent network models to account for noisy, multiply reported social network data.” Journal of the Royal Statistical Society Series A: Statistics in Society 186 (3): 355–75. https://doi.org/10.1093/jrsssa/qnac004.
Deffner, Dominik, Natalia Fedorova, Jeffrey Andrews, and Richard McElreath. 2024. Bridging theory and data: A computational workflow for cultural evolution.” Proceedings of the National Academy of Sciences of the United States of America 121 (48): 1–11. https://doi.org/10.1073/pnas.2322887121.
Derex, Maxime, and Robert Boyd. 2016. Partial connectivity increases cultural accumulation within groups.” Proceedings of the National Academy of Sciences of the United States of America 113 (11): 2982–87. https://doi.org/10.1073/pnas.1518798113.
Galesic, Mirta, Daniel Barkoczi, Andrew M. Berdhal, Dora Biro, Giuseppe Carbone, Ilaria Giannoccaro, Robert L. Goldstone, et al. 2023. Beyond collective intelligence : Collective adaptation.” Journal of the Royal Society Interface 20 (20220736). https://doi.org/10.1098/rsif.2022.0736.
Jackson, Matthew O. 2008. Social and Economic Networks. Princeton: Princeton University Press. https://press.princeton.edu/books/paperback/9780691148205/social-and-economic-networks.
Kling, Matthew M., Christopher T. Brittain, Gillian L. Galford, Timothy M. Waring, Laurent Hébert-Dufresne, Matthew P. Dube, Hossein Sabzian, Nicholas J. Gotelli, Brian J. McGill, and Meredith T. Niles. 2024. Innovations through crop switching happen on the diverse margins of US agriculture.” Proceedings of the National Academy of Sciences of the United States of America 121 (42): 1–10. https://doi.org/10.1073/pnas.2402195121.
Liddell, Torrin M., and John K. Kruschke. 2018. Analyzing ordinal data with metric models: What could possibly go wrong? Journal of Experimental Social Psychology 79: 328–48. https://doi.org/10.1016/j.jesp.2018.08.009.
Moser, Cody, and Paul E. Smaldino. 2023. Innovation-facilitating networks create inequality.” Proceedings of the Royal Society B: Biological Sciences 290 (2011). https://doi.org/10.1098/rspb.2023.2281.
Nowak, Martin A. 2006. Five rules for the evolution of cooperation.” Science 314 (5805): 1560–63. https://doi.org/10.1126/science.1133755.
Ostrom, Elinor. 2014. Collective action and the evolution of social norms.” Journal of Natural Resources Policy Research 6 (4): 235–52. https://doi.org/10.1080/19390459.2014.935173.
Pisor, Anne C., Monique Borgerhoff Mulder, and Kristopher M. Smith. 2024. Long-distance social relationships can both undercut and promote local natural resource management.” Philosophical Transactions of the Royal Society B: Biological Sciences 379 (1893). https://doi.org/10.1098/rstb.2022.0269.
Pisor, Anne, J. Stephen Lansing, and Kate Magargal. 2023. Climate change adaptation needs a science of culture.” Philosophical Transactions of the Royal Society B: Biological Sciences 378 (1889). https://doi.org/10.1098/rstb.2022.0390.
Richerson, Peter, Ryan Baldini, Adrian V. Bell, Kathryn Demps, Karl Frost, Vicken Hillis, Sarah Mathew, et al. 2016. Cultural group selection plays an essential role in explaining human cooperation: A sketch of the evidence.” Behavioral and Brain Sciences 39 (2016): e30. https://doi.org/10.1017/S0140525X1400106X.
Ross, Cody T., Richard McElreath, and Daniel Redhead. 2024. Modelling animal network data in R using STRAND.” Journal of Animal Ecology 93 (3): 254–66. https://doi.org/10.1111/1365-2656.14021.
Smaldino, Paul E. 2023. Modeling Social Behavior: Mathematical and Agent-based Models of Social Dynamics and Cultural Evolution. Princeton: Princeton University Press.
Tavoni, Alessandro, Astrid Dannenberg, Giorgos Kallis, and Andreas Löschel. 2011. Inequality, communication, and the avoidance of disastrous climate change in a public goods game.” Proceedings of the National Academy of Sciences of the United States of America 108 (29): 11825–29. https://doi.org/10.1073/pnas.1102493108.
Turner, Matthew A, Alyson L Singleton, Mallory J Harris, Ian Harryman, Cesar Augusto Lopez, Ronan Forde Arthur, Caroline Muraida, and James Holland Jones. 2023. Minority-group incubators and majority-group reservoirs support the diffusion of climate change adaptations.”
Turner, Matthew A., and Paul E. Smaldino. 2018. Paths to Polarization: How Extreme Views, Miscommunication, and Random Chance Drive Opinion Dynamics.” Complexity. https://doi.org/10.1155/2018/2740959.
Waring, Timothy M., Sandra H. Goff, and Paul E. Smaldino. 2017. The coevolution of economic institutions and sustainable consumption via cultural group selection.” Ecological Economics 131: 524–32. https://doi.org/10.1016/j.ecolecon.2016.09.022.
Waring, Timothy M., Michelle Ann Kline, Jeremy S. Brooks, Sandra H. Goff, John Gowdy, Marco A. Janssen, Paul E. Smaldino, and Jennifer Jacquet. 2015. A multilevel evolutionary framework for sustainability analysis.” Ecology and Society 20 (2). https://doi.org/10.5751/ES-07634-200234.
Waring, Timothy M., Meredith T. Niles, Matthew M. Kling, Stephanie N. Miller, Laurent Hébert-Dufresne, Hossein Sabzian, Nicholas Gotelli, and Brian J. McGill. 2023. Operationalizing cultural adaptation to climate change: Contemporary examples from United States agriculture.” Philosophical Transactions of the Royal Society B: Biological Sciences 378 (1889). https://doi.org/10.1098/rstb.2022.0397.