Matlab code to reproduce the simulations described in 'Conformist transmission revisited. Population-level frequency dependence is insufficient to evidence individual-level conformist bias'

Datacite citation style:
Acerbi, Alberto (2016): Matlab code to reproduce the simulations described in 'Conformist transmission revisited. Population-level frequency dependence is insufficient to evidence individual-level conformist bias'. Version 1. 4TU.ResearchData. dataset. https://doi.org/10.4121/uuid:55740a5f-f3f2-4ec1-acb4-87a67e3cb3e3
Other citation styles (APA, Harvard, MLA, Vancouver, Chicago, IEEE) available at Datacite
Dataset
The Matlab code in this folder allows to reproduce the simulations described in: Acerbi, van Leeuwen, Haun, Tennie, 2016, (submitted to) Scientific Reports. The main script is “model.m”. To run the various conditions described in the paper is necessary to first uncomment the lines referring to the parameter(s) of the specific condition (from line 18 to line 42), as well as the call to the function of that condition (from line 52 to line 64). As it is, the simulation runs the condition “Boyd and Richerson original” described in the paper, with D=1. Once uncommented the desired condition, just call *model* from the Matlab command window. All conditions (excluding “Random copying” which can be realised by setting the appropriate parameters in any other condition, for example setting D=0 in “Boyd and Richerson original”, or n_dem=N in “Demonstrators_subgroup”) are in a separate file of the same name. Type *help name_of_the_condition* in the Matlab command window to obtain some information (but please always refer on the longer descriptions in the paper). The relevant output of the simulation is stored in the variable “copying”. “copying” contains the probability to copy versus the frequency of the variant, and it is used to calculate whether the condition can produce or not the “sigmoid”. Just type *plot(copying)* in the Matlab command window at the end of the run to have an idea of the results. Contact alberto.acerbi@gmail.com for any additional information.
history
  • 2016-07-26 first online, published, posted
publisher
Eindhoven University of Technology
format
media types: application/zip, text/plain

DATA

files (1)