6533b884fe1ef96bd12de7ca

RESEARCH PRODUCT

Effects of gender inequality and wealth inequality on within-sex mating competition under hypergyny

Robert C. BrooksKhandis R. BlakeLutz Fromhage

subject

evolutionevoluutio

description

Documentation of code used for MS: "Effects of gender inequality and wealth inequality on within-sex mating competition under hypergyny", published in Evolution and Human Behavior. https://doi.org/10.1016/j.evolhumbehav.2022.08.006 1. Overview The code provided is Matlab code. The function 'iteratedmatching.m' contains the main code for the simulation. When contained in the same folder (along with its sub-functions 'pickcandidates.m' and 'vectperm.m'), this code can be called from the scripts Figure_1.m, Figure_2.m etc. to produce the figures. 2. File list __________ Title: Main code File name: iteratedmatching.m Description: Main code for running simulations of iterative partner matching Title: Figure 1 File name: Figure_1.m Description: Script that produces figure 1. Title: Figure 2 File name: Figure_2.m Description: Script that produces figure 2. Title: Figure 3 File name: Figure_3.m Description: Script that produces figure 3. Title: Figure 4 File name: Figure_4.m Description: Script that produces figure 4. Title: Figure 5 File name: Figure_5.m Description: Script that produces figure 5. Title: Pick candidates File name: pickcandidates.m Description: Sub-function called by function iteratedmatching.m Title: Vector permutation File: vectperm.m Description: Sub-function called by function iteratedmatching.m

http://urn.fi/URN:NBN:fi:jyu-202209024459