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

Create 2-d heatmap of wealth histogram over time #29

Open
divilian opened this issue May 28, 2019 · 1 comment
Open

Create 2-d heatmap of wealth histogram over time #29

divilian opened this issue May 28, 2019 · 1 comment
Assignees
Labels
analysis Related to analyzing simulation results code Implementation-related phase 2+ Not for CSSSA '19

Comments

@divilian
Copy link
Owner

divilian commented May 28, 2019

We realized we needed this in issue #8 discussion, but it got lost.

To be clear, the action item is this:

  • Currently, if :make_anims is true, the SPECnet code generates a histogram of agent wealths for each iteration, and then puts them together in an animated .gif, where each frame is one iteration of the simulation. (See plot_iteration_graphs() at end of sim.jl.)
  • In addition to this, we want a non-animated graphic that gives the same information. The solution is to have the x-axis represent wealth bin, the y-axis represent iteration number, and the "z-axis" (color) represent the number of agents in that iteration who have wealth in that region (or, put another way, the height of the histogram bar in that bin). The simulation should output a wealth2d.png file in the tempdir() directory with this heatmap.
@divilian divilian added phase 1 For immediate future, probably CSSSA '19. code Implementation-related analysis Related to analyzing simulation results labels May 28, 2019
@divilian
Copy link
Owner Author

We didn't actually mention this in yesterday's Zoom call as one of the things we wanted for phase 1. To be clear, this is a heatmap of a single sim that shows time on its y-axis, rather than a heatmap of an entire param sweep that shows the swept parameter on its y-axis. I'm putting this in phase 2 for now. Squawk if you disagree, @venkatachalapathy or @will-nehrboss.

@divilian divilian added phase 2+ Not for CSSSA '19 and removed phase 1 For immediate future, probably CSSSA '19. labels Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analysis Related to analyzing simulation results code Implementation-related phase 2+ Not for CSSSA '19
Projects
None yet
Development

No branches or pull requests

2 participants