Repository for data simulations, models and graphs for Barrett, 2022 :Inferential power in identifying frequency-dependent social learning strengthened by increasing behavioral options in the Journal of Animal Ecology. This is also archived on Zenodo with a DOI.
01_multinomial_data_sim.R
is simulation code and model fitting code01a_dirchtlet_info_theory_sims.R
is supplemental probability plot and not super relevant exploratory sims that are not in paper01b_acquisition curves.R
is plotting code for acquisition curves02_multinomial_sim_plots.R
is code for multipanel figures02a_summary_tables.R
is code to produce tables in paper from LaTeXfreq_dep.stan
is code for Stan model- all other files are output of simulations for homogeneous and hetergeneous conditions used in this publication