Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
The repository contains the code and output related to the project **"Cross-cousin marriage among Tsimane forager-horticulturalists during demographic transition and market integration"** by Arianna Dalzero, Bret A. Beheim, Hillard Kaplan, Jonathan Stieglitz, Paul L. Hooper, Cody T. Ross, Michael Gurven, Dieter Lukas. Please refer to the manuscript (currently under review at Evolutionary Human Sciences) for further details. The zipped 'osf_tsimane_workflow' folder contains the R files for the analyses, plus the 'R' folder with preparatory analyses files, the 'temp' folders with data summary tables, and the 'outputfiles' folder with the results tables and figures. For access to the original data please see: https://tsimane.anth.ucsb.edu/data.html To repeat the analyses, open the file "runanalysis.R" in R Studio. All the R files of the workflows can be called from the file "runanalysis.R", in the written order. All the figures and tables for each of the two populations are produced automatically in the outputfiles folder. The code produces the following summary tables of results and plots: - ccm_change.pdf, ccm_change.xls/tex (from model frequency cousin marriage ~ birth year, question 1); - ccm_ncc.pdf, ccm_ncc_results.xls/tex (from model frequency cousin marriage ~ number of cousins, question 2.1); - ccm_propcc.pdf, ccm_propcc_results.xls/tex (from model frequency cousin marriage ~ proportion/frequency of cousins, questions 2.2 and 2.3) and - ccm_propcc_results_1.xls/tex (from same model with standardized predictors for easier interpretation of results); - propcc_by.pdf, propcc_by_results.xls/tex (from model proportion/frequency of cousins among potential partners ~ birth year, question 3.1) and - propcc_by_results_1.xls/tex (from same model with standardized predictors); - ccm_propcc_by_results.xls/tex (from model frequency of cousin marriage as a function of proprtion/frequency of cousins potential partners, question 3.2) and - ccm_propcc_by_results_1.xls/tex (from same model with standardized predictors); - Survivalborntocousandnot_cum_restr.pdf, child_survival_results.xls/tex, child_survival_contrast.xls/tex (from age-specific survival up to age 5 estimation, question 4.1); - Survivalborntocousandnot_cum_restr.pdf, child_survival_results.xls/tex, child_survival_contrast.xls/tex (from age specific survival up to age 5 estimation, question 4.1); - Fertilitymarriedtocrosscousandnot_cum, fertility_results.xls/tex, fertility_contrasts.xls/tex, age_at_first_repr_results.xls/tex, age_at first_repr_contrasts.xls/tex (from age-specific fertility up to age 50 estimation, question 4.2, the same model is used also to estimate age at first reproduction, question 4.3); - childsurv_dec_change_contrast.xls/tex (from binomial model childsurival up to age 5 ~ birth decade, question 5.1); - nchildren_dec_change_contrasts.xls/tex (from model number of children ~ birth decade, question 5.2); - afc_dec_change_contrast.xls/tex (from model age at first birth ~ birth decade). In addition, the code produces: - table_frequency.xls/tex (summary table of results of models for questions 1-3) and - table_frequency_1.xls/tex (summary table of results of models for questions 1-3 with standardized predictors); - samplesize_crosscousin_chance.xls/tex (sample size for each birth year for the analyses for questions 1-3); - samplesize_surv_1to5.xls/tex (sample size of individuals in ages 1-5 used for age-specific survival estimation, question 4.1); - samplesize_fert_12to50.xls/tex (sample size of individuals in ages 12-50 used for age-specific fertility estimation, question 4.2); - childsurv_forestplot.pdf (the first row is from age-specific survival up to age 5 estimation, question 4.1, the other rows are from survival up to age 5 by birth decade estimation, question 5.1); - fertility_forestplot.pdf (the first row is from age-specific fertility estimation, question 4.2, the other rows are from number of children by decade estimation, question 5.2); - age_first_repr_forestplot.pdf (the first row is from age-specific fertility estimation, question 4.3, the other rows are from age at first birth by decade, question 5.3).
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.