Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hawk/dove: add and visualize agent payoffs #48

Closed
2 tasks done
jerielizabeth opened this issue Dec 11, 2023 · 2 comments
Closed
2 tasks done

hawk/dove: add and visualize agent payoffs #48

jerielizabeth opened this issue Dec 11, 2023 · 2 comments
Assignees
Labels
New Data hoping that the data will help us explain what’s going on a bit better

Comments

@jerielizabeth
Copy link

jerielizabeth commented Dec 11, 2023

[ADDED 11/22]

This idea is fairly straightforward for simulations 1 [single risk-attitude] and 2 [multiple unchanging risk-attitudes]. Could be good to include mean, minimum, and maximum total payoff by risk-attitude: calculate total payoff for each agent, and then, for each risk attitude, take the mean, min, and max of the payoffs for agents who have that risk attitude. [Importantly: we don’t want to take, for example, the minimum payoff some agent gets on a round–we want to take these statistics for each agent’s total.] It will be boring for simulation 1: since we very quickly get a blinking state, everyone has the same average payoff. For simulation 2, we know that the risk-seekers play H more and the risk-avoiders play D more; we want to know whether the risk-seekers are doing better, and are all of them doing better, or are there some “big winners” and other “big losers” etc.

For simulation 3, there’s a difficulty in breaking it up by risk attitude, since the risk attitudes are changing. I think what we’re interested in is which end-states have the highest payoffs for the agents in them (for example, are end-state populations with more risk-avoidant agents better off, sort of vindicating Simon’s idea?). So maybe we want to calculate, for each simulation, (1) the average payoff for all agents; and (2) the average payoff for agents in each “band” (0-2, 3-5, 6-8).

dev notes

  • implement a wealth payoff chart for hawk/dove multi; create a box plot of total wealth for each risk attitude
  • re-order charts on hawk/dove multi interface - move rolling % hawk last; add new wealth payoff chart after the % hawk by risk attitude
@jerielizabeth jerielizabeth added the New Data hoping that the data will help us explain what’s going on a bit better label Dec 11, 2023
@rlskoeser rlskoeser changed the title ADD THE PAYOFFS hawk/dove: add and visualize agent payoffs Dec 14, 2023
@rlskoeser
Copy link
Contributor

include in analysis of batch runs; we have some graphs similar to this in existing colab notebooks, but want to look at overall and each band and compare with different population categories

@rlskoeser rlskoeser self-assigned this Feb 27, 2024
@rlskoeser
Copy link
Contributor

implemented in #69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Data hoping that the data will help us explain what’s going on a bit better
Projects
None yet
Development

No branches or pull requests

2 participants