Giter Club home page Giter Club logo

social_learning's Introduction

Rational Social Learning Simulations

Introduction

Consider an agent deciding which restaurant to go to: restauarant A or restaurant B. The agent knows that one restaurant is good and the other is bad but is uncertain about which is which.

To help make their decision, the agent receives two pieces of information. First, the agent receives a private signal correlating with which restaurant is better. Then, the agent observes which restaurant each agent before them decided to go to. The agent infers the likely better state, acts accordingly, and then play passes to the other agent.

This simulation calculates, for a given private signal and permutation of observed actions, the optimal decision for each agent to make.

Goals

We seek to investigate the implications of social learnings setups which can't easily be solved analytically.

In particular, this tool is used to explore:

  1. Immitation and anti-immitation
  2. Herding speed
  3. Herding accuracy
  4. Limited observation
  5. Orderless observation
  6. Asymmetric signal strength

Technical

I use a simulation structure to estimate rational beliefs of states given signals and action sequences. For the 20th agent in line to generate their belief after observing the first 19 actions, they consider one million simulations of the signal generation and actions before them if state = A and one million simulations if state = B. They then assess the frequency of the observed action sequence in each state and employ Bayesian updating to generate their beliefs accordingly. In order to simulate the actions of the 19th agent, however, the 19th agent must simulate one million simulations of the first 18 actions under both state A and state B. The 18th agent must do the same, and so on, until the optimal actions of all agents are known.

An iteration is considered to have herded if the next agent's optimal action can be perfectly predicted without knowledge of the agent's private signal.

About

This research project is in collaboration with Matthew Rabin of Harvard University and is based on much of his prior research with Erik Eyster of UCSB.

social_learning's People

Contributors

ben-hb avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.