Skip to content

elsweinans/opinion_dynamics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opinion_dynamics

Code used for "An exploration of drivers of opinion dynamics". A full description of the model including an ODD protocol can be found in the article.

Code created in python 3.8 with the following module versions:

numpy 1.20.1

matplotlib 3.3.4

seaborn 0.11.1

scipy 1.6.2

networkx 2.5

Figure 1 can be reproduced with the jupyter notebook 'code_fig1.ipynb'.

Figures 2-5 can be reproduced with the jupyter notebook 'code_verification.ipynb'.

Figure 7 can be reproduced with the jupyter notebook 'figs_OFAT.ipynb'. This notebook uses the output generated from the python files 'ODmodel_effect_parametername.py', with the different parameter names.

About

Code used for "An exploration of drivers of opinion dynamics"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published