forked from code-check-club/code-check-club
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
185 lines (183 loc) · 9.58 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="generator" content="quarto-0.9.80">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Code Check Club</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
</style>
<script src="index_files/libs/clipboard/clipboard.min.js"></script><script src="index_files/libs/quarto-html/quarto.js"></script><script src="index_files/libs/quarto-html/popper.min.js"></script><script src="index_files/libs/quarto-html/tippy.umd.min.js"></script><script src="index_files/libs/quarto-html/anchor.min.js"></script><link href="index_files/libs/quarto-html/tippy.css" rel="stylesheet">
<link href="index_files/libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet">
<script src="index_files/libs/bootstrap/bootstrap.min.js"></script><link href="index_files/libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="index_files/libs/bootstrap/bootstrap.min.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<div id="quarto-content" class="page-columns page-rows-contents page-layout-article">
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">
<nav id="TOC" role="doc-toc"><h2 id="toc-title">Table of contents</h2>
<ul>
<li>
<a href="#examples" class="nav-link active" data-scroll-target="#examples">Examples</a>
<ul class="collapse">
<li><a href="#debruine_2002" class="nav-link" data-scroll-target="#debruine_2002">DeBruine_2002</a></li>
<li><a href="#docherty_2020" class="nav-link" data-scroll-target="#docherty_2020">Docherty_2020</a></li>
</ul>
</li>
</ul></nav>
</div>
<main class="content" id="quarto-document-content"><header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"><h1 class="title display-7">Code Check Club</h1></div></header><p><img src="images/code-check-club.png" style="width:300px; max-width:33%; float:right;"></p>
<p>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:</p>
<ul>
<li>in a language most of the members know</li>
<li>straightforward analyses</li>
<li>not too long</li>
<li>the coder or a person very familiar with the code will attend</li>
</ul>
<section id="examples" class="level2"><h2 class="anchored" data-anchor-id="examples">Examples</h2>
<section id="debruine_2002" class="level3"><h3 class="anchored" data-anchor-id="debruine_2002">DeBruine_2002</h3>
<p>DeBruine LM (2002). Facial resemblance enhances trust. Proceedings of the Royal Society of London B, 269(1498): 1307-1312. doi: <a href="https://doi.org/10.1098/rspb.2002.2034">10.1098/rspb.2002.2034</a></p>
<section id="abstract" class="level4"><h4 class="anchored" data-anchor-id="abstract">Abstract</h4>
<p>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.</p>
</section><section id="info" class="level4"><h4 class="anchored" data-anchor-id="info">Info</h4>
<p>Data/code: <a href="https://osf.io/f7qws/" class="uri">https://osf.io/f7qws/</a><br>
Coding language: R<br>
Analysis type: t-tests<br>
Contact: <a href="mailto:[email protected]?subject=Code%20Check%20Club:%20DeBruine_2002">Lisa DeBruine</a></p>
<p>Files:</p>
<ul>
<li>DeBruine_2002.html<br>
</li>
<li>DeBruine_2002.Rmd<br>
</li>
<li>example.json<br>
</li>
<li>data
<ul>
<li>trust_game.txt</li>
<li>kin.csv</li>
<li>famous_control.txt</li>
</ul>
</li>
</ul></section></section><section id="docherty_2020" class="level3"><h3 class="anchored" data-anchor-id="docherty_2020">Docherty_2020</h3>
<p>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: <a href="https://doi.org/10.1016/J.EVOLHUMBEHAV.2020.05.005">10.1016/J.EVOLHUMBEHAV.2020.05.005</a></p>
<section id="abstract-1" class="level4"><h4 class="anchored" data-anchor-id="abstract-1">Abstract</h4>
<p>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.</p>
</section><section id="info-1" class="level4"><h4 class="anchored" data-anchor-id="info-1">Info</h4>
<p>Data/code: <a href="https://osf.io/36fs5/" class="uri">https://osf.io/36fs5/</a><br>
Coding language: R<br>
Analysis type: mixed effects models<br>
Contact: <a href="mailto:[email protected]?subject=Code%20Check%20Club:%20Docherty_2020">Lisa DeBruine</a></p>
<p>Files:</p>
<ul>
<li>preprint.doc<br>
</li>
<li>Study 1
<ul>
<li>PV2003-Replication-06.01.20.pdf<br>
</li>
<li>PV2003 Replication 06.01.20.Rmd<br>
</li>
<li>OCMATE_facepref_ANON.csv<br>
</li>
<li>OCMATE_attr_ANON.csv<br>
</li>
</ul>
</li>
<li>Study 2
<ul>
<li>Women’s SRA and fem_pref Ciaran MSc.csv<br>
</li>
<li>Ciaran_analysis_AJL.Rmd<br>
</li>
<li>Ciaran_analysis_AJL.pdf</li>
</ul>
</li>
</ul></section></section></section></main><!-- /main column --><script type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) {
const icon = "";
const anchorJS = new window.AnchorJS();
anchorJS.options = {
placement: 'right',
icon: icon
};
anchorJS.add('.anchored');
const clipboard = new window.ClipboardJS('.code-copy-button', {
target: function(trigger) {
return trigger.previousElementSibling;
}
});
clipboard.on('success', function(e) {
// button target
const button = e.trigger;
// don't keep focus
button.blur();
// flash "checked"
button.classList.add('code-copy-button-checked');
setTimeout(function() {
button.classList.remove('code-copy-button-checked');
}, 1000);
// clear code selection
e.clearSelection();
});
function tippyHover(el, contentFn) {
const config = {
allowHTML: true,
content: contentFn,
maxWidth: 500,
delay: 100,
arrow: false,
appendTo: function(el) {
return el.parentElement;
},
interactive: true,
interactiveBorder: 10,
theme: 'quarto',
placement: 'bottom-start'
};
window.tippy(el, config);
}
const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]');
for (var i=0; i<noterefs.length; i++) {
const ref = noterefs[i];
tippyHover(ref, function() {
let href = ref.getAttribute('href');
try { href = new URL(href).hash; } catch {}
const id = href.replace(/^#\/?/, "");
const note = window.document.getElementById(id);
return note.innerHTML;
});
}
var bibliorefs = window.document.querySelectorAll('a[role="doc-biblioref"]');
for (var i=0; i<bibliorefs.length; i++) {
const ref = bibliorefs[i];
const cites = ref.parentNode.getAttribute('data-cites').split(' ');
tippyHover(ref, function() {
var popup = window.document.createElement('div');
cites.forEach(function(cite) {
var citeDiv = window.document.createElement('div');
citeDiv.classList.add('hanging-indent');
citeDiv.classList.add('csl-entry');
var biblioDiv = window.document.getElementById('ref-' + cite);
if (biblioDiv) {
citeDiv.innerHTML = biblioDiv.innerHTML;
}
popup.appendChild(citeDiv);
});
return popup.innerHTML;
});
}
});
</script>
</div> <!-- /content -->
</body></html>