Skip to content

Commit b563e8a

Browse files
committed
1 parent 4b41e33 commit b563e8a

File tree

557 files changed

+24020
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

557 files changed

+24020
-1
lines changed

layouts/partials/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102
{{- $lang := .Lang}}
103103
{{- $separator := or $label_text (not site.Params.disableThemeToggle)}}
104-
{{- with site.Home.AllTranslations }}
104+
{{- with site.Home.Translations }}
105105
<ul class="lang-switch">
106106
{{- if $separator }}<li>|</li>{{ end }}
107107
{{- range . -}}

public/1.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>https://pascalmichaillat.org/1/</title>
5+
<link rel="canonical" href="https://pascalmichaillat.org/1/">
6+
<meta name="robots" content="noindex">
7+
<meta charset="utf-8">
8+
<meta http-equiv="refresh" content="0; url=https://pascalmichaillat.org/1/">
9+
</head>
10+
</html>

public/1.pdf

872 KB
Binary file not shown.

public/1.png

325 KB
Loading

public/1/index.html

+329
Large diffs are not rendered by default.

public/10.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>https://pascalmichaillat.org/10/</title>
5+
<link rel="canonical" href="https://pascalmichaillat.org/10/">
6+
<meta name="robots" content="noindex">
7+
<meta charset="utf-8">
8+
<meta http-equiv="refresh" content="0; url=https://pascalmichaillat.org/10/">
9+
</head>
10+
</html>

public/10.pdf

621 KB
Binary file not shown.

public/10/index.html

+332
Large diffs are not rendered by default.

public/10a.pdf

158 KB
Binary file not shown.

public/10a.png

62.4 KB
Loading

public/10b.png

66.4 KB
Loading

public/10s.png

134 KB
Loading

public/11.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>https://pascalmichaillat.org/11/</title>
5+
<link rel="canonical" href="https://pascalmichaillat.org/11/">
6+
<meta name="robots" content="noindex">
7+
<meta charset="utf-8">
8+
<meta http-equiv="refresh" content="0; url=https://pascalmichaillat.org/11/">
9+
</head>
10+
</html>

public/11.pdf

707 KB
Binary file not shown.

public/11/index.html

+342
Large diffs are not rendered by default.

public/11a.pdf

369 KB
Binary file not shown.

public/11a.png

236 KB
Loading

public/11b.png

250 KB
Loading

public/11c.png

218 KB
Loading

public/11d.png

217 KB
Loading

public/11p.pdf

1.18 MB
Binary file not shown.

public/11s.png

389 KB
Loading

public/12.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>https://pascalmichaillat.org/12/</title>
5+
<link rel="canonical" href="https://pascalmichaillat.org/12/">
6+
<meta name="robots" content="noindex">
7+
<meta charset="utf-8">
8+
<meta http-equiv="refresh" content="0; url=https://pascalmichaillat.org/12/">
9+
</head>
10+
</html>

public/12.pdf

361 KB
Binary file not shown.

public/12/index.html

+321
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,321 @@
1+
<!DOCTYPE html>
2+
<html lang="en" dir="auto">
3+
4+
<head><meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<meta name="robots" content="index, follow">
8+
<title>Critical Values Robust to P-hacking | Pascal Michaillat</title>
9+
<meta name="keywords" content="metascience">
10+
<meta name="description" content="This paper builds a model of hypothesis testing with p-hacking and gives critical values that correct the inflated type 1 error rate caused by p-hacking.">
11+
<meta name="author" content="Adam McCloskey,&thinsp;Pascal Michaillat">
12+
<link rel="canonical" href="https://pascalmichaillat.org/12/">
13+
<link crossorigin="anonymous" href="/assets/css/stylesheet.47b3e24231f3b4ecc9d13c286a79d2c23f7bfc10008b241053397e4f52e0ea24.css" integrity="sha256-R7PiQjHztOzJ0TwoannSwj97/BAAiyQQUzl&#43;T1Lg6iQ=" rel="preload stylesheet" as="style">
14+
<link rel="icon" href="https://pascalmichaillat.org/favicon.ico">
15+
<link rel="icon" type="image/png" sizes="16x16" href="https://pascalmichaillat.org/favicon-16x16.png">
16+
<link rel="icon" type="image/png" sizes="32x32" href="https://pascalmichaillat.org/favicon-32x32.png">
17+
<link rel="apple-touch-icon" href="https://pascalmichaillat.org/apple-touch-icon.png">
18+
19+
<meta name="theme-color" content="#2e2e33">
20+
<meta name="msapplication-TileColor" content="#2e2e33">
21+
<link rel="alternate" hreflang="en" href="https://pascalmichaillat.org/12/">
22+
<noscript>
23+
<style>
24+
#theme-toggle,
25+
.top-link {
26+
display: none;
27+
}
28+
29+
</style>
30+
</noscript><meta property="og:title" content="Critical Values Robust to P-hacking" />
31+
<meta property="og:description" content="This paper builds a model of hypothesis testing with p-hacking and gives critical values that correct the inflated type 1 error rate caused by p-hacking." />
32+
<meta property="og:type" content="article" />
33+
<meta property="og:url" content="https://pascalmichaillat.org/12/" />
34+
<meta property="og:image" content="https://pascalmichaillat.org/12s.png" /><meta property="article:section" content="papers" />
35+
<meta property="article:published_time" content="2024-03-04T00:00:00+00:00" />
36+
<meta property="article:modified_time" content="2024-03-31T00:00:00+00:00" />
37+
38+
<meta name="twitter:card" content="summary_large_image" />
39+
<meta name="twitter:image" content="https://pascalmichaillat.org/12s.png" />
40+
<meta name="twitter:title" content="Critical Values Robust to P-hacking"/>
41+
<meta name="twitter:description" content="This paper builds a model of hypothesis testing with p-hacking and gives critical values that correct the inflated type 1 error rate caused by p-hacking."/>
42+
43+
44+
<script type="application/ld+json">
45+
{
46+
"@context": "https://schema.org",
47+
"@type": "BreadcrumbList",
48+
"itemListElement": [
49+
{
50+
"@type": "ListItem",
51+
"position": 1 ,
52+
"name": "Papers",
53+
"item": "https://pascalmichaillat.org/papers/"
54+
},
55+
{
56+
"@type": "ListItem",
57+
"position": 2 ,
58+
"name": "Critical Values Robust to P-hacking",
59+
"item": "https://pascalmichaillat.org/12/"
60+
}
61+
]
62+
}
63+
</script>
64+
<script type="application/ld+json">
65+
{
66+
"@context": "https://schema.org",
67+
"@type": "BlogPosting",
68+
"headline": "Critical Values Robust to P-hacking",
69+
"name": "Critical Values Robust to P-hacking",
70+
"description": "This paper builds a model of hypothesis testing with p-hacking and gives critical values that correct the inflated type 1 error rate caused by p-hacking.",
71+
"keywords": [
72+
"metascience"
73+
],
74+
"articleBody": " Paper Online appendix Code and data Abstract P-hacking is prevalent in reality but absent from classical hypothesis-testing theory. We therefore build a model of hypothesis testing that accounts for p-hacking. From the model, we derive critical values such that, if they are used to determine significance, and if p-hacking adjusts to the new significance standards, spurious significant results do not occur more often than intended. Because of p-hacking, such robust critical values are larger than classical critical values. In the model calibrated to medical science, the robust critical value is the classical critical value for the same test statistic but with one fifth of the significance level.\nFigure 3A: Critical values robust to p-hacking for one-sided z-test with significance level of 5% Figure 3B: Critical values robust to p-hacking for two-sided z-test with significance level of 5% Citation McCloskey, Adam, and Pascal Michaillat. 2024. “Critical Values Robust to P-hacking.” Review of Economics and Statistics. Forthcoming.\n@article{MM24, author = {Adam McCloskey and Pascal Michaillat}, year = {2024}, title = {Critical Values Robust to P-hacking}, journal = {Review of Economics and Statistics}, note = {Forthcoming}} ",
75+
"wordCount" : "183",
76+
"inLanguage": "en",
77+
"image":"https://pascalmichaillat.org/12s.png","datePublished": "2024-03-04T00:00:00Z",
78+
"dateModified": "2024-03-31T00:00:00Z",
79+
"author":[{
80+
"@type": "Person",
81+
"name": "Adam McCloskey"
82+
}, {
83+
"@type": "Person",
84+
"name": "Pascal Michaillat"
85+
}],
86+
"mainEntityOfPage": {
87+
"@type": "WebPage",
88+
"@id": "https://pascalmichaillat.org/12/"
89+
},
90+
"publisher": {
91+
"@type": "Organization",
92+
"name": "Pascal Michaillat",
93+
"logo": {
94+
"@type": "ImageObject",
95+
"url": "https://pascalmichaillat.org/favicon.ico"
96+
}
97+
}
98+
}
99+
</script>
100+
101+
102+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-97G4MZ4061"></script>
103+
<script>
104+
window.dataLayer = window.dataLayer || [];
105+
function gtag(){dataLayer.push(arguments);}
106+
gtag('js', new Date());
107+
108+
gtag('config', 'G-97G4MZ4061');
109+
</script>
110+
111+
112+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/katex.min.css" integrity="sha384-RZU/ijkSsFbcmivfdRBQDtwuwVqK7GMOw6IMvKyeWL2K5UAlyp6WonmB8m7Jd0Hn" crossorigin="anonymous">
113+
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/katex.min.js" integrity="sha384-pK1WpvzWVBQiP0/GjnvRxV4mOb0oxFuyRxJlk6vVw146n3egcN5C925NCP7a7BY8" crossorigin="anonymous"></script>
114+
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/contrib/auto-render.min.js" integrity="sha384-vZTG03m+2yp6N6BNi5iM4rW4oIwk5DfcNdFfxkk9ZWpDriOkXX8voJBFrAO7MpVl" crossorigin="anonymous"></script>
115+
<script>
116+
document.addEventListener("DOMContentLoaded", function() {
117+
renderMathInElement(document.body, {
118+
119+
120+
delimiters: [
121+
{left: '$$', right: '$$', display: true},
122+
{left: '$', right: '$', display: false},
123+
{left: "\\begin{equation}", right: "\\end{equation}", display: true},
124+
{left: "\\begin{equation*}", right: "\\end{equation*}", display: true},
125+
{left: "\\begin{align}", right: "\\end{align}", display: true},
126+
{left: "\\begin{align*}", right: "\\end{align*}", display: true},
127+
{left: "\\begin{alignat}", right: "\\end{alignat}", display: true},
128+
{left: "\\begin{gather}", right: "\\end{gather}", display: true},
129+
{left: "\\begin{CD}", right: "\\end{CD}", display: true},
130+
],
131+
132+
throwOnError : false
133+
});
134+
});
135+
</script>
136+
137+
138+
139+
</head>
140+
141+
<body class="" id="top">
142+
143+
<header class="header">
144+
<nav class="nav">
145+
<div class="logo">
146+
<a href="https://pascalmichaillat.org/" accesskey="h" title="Pascal Michaillat">
147+
148+
<img src="https://pascalmichaillat.org/favicon.ico" alt="" aria-label="logo"
149+
height="18"
150+
width="18">Pascal Michaillat</a>
151+
<div class="logo-switches">
152+
</div>
153+
</div>
154+
<ul id="menu">
155+
<li>
156+
<a href="https://pascalmichaillat.org/papers/" title="Papers">
157+
<span>Papers</span>
158+
</a>
159+
</li>
160+
<li>
161+
<a href="https://pascalmichaillat.org/courses/" title="Courses">
162+
<span>Courses</span>
163+
</a>
164+
</li>
165+
<li>
166+
<a href="https://pascalmichaillat.org/design/" title="Design">
167+
<span>Design</span>
168+
</a>
169+
</li>
170+
<li>
171+
<a href="https://pascalmichaillat.org/b1/" title="Book">
172+
<span>Book</span>
173+
</a>
174+
</li>
175+
<li>
176+
<a href="https://pmichaillat.substack.com" title="Newsletter">
177+
<span>Newsletter</span>&nbsp;
178+
<svg fill="none" shape-rendering="geometricPrecision" stroke="currentColor" stroke-linecap="round"
179+
stroke-linejoin="round" stroke-width="2.5" viewBox="0 0 24 24" height="12" width="12">
180+
<path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"></path>
181+
<path d="M15 3h6v6"></path>
182+
<path d="M10 14L21 3"></path>
183+
</svg>
184+
</a>
185+
</li>
186+
</ul>
187+
</nav>
188+
</header>
189+
190+
<main class="main">
191+
192+
<article class="post-single">
193+
<header class="post-header">
194+
195+
<h1 class="post-title">
196+
Critical Values Robust to P-hacking
197+
</h1>
198+
<div class="post-meta"><span title='2024-03-04 00:00:00 +0000 UTC'>March 2024</span>&nbsp;&middot;&nbsp;Adam McCloskey,&thinsp;Pascal Michaillat&nbsp;&middot;&nbsp;<a href="https://pascalmichaillat.org/12/" rel="noopener noreferrer" target="_blank">Review of Economics and Statistics</a>
199+
200+
</div>
201+
</header>
202+
<div class="post-content"><div class="thinline"></div>
203+
<ul>
204+
<li><a href="/12.pdf">Paper</a>
205+
</li>
206+
<li><a href="/12a.pdf">Online appendix</a>
207+
</li>
208+
<li><a href="https://github.com/pmichaillat/p-hacking" target="_blank">Code and data</a>
209+
</li>
210+
</ul>
211+
<div class="thinline"></div>
212+
<h5 id="abstract">Abstract</h5>
213+
<p>P-hacking is prevalent in reality but absent from classical hypothesis-testing theory.
214+
We therefore build a model of hypothesis testing that accounts for p-hacking.
215+
From the model, we derive critical values such that, if they are used to determine significance, and if p-hacking adjusts to the new significance standards, spurious significant results do not occur more often than intended. Because of p-hacking, such robust critical values are larger than classical critical values. In the model calibrated to medical science, the robust critical value is the classical critical value for the same test statistic but with one fifth of the significance level.</p>
216+
<div class="thinline"></div>
217+
<h5 id="figure-3a--critical-values-robust-to-p-hacking-for-one-sided-z-test-with-significance-level-of-5">Figure 3A: Critical values robust to p-hacking for one-sided z-test with significance level of 5%</h5>
218+
<p><img loading="lazy" src="/12a.png" alt="" />
219+
</p>
220+
<h5 id="figure-3b--critical-values-robust-to-p-hacking-for-two-sided-z-test-with-significance-level-of-5">Figure 3B: Critical values robust to p-hacking for two-sided z-test with significance level of 5%</h5>
221+
<p><img loading="lazy" src="/12b.png" alt="" />
222+
</p>
223+
<div class="thinline"></div>
224+
<h5 id="citation">Citation</h5>
225+
<p>McCloskey, Adam, and Pascal Michaillat. 2024. &ldquo;Critical Values Robust to P-hacking.&rdquo; <em>Review of Economics and Statistics</em>. Forthcoming.</p>
226+
<div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-BibTeX" data-lang="BibTeX"><span style="display:flex;"><span><span style="color:#0a0;text-decoration:underline">@article</span>{MM24,
227+
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">author</span> = <span style="color:#a50">{Adam McCloskey and Pascal Michaillat}</span>,
228+
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">year</span> = <span style="color:#a50">{2024}</span>,
229+
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">title</span> = <span style="color:#a50">{Critical Values Robust to P-hacking}</span>,
230+
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">journal</span> = <span style="color:#a50">{Review of Economics and Statistics}</span>,
231+
</span></span><span style="display:flex;"><span><span style="color:#1e90ff">note</span> = <span style="color:#a50">{Forthcoming}</span>}
232+
</span></span></code></pre></div>
233+
</div>
234+
235+
<footer class="post-footer">
236+
<ul class="post-tags">
237+
<li><a href="https://pascalmichaillat.org/tags/metascience/">Metascience</a></li>
238+
</ul>
239+
</footer>
240+
</article>
241+
</main>
242+
243+
244+
<script>
245+
let menu = document.getElementById('menu')
246+
if (menu) {
247+
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
248+
menu.onscroll = function () {
249+
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
250+
}
251+
}
252+
253+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
254+
anchor.addEventListener("click", function (e) {
255+
e.preventDefault();
256+
var id = this.getAttribute("href").substr(1);
257+
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
258+
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
259+
behavior: "smooth"
260+
});
261+
} else {
262+
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
263+
}
264+
if (id === "top") {
265+
history.replaceState(null, null, " ");
266+
} else {
267+
history.pushState(null, null, `#${id}`);
268+
}
269+
});
270+
});
271+
272+
</script>
273+
<script>
274+
document.querySelectorAll('pre > code').forEach((codeblock) => {
275+
const container = codeblock.parentNode.parentNode;
276+
277+
const copybutton = document.createElement('button');
278+
copybutton.classList.add('copy-code');
279+
copybutton.innerHTML = 'copy';
280+
281+
function copyingDone() {
282+
copybutton.innerHTML = 'copied!';
283+
setTimeout(() => {
284+
copybutton.innerHTML = 'copy';
285+
}, 2000);
286+
}
287+
288+
copybutton.addEventListener('click', (cb) => {
289+
if ('clipboard' in navigator) {
290+
navigator.clipboard.writeText(codeblock.textContent);
291+
copyingDone();
292+
return;
293+
}
294+
295+
const range = document.createRange();
296+
range.selectNodeContents(codeblock);
297+
const selection = window.getSelection();
298+
selection.removeAllRanges();
299+
selection.addRange(range);
300+
try {
301+
document.execCommand('copy');
302+
copyingDone();
303+
} catch (e) { };
304+
selection.removeRange(range);
305+
});
306+
307+
if (container.classList.contains("highlight")) {
308+
container.appendChild(copybutton);
309+
} else if (container.parentNode.firstChild == container) {
310+
311+
} else if (codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.nodeName == "TABLE") {
312+
313+
codeblock.parentNode.parentNode.parentNode.parentNode.parentNode.appendChild(copybutton);
314+
} else {
315+
316+
codeblock.parentNode.appendChild(copybutton);
317+
}
318+
});
319+
</script>
320+
</body>
321+
</html>

public/12a.pdf

347 KB
Binary file not shown.

public/12a.png

133 KB
Loading

public/12b.png

128 KB
Loading

public/12s.png

219 KB
Loading

public/13.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>https://pascalmichaillat.org/13/</title>
5+
<link rel="canonical" href="https://pascalmichaillat.org/13/">
6+
<meta name="robots" content="noindex">
7+
<meta charset="utf-8">
8+
<meta http-equiv="refresh" content="0; url=https://pascalmichaillat.org/13/">
9+
</head>
10+
</html>

public/13.pdf

807 KB
Binary file not shown.

0 commit comments

Comments
 (0)