Below some code samples, if you download the files you can execute them here.
Contagion diffusion on Networks This model generates Erdős–Rényi random networks, as well as Barabási–Albert Preferential Attachment networks. On that, you are allowed to impose a SIR Epidemiological model in order to study the effect of contagion over different networks.
Empathy and Compassion Does Love trump Hate? This short model attempts to provide an answer to the guiding question by providing a very simple model for human interaction among different groups, and for empathic reactions and adjustments. The upshot is to study the conditions in which a population with different groups of people may overcome antipathy given some starting conditions. The model, although very simplistic, has the advantage of being very simple. This model has two groups, interacting and this one has four. Read the description for elaboration.
Bias and information exchange in scientific inquiry This model studies the effect of information sharing when agents are biased, and it shows that given a set of biased agents, information sharing washes the biases out. Read the description for more information.
Reference coalitions and academic isolation The purpose of this model is to study the strategic dimensions of one way of assigning reputation in academic contexts: references. See the description for more details.
Data Analysis Please visit my GitHub for all my projects involving Data Science.