Assignment 2:
Economic Simulation
Tasks
The second assignment has 2 components and you have the next 2 weeks to work on it.
Replicate the first simulation from https://github.com/norvig/pytudes/blob/main/ipynb/Economics.ipynb#js-repo-pjax-container in R
Attempt to understand why the model produces such inequality by “playing with it”. You would have to first think about why it might do this, describe your thought process, and then change parts of the code, add new visualizations, etc, to see if you can explain why it behaves the way it does. This is going to be quite challenging and creative
Instructions
To do this assignment and submit it you have to:
make a new folder “hw2” in your existing project folder
create a new quarto document, for example “index.qmd” in the “hw2” folder
add “- hw2/index.qmd” to the “_quarto.yml” file sidebar section
write your thoughts as text in the document, r code in R chunks
Render the notebook to run the code and see the results intermixed with your description
add your new files and commit the to git as you make changes
when you are done with the replication part of the assignment, push your changes to github - you will be able to see your results on your github website. Try to finish this first by next week
resume from step 4 for the second part of the assignment to explore the model