About this resource

    Type of resources
    Activity/Lab, Interactive, Simulation
    Education level(s)
    College / Upper Division (Undergraduates), Graduate / Professional
    Primary user(s)
    Student, Teacher
    Subject area(s)
    Education, Math & Statistics, Social Science
    Language(s)
    English
    Last updated
    13 September 2026

    Milgram Obedience Experiment: An Agent-Based Model

    Open this resource

    Level College / Upper Division (Undergraduates), Graduate / Professional · For Student, Teacher · Language English

    Abstract

    An open, interactive agent-based model (ABM) exploring Stanley Milgram’s classic obedience experiments through computational modelling. Built with the Mesa ABM framework and a Streamlit dashboard, it simulates how situational factors (experimenter presence, learner visibility, peer defection, vocal feedback) shift simulated participants’ likelihood of continuing to administer increasing shocks, and compares results against Milgram’s published obedience rates. Intended as a teaching and computational-modelling resource for exploring model assumptions, calibration, and reproducibility - not as a validated psychological model or empirical replication of the original study.

    Keywords Agent-Based Modelling · Milgram Experiment · Obedience · Computational Social Science · Reproducibility · Mesa · Streamlit