{"id":3509,"date":"2023-08-30T11:37:10","date_gmt":"2023-08-30T09:37:10","guid":{"rendered":"https:\/\/www.psyctc.org\/psyctc\/?post_type=docs&#038;p=3509"},"modified":"2023-08-30T11:37:11","modified_gmt":"2023-08-30T09:37:11","password":"","slug":"pre-hoc-hypothesis","status":"publish","type":"docs","link":"https:\/\/www.psyctc.org\/psyctc\/glossary2\/pre-hoc-hypothesis\/","title":{"rendered":"Pre hoc hypothesis"},"content":{"rendered":"\n<p>Literally &#8220;before this&#8221; I think.  Crucial idea in inferential statistics, &#8220;tests&#8221; and the Null Hypothesis Significance Test (NHST) paradigm.  The key idea is that you have to have planned your test <em>before looking at the data.<\/em>  Opposite of <em>post hoc <\/em>tests\/hypotheses.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Details<\/h4>\n\n\n\n<p>The beautiful, if rather abstract, logic of the NHST depends on you having some equipoise, some of that &#8220;blinded justice&#8221; with a pair of scales and a blindfold to weigh things without bias or prejudgement.  If you look at your data and run tests on everything against everything and just report the findings that were &#8220;statistically significant&#8221; you have completely misunderstood the equipoise and logic of the method &#8230; or, horribly possible, you are deliberately abusing it.<\/p>\n\n\n\n<p>There was a story, somewhere I worked, avowed with some conviction by those older than me, of a visiting professor running down the corridor shouting &#8220;I&#8217;ve got a p &lt; .001&#8243; result&#8221; only to have it pointed out that the p value was for the correlation between date of birth and age.  Whether true or not, that sort of illustrates the problem of &#8220;p value hunting&#8221; and the importance of only using the NHST on specific, <em>pre hoc <\/em>hypotheses.  <\/p>\n\n\n\n<p>This has become a central part of the movement for &#8220;reproducibility&#8221; and for &#8220;pre-registration&#8221; and &#8220;protocol papers&#8221;. These last two should be ways of clarifying what analyses were really <em>pre hoc <\/em>and following a protocol, including a &#8220;Data Analysis Plan&#8221; (DAP) created, and registered somewhere public, ideally before data collection started, certainly before the data were seen by the data analysts.<\/p>\n\n\n\n<p>This doesn&#8217;t rule out <em>post hoc<\/em> analyses particularly around what I call emergent features or findings.  You might not have planned to look at parenthood as a factor in improvement across therapy but if it turns out, in your purely descriptive\/exploratory analyses to show a very strong association with change then there is nothing illegal (!) in describing that association and even giving it a p value, or more logically, a confidence interval.  What matters is that it should be clear that that analysis is <em>post hoc.<\/em><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Try also<\/h4>\n\n\n\n<p>Descriptive statistics<br>Exploratory analyses<br>Inferential statistics<br>Null Hypothesis Significance Tests (NHST)<br>p-value<br>Pre-registration<br>Protocol paper<br>Reproducibility<br>Research fraud<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Chapters<\/h4>\n\n\n\n<p>Touched on or pertinent to Chapters 5 to 8.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Online resources<\/h4>\n\n\n\n<p>None yet!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Dates<\/h4>\n\n\n\n<p>First created 30.viii.23.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Literally &#8220;before this&#8221; I think. Crucial idea in inferential statistics, &#8220;tests&#8221; and the Null Hypothesis Significance Test (NHST) paradigm. The key idea is that you have to have planned your test before looking at the data. Opposite of post hoc tests\/hypotheses. Details The beautiful, if rather abstract, logic of the NHST depends on you having &hellip; <a href=\"https:\/\/www.psyctc.org\/psyctc\/glossary2\/pre-hoc-hypothesis\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Pre hoc hypothesis<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[18],"glossaries":[],"doc_tag":[],"knowledge_base":[],"class_list":["post-3509","docs","type-docs","status-publish","hentry","doc_category-om-book"],"year_month":"2026-04","word_count":374,"total_views":"1054","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"chris","author_nicename":"chris","author_url":"https:\/\/www.psyctc.org\/psyctc\/author\/chris\/"},"doc_category_info":[{"term_name":"All OM book glossary entries","term_url":"https:\/\/www.psyctc.org\/psyctc\/glossary\/non-knowledgebase\/om-book\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/docs\/3509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/comments?post=3509"}],"version-history":[{"count":1,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/docs\/3509\/revisions"}],"predecessor-version":[{"id":3510,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/docs\/3509\/revisions\/3510"}],"wp:attachment":[{"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/media?parent=3509"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/doc_category?post=3509"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/glossaries?post=3509"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/doc_tag?post=3509"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/www.psyctc.org\/psyctc\/wp-json\/wp\/v2\/knowledge_base?post=3509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}