Code Check Club

This document will record our pilot of a code check club. The first step is to identify some possible code to be checked. Ideally for the first few, this will be:

Examples

DeBruine_2002

DeBruine LM (2002). Facial resemblance enhances trust. Proceedings of the Royal Society of London B, 269(1498): 1307-1312. doi: 10.1098/rspb.2002.2034

Abstract

Organisms are expected to be sensitive to cues of genetic relatedness when making decisions about social behaviour. Relatedness can be assessed in several ways, one of which is phenotype matching: the assessment of similarity between others’ traits and either one’s own traits or those of known relatives. One candidate cue of relatedness in humans is facial resemblance. Here, I report the effects of an experimental manipulation of facial resemblance in a two-person sequential trust game. Subjects were shown faces of ostensible playing partners manipulated to resemble either themselves or an unknown person. Resemblance to the subject’s own face raised the incidence of trusting a partner, but had no effect on the incidence of selfish betrayals of the partner’s trust. Control subjects playing with identical pictures failed to show such an effect. In a second experiment, resemblance of the playing partner to a familiar (famous) person had no effect on either trusting or betrayals of trust.

Info

Data/code: https://osf.io/f7qws/
Coding language: R
Analysis type: t-tests
Contact: Lisa DeBruine

Files:

  • DeBruine_2002.html
  • DeBruine_2002.Rmd
  • example.json
  • data
    • trust_game.txt
    • kin.csv
    • famous_control.txt

Docherty_2020

Docherty C, Lee A, Hahn AC, DeBruine LM & Jones BC (2020). Do more attractive women show stronger preferences for male facial masculinity? Evolution and Human Behavior, 41(4): 312-317. doi: 10.1016/J.EVOLHUMBEHAV.2020.05.005

Abstract

Researchers have suggested that more attractive women will show stronger preferences for masculine men because such women are better placed to offset the potential costs of choosing a masculine mate. However, evidence for correlations between measures of women’s own attractiveness and preferences for masculine men is mixed. Moreover, the samples used to test this hypothesis are typically relatively small. Consequently, we conducted two large-scale studies that investigated possible associations between women’s preferences for facial masculinity and their own attractiveness as assessed from third-party ratings of their facial attractiveness (Study 1, N = 454, laboratory study) and self-rated attractiveness (Study 2, N = 8972, online study). Own attractiveness was positively correlated with preferences for masculine men in Study 2 (self-rated attractiveness), but not Study 1 (third-party ratings of facial attractiveness). This pattern of results is consistent with the proposal that women’s beliefs about their own attractiveness, rather than their physical condition per se, underpins attractiveness-contingent masculinity preferences.

Info

Data/code: https://osf.io/36fs5/
Coding language: R
Analysis type: mixed effects models
Contact: Lisa DeBruine

Files:

  • preprint.doc
  • Study 1
    • PV2003-Replication-06.01.20.pdf
    • PV2003 Replication 06.01.20.Rmd
    • OCMATE_facepref_ANON.csv
    • OCMATE_attr_ANON.csv
  • Study 2
    • Women’s SRA and fem_pref Ciaran MSc.csv
    • Ciaran_analysis_AJL.Rmd
    • Ciaran_analysis_AJL.pdf