{"found":57930,"hits":[{"document":{"authors":[{"affiliation":[{"id":"https://ror.org/03m2x1q45","name":"University of Arizona"}],"contributor_roles":[],"family":"Scott","given":"Eric","url":"https://orcid.org/0000-0002-7430-7879"}],"blog":{"authors":null,"community_id":"3446712e-ab03-4bb7-8641-571dcda8d8cd","created":1787702400,"current_feed_url":null,"description":"Tracking disruptions to U.S. federal science funding, grant by grant.","doi":"https://doi.org/10.59350/grantwitness","favicon":"https://rogue-scholar.org/api/communities/3446712e-ab03-4bb7-8641-571dcda8d8cd/logo","feed_format":"application/atom+xml","feed_url":"https://grantwitness.org/updates/rogue-scholar.xml","filter":null,"generator":"Other","home_page_url":"https://grantwitness.org/updates?type=updates","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":true,"slug":"grantwitness","status":"active","subfield":"3321","title":"Grant Witness","updated":1792713600,"use_api":null},"blog_name":"Grant Witness","blog_slug":"grantwitness","content_html":"<p>Because of limited definitive sources of information about grant-level terminations, EPA awards have a more complex status determination logic than other agencies.</p>\n<h2>Data Sources</h2>\n<h4>DOGE</h4>\n<p>DOGE provides data on terminated awards, although we have found that it is incomplete or occasionally incorrect, so for EPA we use it only in combination with other sources as a signal of grant termination.</p>\n<h4>USAspending awards data</h4>\n<p>We use this source primarily for metadata including grantee information, grant assistance listing (CFDA), grant funding opportunity (also called notice of funding announcement or NOFO), and total obligated and total outlaid amounts.\nWe also track changes to project end dates (i.e. project end date moved earlier, a \"cutoff\", or later, a \"reextension\"), and deobligation events (i.e. a negative amount obligated) which we use in combination as signals of disruption.</p>\n<h4>USAspending account data (File C)</h4>\n<p>File C is released roughly once a month (except that Sep/Oct are combined into one release).\nWe use this source primarily for outlay actions which we use to confirm reinstatements.</p>\n<h4>EPA Next Generation Grants System</h4>\n<p>EPA's <a href=\"https://www.epa.gov/enviro/nggs-overview\">Next Generation Grants System (NGGS)</a> provides an API to download grant-level information and we snapshot this data regularly.\u00a0\nWe use it as a source of grant metadata such as grant description, grantee information, etc.\nNotably, it is our only source for grant titles.\nUnfortunately, it does not carry a clear signal of grant termination, but we use project end date cutoffs and deobligation events in combination with similar signals from USAspending award data in our status determination.</p>\n<h4>Terminated Assistance Listings</h4>\n<p>We have information from a trusted confidential source about particular EPA assistance listings (also called CFDAs) that have been terminated that we use in combination with other signals to determine grant status.</p>\n<h4>Our Environment and Public Works Senate Committee</h4>\n<p>The Our Environment and Public Works Senate Committee released a <a href=\"https://www.epw.senate.gov/public/_cache/files/2/f/2fba3e39-8f8f-4535-ac6b-ef1620896335/0FC77B05BE09FC4D2769B08E517E035F415F104DA17EBB6CF7816F99DB8A73E4.3.11.25-oa-list-of-targeted-grants.pdf\">list of terminated EPA awards</a> in March 2025. This is one of our definitive sources of grant terminations.</p>\n<h4>Greenhouse Gas Reduction Fund</h4>\n<p>In March 2025, EPA <a href=\"https://www.epa.gov/aboutepa/greenhouse-gas-reduction-fund\">terminated</a> eight National Clean Investment Fund (NCIF) and Clean Communities Investment Accelerator (CCIA) awards.\nThe CCIA and NCIF programs appear as though they were fully outlaid on USAspending.\nHowever, the outlaid assets are in accounts frozen by the federal government.\nWe do not know exactly how much has been spent, but it is closer to $0 than to the entire award value, so we have manually adjusted the 'funds spent before disruption' and 'funds remaining before disruption' values for these awards.</p>\n<h4>Court documents</h4>\n<p>At the time of writing, there are two court decisions ordering the reinstatement of EPA awards\u2014<a href=\"https://ia803208.us.archive.org/27/items/gov.uscourts.scd.301710/gov.uscourts.scd.301710.157.1.pdf\">Sustainability Institute v. Trump</a> and <a href=\"https://www.courtlistener.com/docket/69855779/57/green-healthy-homes-initiative-inc-v-environmental-protection-agency/\">Green and Healthy Homes Initiative Inc. vs EPA</a>.\nWe use these documents as a definitive source of award reinstatement and will continue to add court documents for similar decisions in the future.</p>\n<h2>Terminations</h2>\n<p>EPA awards are marked as terminated if any of the following conditions are met:</p>\n<ol>\n<li>\n<p>Awards have been reported as such by PIs or trusted sources</p>\n</li>\n<li>\n<p>Our sources show the awards' assistance listing has been terminated <em><strong>and</strong></em> they have experienced a project end date cutoff or are reported terminated by DOGE, or have a deobligation.</p>\n</li>\n<li>\n<p>Awards appear in any of our sources of known terminations (see Our Environment and Public Works Senate Committee and Greenhouse Gas Reduction Fund above)</p>\n</li>\n<li>\n<p>Awards are reported terminated by DOGE and have a project end date cutoff</p>\n</li>\n<li>\n<p>Awards appear in court documents ordering reinstatement (we assume that if they were ordered reinstated, they must have been terminated for EPA)</p>\n</li>\n</ol>\n<h2>Reinstatements</h2>\n<p>EPA awards are considered reinstated if they have had their end date re-extended after a date cutoff, appear in court documents ordering reinstatement, or are reported as reinstated by PIs or trusted sources.\nReinstatements are confirmed after they receive an outlay.</p>\n<h2>Award value</h2>\n<p>The funds obligated and spent at time of earliest disruption are calculated using the current total obligated amount minus obligations since the earliest termination date and the total outlays minus outlays since the earliest termination date, respectively.\nThe outlay and obligation events come from File C, while the current total obligated and outlaid numbers are from the more regularly updating USAspending awards data.\nAs a result, these estimates may fluctuate week-to-week.</p>","doi":"https://doi.org/10.59350/tq3c6-7x998","guid":"https://doi.org/10.59350/tq3c6-7x998","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1792713600,"rid":"z98pv-wa015","summary":"Because of limited definitive sources of information about grant-level terminations, EPA awards have a more complex status determination logic than other agencies.","tags":["Methods","Environmental Protection Agency"],"title":"EPA Grant Disruption Methodology","updated_at":1792793705,"url":"https://grantwitness.org/epa/updates/methodology","version":"v1"}},{"document":{"authors":[{"affiliation":[{"name":"CSM Advising LLC"}],"contributor_roles":[],"family":"Marcum","given":"Christopher","url":"https://orcid.org/0000-0002-0899-6143"}],"blog":{"authors":null,"community_id":"8bdb1ae7-4621-4fa5-ad1a-3a639417dfd5","created":1768694400,"current_feed_url":null,"description":"Perspectives on science, data, and technology that don't fit anywhere else.","doi":"https://doi.org/10.59350/chrismarcum","favicon":"https://rogue-scholar.org/api/communities/8bdb1ae7-4621-4fa5-ad1a-3a639417dfd5/logo","feed_format":"application/atom+xml","feed_url":"http://chrismarcum.com/marcum-blog/feed.atom","filter":null,"generator":"Jekyll","home_page_url":"https://www.chrismarcum.com/marcum-blog/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":true,"slug":"chrismarcum","status":"active","subfield":"3312","title":"Open Evidence","updated":1792713600,"use_api":null},"blog_name":"Open Evidence","blog_slug":"chrismarcum","content_html":"<p>In July, we <a href=\"https://presentofcoding.substack.com/p/no-there-arent-500000-comments-on\">showed</a> that anyone could inflate the  \"comments received\" number displayed on<a href=\"http://regulations.gov/\"> </a><a href=\"https://www.chrismarcum.com/marcum-blog/2026/10/23/GSA-Closed-the-Comment-Loophole-on-Regulations-dot-gov.html/regulations.gov\">regulations.gov</a> \u2013 that is, the number of comments submitted during a public comment period. When you attached a file to a comment, the form asked whether the file contained comments from more than one person or entity. Check yes, and you would be asked for the \"Number of persons/entities represented\" by your comment. You could put any number from 1 to 999,999, and whatever number you picked would be added to the docket's \"comments submitted\" count. We tested it on a<a href=\"https://www.regulations.gov/docket/BLM-2026-0068\"> Bureau of Land Management docket</a>, and the count jumped from 310 to over a million by the next day.</p>\n<p>And this topline \"comments received\" number drives news coverage. Reporters cited 500,000 comments on OMB's<a href=\"https://www.regulations.gov/docket/OMB-2026-0034\"> proposed revisions to the Uniform\nGuidance</a> (2 CFR 200) as a measure of public interest. The true count was still very high at over 164K, but that's a far cry from the half million reported by the press.</p>\n<p>Last weekend, we noticed that this had been fixed, and looked back at archived copies of <a href=\"https://www.chrismarcum.com/marcum-blog/2026/10/23/GSA-Closed-the-Comment-Loophole-on-Regulations-dot-gov.html/regulations.gov\">regulations.gov</a> to see when. We found that on September 4, the General Services Administration (GSA), which runs<a href=\"http://regulations.gov/\"> regulations.gov</a>, removed the question from the comment form. A week later, on September 10, GSA relabeled the count and rewrote its description. We don't know for sure whether our post or<a href=\"https://www.science.org/content/article/did-500-000-people-comment-controversial-u-s-grantmaking-rule-not-likely-analysts-say\"> the press coverage we received on it</a> had anything to do with the decision to fix the count bug. Either way, credit to the civil servants at GSA who made the change happen. That's good governance.</p>\n<h1 id=\"how-we-know\">How we know</h1>\n<p><a href=\"http://regulations.gov/\">Regulations.gov</a> runs on a single JavaScript file that generates the comment form and the count box. Every time GSA updates the site, the file gets a new name. The Internet Archive's Wayback Machine saves copies of those files as it crawls, so we can line up every version from the spring through today and check each one \u2013 which we did.\nEvery prior version we checked until midday on September 4, 2026 includes the \"persons/entities\" question on the comment form. Every version after does not. We were first clued into this because we noticed that, despite a very high rate of comments being submitted from campaigns to the US Census Bureau's<a href=\"https://www.regulations.gov/docket/USBC-2026-0628\"> proposed rulemaking on residency requirements for the 2030 census</a> \u2013 a controversial rulemaking where we would expect such gaming \u2013 the comments submitted to comments published had a relatively consistent difference over time. We were tracking this because of our work on<a href=\"https://handsoffourcens.us/\"> handsoffourcens.us</a>.</p>\n<p>We investigated further to find out if GSA had indeed fixed the bug.</p>\n<table>\n<thead>\n<tr>\n<th>Version</th>\n<th>Saved by Wayback</th>\n<th>Question on form?</th>\n<th>Count description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://web.archive.org/web/20260904161503/https://www.regulations.gov/assets/regs-gov-e4870fb63e6a2cc104d95a28c19ab88d.js\">e4870fb6</a></td>\n<td>Sep 4, 12:15 PM ET</td>\n<td>Yes</td>\n<td>\"as of 11:59 PM yesterday\"</td>\n</tr>\n<tr>\n<td><a href=\"https://web.archive.org/web/20260904191438/https://www.regulations.gov/assets/regs-gov-c583eabbfdcd1ac2716db6b81d0242f4.js\">c583eabb</a></td>\n<td>Sep 4, 3:14 PM ET</td>\n<td><strong>No</strong></td>\n<td>\"as of 11:59 PM yesterday\"</td>\n</tr>\n<tr>\n<td><a href=\"https://web.archive.org/web/20260910235639/https://www.regulations.gov/assets/regs-gov-c92c9d400a3f9ab0de508f06b23c67a5.js\">c92c9d40</a></td>\n<td>Sep 10, 7:56 PM ET</td>\n<td>No</td>\n<td><strong>\"including unpublished\"</strong></td>\n</tr>\n</tbody>\n</table>\n<blockquote>\n<p>The new count description on the dockets is better, too. It now reads:\n<em>\"The number of comment submissions that have been received (including unpublished) to all documents within this docket.\"</em></p>\n</blockquote>\n<h2 id=\"what-wasnt-fixed\">What wasn't fixed</h2>\n<p>The counts for dockets prior to this change are still on this site. For instance, our BLM test docket still shows 1,037,743 submissions received against 4,477 posted, and the OMB docket still shows 496,606 against 164,654. Neither was corrected.</p>\n<p>We also wanted to know whether anyone else had used the loophole before we wrote about it. So we pulled every proposed rule on<a href=\"http://regulations.gov/\"> regulations.gov</a> whose comment period closed between January 2025 and early September 2026, took a random sample of 300, and compared the number received to the number posted. Most line up closely, which is what you'd expect: the difference is usually comments an agency is still reviewing or chose not to post. A few don't line up at all.\nThe standout is an FAA airworthiness directive for a single Airbus Canada aircraft model. These are technical maintenance orders that usually draw a handful of comments. This one shows 656,575 received and 4 posted. A Copyright Office rule about paying royalties through<a href=\"http://pay.gov/\"> Pay.gov</a> shows 91,510 received and none posted. We can't prove those numbers were inflated, but we also can't think of another way they got there.</p>\n<p>Not every big gap reflects a user entering a large number into \"persons/entities\" field. Sometimes, agencies just don't post every individual comment for a mass-mail campaign, and so the posted count will remain significantly below the received count. The EPA in particular will post one representative letter to stand in for thousands of identical ones. EPA's Waters of the United States rule, which closed October 9, shows 121,798 received and 2,095 posted in the API backend. But we can see what's driving this: the <a href=\"https://www.regulations.gov/docket/EPA-HQ-OW-2026-1090\">EPA posted 47</a> \"mass comment campaign\" representative records on that rule, which likely account for much of the gap.</p>\n<table>\n<thead>\n<tr>\n<th><strong>Docket</strong></th>\n<th><strong>Comment period closed</strong></th>\n<th><strong>Received</strong></th>\n<th><strong>Posted</strong></th>\n<th><strong>Difference</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Closed before the fix</strong></td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/docket/OMB-2026-0034\">OMB-2026-0034</a></td>\n<td>Jul 13, 2026</td>\n<td>496,606</td>\n<td>164,654</td>\n<td>331,952</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/docket/BLM-2026-0068\">BLM-2026-0068</a></td>\n<td>Aug 14, 2026</td>\n<td>1,037,743</td>\n<td>4,477</td>\n<td>1,033,266</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/FAA-2025-0199-0008\">FAA-2025-0199-0008</a></td>\n<td>Nov 10, 2025</td>\n<td>656,575</td>\n<td>4</td>\n<td>656,571</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/COLC-2024-0004-0001\">COLC-2024-0004-0001</a></td>\n<td>Jan 13, 2025</td>\n<td>91,510</td>\n<td>0</td>\n<td>91,510</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/FWS-R4-ES-2024-0073-0001\">FWS-R4-ES-2024-0073-0001</a></td>\n<td>Jan 24, 2025</td>\n<td>70,899</td>\n<td>38,045</td>\n<td>32,854</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/EPA-HQ-OAR-2024-0419-0001\">EPA-HQ-OAR-2024-0419-0001</a></td>\n<td>Apr 15, 2025</td>\n<td>20,979</td>\n<td>194</td>\n<td>20,785</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/IRS-2025-0235-0001\">IRS-2025-0235-0001</a></td>\n<td>Oct 22, 2025</td>\n<td>16,903</td>\n<td>321</td>\n<td>16,582</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/docket/DOT-OST-2025-0831\">DOT-OST-2025-0831</a></td>\n<td>Aug 21, 2026</td>\n<td>1,357</td>\n<td>1,354</td>\n<td>3</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/docket/OCC-2026-0331\">OCC-2026-0331</a></td>\n<td>Aug 21, 2026</td>\n<td>524</td>\n<td>23</td>\n<td>501</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/docket/EPA-HQ-OW-2026-1090\">EPA-HQ-OW-2026-1090</a></td>\n<td>May 26, 2026</td>\n<td>47</td>\n<td>47</td>\n<td>0</td>\n</tr>\n<tr>\n<td><strong>Comment period open after the fix</strong></td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/EPA-HQ-OW-2025-0322-15447\">EPA-HQ-OW-2025-0322-15447</a></td>\n<td>Oct 9, 2026</td>\n<td>121,798</td>\n<td>2,095</td>\n<td>119,703</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/FS-2025-0001-342438\">FS-2025-0001-342438</a></td>\n<td>Oct 6, 2026</td>\n<td>19,826</td>\n<td>19,826</td>\n<td>0</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/FAR-2026-0003-0001\">FAR-2026-0003-0001</a></td>\n<td>Oct 19, 2026</td>\n<td>95</td>\n<td>95</td>\n<td>0</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/OPM-2025-0012-0678\">OPM-2025-0012-0678</a></td>\n<td>Sep 29, 2026</td>\n<td>81</td>\n<td>76</td>\n<td>5</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/NRC-2025-1204-0004\">NRC-2025-1204-0004</a></td>\n<td>Oct 13, 2026</td>\n<td>52</td>\n<td>52</td>\n<td>0</td>\n</tr>\n</tbody>\n</table>\n<blockquote>\n<p>Counts pulled from the<strong><a href=\"http://regulations.gov/\"> regulations.gov</a></strong> API on October 23, 2026 (October 18 for the OMB, BLM, DOT, OCC, and EPA water docket rows). Rows linked to a docket count the whole docket. Rows linked to a document count that one comment period for a specific document within a docket.</p>\n</blockquote>\n<h2 id=\"methods\">Methods</h2>\n<p>All data come from the public<a href=\"https://open.gsa.gov/api/regulationsgov/\"> regulations.gov API</a>, the same one the website uses. \"Received\" is the API's received count, and \"posted\" is the number of comments the API returns. The before-fix sample was drawn at random from about 2,600 whose comment periods closed between January 1, 2025 and September 3, 2026. The after-fix dockets represent every proposed rule, 35 in all, whose comment period opened September 5 or later and closed by October 22. The table shows the five largest by number received from each group, plus our original docket use-cases. Only two of the after-fix rules drew more than 100 submissions, so this sample can't tell us much about how counts behave now. We also checked the figures against snapshots captured by Wayback Machine.</p>\n<p>The proof of the fix is the document upload form itself: the entities count question is gone.</p>\n<h2 id=\"what-gsa-should-do-next\">What GSA should do next</h2>\n<p>We're really glad that this is fixed going forward, and we think a few small tweaks would complete the change. First, recalculate the counts on dockets where the \"persons/entities\" number was used, or at least flag them. Second, GSA should publish a short note explaining the change, so the public knows the count means something different now. Third, GSA should update the language about comment counts on its FAQ page,<a href=\"https://www.regulations.gov/faq?anchor=find\"> which is now out-of-date</a>. We're following this issue closely, but it still took us over a month to catch this: other people who use this data might miss this important detail unless GSA points this out.</p>","doi":"https://doi.org/10.59350/nd0y0-agy83","guid":"https://www.chrismarcum.com/marcum-blog/2026/10/23/GSA-Closed-the-Comment-Loophole-on-Regulations-dot-gov","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1792713600,"rid":"b68eb-yej13","summary":"In July, we showed that anyone could inflate the \"comments received\" number displayed on regulations.gov \u2013 that is, the number of comments submitted during a public comment period. When you attached a file to a comment, the form asked whether the file contained comments from more than one person or entity. Check yes, and you would be asked for the \"Number of persons/entities represented\" by your comment.","tags":["General"],"title":"GSA Closed the Comment Count Loophole on Regulations.gov","updated_at":1792790704,"url":"https://www.chrismarcum.com/marcum-blog/2026/10/23/GSA-Closed-the-Comment-Loophole-on-Regulations-dot-gov.html","version":"v1"}},{"document":{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Introduction. Statistical Thinking. <a href=\"https://doi.org/10.59350/hepkr-mgd06\">https://doi.org/10.59350/hepkr-mgd06</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>Statistics is a field that is a science unto itself and that benefits all other fields and everyday life. What is unique about statistics is its proven tools for decision making in the face of uncertainty, understanding sources of variation and bias, and most importantly, <em>statistical thinking</em>. Statistical thinking is a different way of thinking that is part detective, skeptical, and involves alternate takes on a problem. An excellent example of statistical thinking is statistician Abraham Wald's <a href=\"https://en.wikipedia.org/wiki/Abraham_Wald\">analysis</a> of British bombers surviving to return to their base in World War II: his conclusion was to reinforce bombers in areas in which no damage was observed. For other great examples watch my colleague Chris Fonnesbeck's <a href=\"https://www.youtube.com/watch?v=TGGGDpb04Yc\">Statistical Thinking for Data Science</a>. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>Some of my personal philosophy of statistics can be summed up in the list below:</p>\n<ul>\n<li>Statistics needs to be fully integrated into research; experimental design is all important</li>\n<li>Don't be afraid of using modern methods</li>\n<li>Preserve all the information in the data; Avoid categorizing continuous variables and predicted values at all costs</li>\n<li>Don't assume that anything operates linearly</li>\n<li>Account for model uncertainty and avoid it when possible by using subject matter knowledge</li>\n<li>Use the bootstrap routinely, when not using Bayesian methods</li>\n<li>Make the sample size a <a href=\"https://stats.stackexchange.com/questions/256623\">random variable</a> when possible</li>\n<li>Use Bayesian methods whenever possible</li>\n<li>Use excellent graphics, liberally</li>\n<li>To be trustworthy research must be reproducible</li>\n<li>All data manipulation and statistical analysis <strong>must</strong> be reproducible (one ramification being that I advise against the use of point and click software in most cases)</li>\n</ul>\n<p>Statistics has multiple challenges today, which I break down into three major sources:</p>\n<ol type=\"1\">\n<li>Statistics has been and continues to be taught in a traditional way, leading to statisticians believing that our historical approach to estimation, prediction, and inference was good enough.</li>\n<li>Statisticians do not receive sufficient training in computer science and computational methods, too often leaving those areas to others who get so good at dealing with vast quantities of data that they assume they can be self-sufficient in statistical analysis and not seek involvement of statisticians. Many persons who analyze data do not have sufficient training in statistics.</li>\n<li>Subject matter experts (e.g., clinical researchers and epidemiologists) try to avoid statistical complexity by \"dumbing down\" the problem using dichotomization, and statisticians, always trying to be helpful, fail to argue the case that dichotomization of continuous or ordinal variables is almost never an appropriate way to view or analyze data. Statisticians in general do not sufficiently involve themselves in measurement issues.</li>\n</ol>\n<p>I will be discussing several of the issues in future blogs, especially item 1 above and items 2 and 4 below. Complacency in the field of statistics and in statistical education has resulted in</p>\n<ol type=\"1\">\n<li>reliance on large-sample theory so that inaccurate normal distribution-based tools can be used, as opposed to tailoring the analyses to data characteristics using Bayesian methods, the bootstrap, and semiparametric models</li>\n<li>belief that null hypothesis significance testing ever answered the scientific question and the p-values are useful</li>\n<li>avoidance of the likelihood school of inference (relative likelihood, likelihood support intervals, likelihood ratios, etc.)</li>\n<li>avoidance of Bayesian methods (posterior distributions, credible intervals, predictive distributions, etc.)</li>\n</ol>\n<p>I was interviewed by Kevin Gray in July, 2017 where more of my opinions about statistics may be <a href=\"http://www.greenbookblog.org/2017/08/02/vital-statistics-you-never-learned-because-theyre-never-taught/\">found</a>.</p>\n<p>See <a href=\"https://www.fharrell.com/post/introduction//../improve-research\">this article</a> for related thoughts.</p>\n<hr/>\n<p>My top role model is Sherlock Holmes. See <a href=\"https://youtu.be/qt2EnONvBVc?t=991\">this video</a> for an excellent example.</p>\n<!-- -->\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Introduction},\n  date = {2017-01-13},\n  url = {https://www.fharrell.com/post/introduction/},\n  doi = {10.59350/hepkr-mgd06},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Introduction.\"</span>\nStatistical Thinking, January 13. <a href=\"https://doi.org/10.59350/hepkr-mgd06\">https://doi.org/10.59350/hepkr-mgd06</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/hepkr-mgd06","guid":"https://doi.org/10.59350/hepkr-mgd06","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484265600,"rid":"cc24q-bpk29","summary":"How to cite this article Harrell FE (2017). Introduction. Statistical Thinking. https://doi.org/10.59350/hepkr-mgd06 Statistics is a field that is a science unto itself and that benefits all other fields and everyday life.","tags":["2017","Principles"],"title":"Introduction","updated_at":1792772943,"url":"https://www.fharrell.com/post/introduction/","version":"v1"}},{"document":{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). p-values and Type I Errors are Not the Probabilities We Need. Statistical Thinking. <a href=\"https://doi.org/10.59350/f27qd-grr25\">https://doi.org/10.59350/f27qd-grr25</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>In trying to guard against false conclusions, researchers often attempt to minimize the risk of a \"false positive\" conclusion. In the field of assessing the efficacy of medical and behavioral treatments for improving subjects' outcomes, falsely concluding that a treatment is effective when it is not is an important consideration. Nowhere is this more important than in the drug and medical device regulatory environments, because a treatment thought not to work can be given a second chance as better data arrive, but a treatment judged to be effective may be approved for marketing, and if later data show that the treatment was actually not effective (or was only trivially effective) it is difficult to remove the treatment from the market if it is safe. The probability of a treatment not being effective is the probability of \"regulator's regret.\" One must be very clear on what is conditioned upon (assumed) in computing this probability. Does one condition on the true effectiveness or does one condition on the available data? Type I error conditions on the treatment having no effect and does not entertain the possibility that the treatment actually worsens the patients' outcomes. Can one quantify evidence for making a wrong decision if one assumes that all conclusions of non-zero effect are wrong up front because H<sub>0</sub> was assumed to be true? Aren't useful error probabilities the ones that are not based on assumptions about what we are assessing but rather just on the data available to us? </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>Statisticians have convinced regulators that long-run operating characteristics of a testing procedure should rule the day, e.g., if we did 1000 clinical trials where efficacy was always zero, we want no more than 50 of these trials to be judged as \"positive.\" Never mind that this type I error operating characteristic does not refer to making a correct judgment for the clinical trial at hand. Still, there is a belief that type I error is the probability of regulator's regret (a false positive), i.e., that the treatment is not effective when the data indicate it is. In fact, clinical trialists have been sold a bill of goods by statisticians. No probability derived from an assumption that the treatment has zero effect can provide evidence about that effect. Nor does it measure the chance of the error actually in question. All probabilities are conditional on <em>something</em>, and to be useful they must condition on the <em>right thing</em>. This usually means that what is conditioned upon must be knowable.</p>\n<p>The probability of regulator's regret is the probability that a treatment doesn't work given the data. So the probability we really seek is the probability that the treatment has no effect <em>or that it has a backwards effect</em>. This is precisely one minus the Bayesian posterior probability of efficacy.</p>\n<p>In reality, there is unlikely to exist a treatment that has exactly zero effect. As <a href=\"http://dx.doi.org/10.1037/0003-066x.49.12.997\">Tukey argued in 1991</a>, the effects of treatments A and B are always different, to some decimal place. So the null hypothesis is always false and the type I error could be said to be always zero.</p>\n<p>The best paper I've read about the many ways in which p-values are misinterpreted is <a href=\"http://dx.doi.org/10.1007/s10654-016-0149-3\">Statistical tests, P values, confidence intervals, and power: a guide to misinterpretations</a> written by a group of renowned statisticians. One of my favorite quotes from this paper is</p>\n<div class=\"quoteit\">\n<p>Thus to claim that the null P value is the probability that chance alone produced the observed association is completely backwards: The P value is a probability computed assuming chance was operating alone. The absurdity of the common backwards interpretation might be appreciated by pondering how the P value, which is a probability deduced from a set of assumptions (the statistical model), can possibly refer to the probability of those assumptions.</p>\n</div>\n<p>In 2016 the American Statistical Association took a <a href=\"https://matloff.wordpress.com/2016/03/07/after-150-years-the-asa-says-no-to-p-values\">stand</a> against over-reliance on p-values. This would have made a massive impact on all branches of science had it been issued 50 years ago but better late than never.</p>\n<section class=\"level3\" id=\"update-2017-01-19\">\n<h3 class=\"anchored\" data-anchor-id=\"update-2017-01-19\">Update 2017-01-19</h3>\n<p>Though believed to be true by many non-statisticians, p-values are not the probability that H<sub>0</sub> is true, and to turn them into such probabilities requires Bayes' rule. If you are going to use Bayes' rule you might as well formulate the problem as a full Bayesian model. This has many benefits, not the least of them being that you can select an appropriate prior distribution and you will get exact inference. Attempts by several authors to convert p-values to probabilities of interest (just as sensitivity and specificity are converted to probability of disease once one knows the prevalence of disease) have taken the prior to be discontinuous, putting a high probability on H<sub>0</sub> being exactly true. In my view it is much more sensible to believe that there is no discontinuity in the prior at the point represented by H<sub>0</sub>, encapsulating prior knowledge instead by saying that values near H<sub>0</sub> are more likely if no relevant prior information is available.</p>\n<p>Returning to the non-relevance of type I error as discussed above, and ignoring for the moment that long-run operating characteristics do not directly assist us in making judgments about the current experiment, there is a subtle problem that leads researchers to believe that by controlling type I \"error\" they think they have quantified the probability of misleading evidence. As discussed at length by my colleague <a href=\"https://www.zotero.org/groups/2199991/feh/items/q/Blume\">Jeffrey Blume</a>, once an experiment is done the probability that positive evidence is misleading is <strong>not</strong> type I error. And what exactly does \"error\" mean in \"type I error?\" It is the probability of rejecting H<sub>0</sub> when H<sub>0</sub> is exactly true, just as the p-value is the probability of obtaining data more impressive than that observed given H<sub>0</sub> is true. Are these really error probabilities? Perhaps \u2026 if you have been misled earlier into believing that we should base conclusions on how unlikely the observed data would have been observed under H<sub>0</sub>. Part of the problem is in the loaded word \"reject.\" Rejecting H<sub>0</sub> by seeing data that are unlikely if H<sub>0</sub> is true is perhaps the real error.</p>\n<p>The \"error quantification\" truly needed is the probability that a treatment doesn't work given all the current evidence, which as stated above is simply one minus the Bayesian posterior probability of positive efficacy.</p>\n</section>\n<section class=\"level3\" id=\"update-2017-01-20\">\n<h3 class=\"anchored\" data-anchor-id=\"update-2017-01-20\">Update 2017-01-20</h3>\n<p>Type I error control is an indirect way to being careful about claims of effects. It should never have been the preferred method for achieving that goal. Seen another way, we would choose type I error as the quantity to be controlled if we wanted to:</p>\n<ul>\n<li>require the experimenter to visualize an infinite number of experiments that might have been run, and assume that the current experiment could be exactly replicated</li>\n<li>be interested in long-run operating characteristics vs.\u00a0judgments needing to be made for the one experiment at hand</li>\n<li>be interested in the probability that other replications result in data more extreme than mine if there is no treatment effect</li>\n<li>require early looks at the data to be discounted for future looks</li>\n<li>require past looks at the data to be discounted for earlier inconsequential looks</li>\n<li>create other multiplicity considerations, all of them arising from the chances you give data to be extreme as opposed to the chances that you give effects to be positive</li>\n<li>data can be more extreme for a variety of reasons such as trying to learn faster by looking more often or trying to learn more by comparing more doses or more drugs</li>\n</ul>\n<p>The Bayesian approach focuses on the chances you give effects to be positive and does not have multiplicity issues (potential issues such as examining treatment effects in multiple subgroups are handled by the shrinkage that automatically results when you use the 'right' Bayesian hierarchical model).</p>\n<p>The p-value is the chance that someone else would observe data more extreme than mine if the effect is truly zero (if they could exactly replicate my experiment) and not the probability of no (or a negative) effect of treatment given my data.</p>\n</section>\n<section class=\"level3\" id=\"update-2017-05-10\">\n<h3 class=\"anchored\" data-anchor-id=\"update-2017-05-10\">Update 2017-05-10</h3>\n<p>As discussed in Gamalo-Siebers at al DOI: 10.1002/pst.1807 the type I error is the probability of making an assertion of an effect when no such effect exists. It is <strong>not</strong> the probability of regret for a decision maker, e.g., it is not the probability of a drug regulator's regret. The probability of regret is the probability that the drug doesn't work or is harmful when the decision maker had decided it was helpful. It is the probability of harm or no benefit when an assertion of benefit is made. This is best thought of as the probability of harm or no benefit given the data which is one minus the probability of efficacy. Prob(assertion|no benefit) is not equal to 1-Prob(benefit|data).</p>\n</section>\n<section class=\"level3\" id=\"update-2017-11-28\">\n<h3 class=\"anchored\" data-anchor-id=\"update-2017-11-28\">Update 2017-11-28</h3>\n<p>Type I (\"false positive\") error probability would be a useful concept while a study is being designed. Frequentists speak of type I error control, but after a study is completed, the only way to commit a type I error is to know with certainty that an effect is exactly zero. But then the study would not have been necessary. So type I error remains a long-run operating characteristic for a sequence of <strong>hypothetical</strong> studies.</p>\n<p>Thinking of p-values that a sequence of hypothetical studies might provide, when the type I error is \u03b1 this means P(p-value &lt; \u03b1 | zero effect) = \u03b1. Neither a single p-value nor \u03b1 is the probability of a decision error. They are \"what if\" probabilities, <strong>if</strong> the effect is zero. The p-value for a single study is merely the probability that data more extreme than ours would have been observed had the effect been exactly zero and the experiment was capable of being re-run infinitely often. It is nothing more than this. It is not a false positive probability for the experiment at hand. To compute the false positive probability one would need a prior distribution for the effect (and for the p-value to be perfectly accurate which is rare), and one might as well be fully Bayesian and enjoy all the Bayesian benefits.</p>\n</section>\n<section class=\"level3\" id=\"discussion-archive-2017\">\n<h3 class=\"anchored\" data-anchor-id=\"discussion-archive-2017\">Discussion Archive (2017)</h3>\n<p><strong>Frank Harrell</strong>: You are correct; sorry for the omission of the condition that H0 is true. Thanks for the comments.</p>\n<p><strong>Henry</strong>: When you write the following, \"The p-value is the chance that someone else would observe data more extreme than mine (if they could exactly replicate my experiment) and not the probability of no (or a negative) effect of treatment given my data,\" I am guessing that you left out, \"conditional that the null hypothesis is true.\" While a nitpick, I thought that this is an important and meaningful addendum as its absence changes the meaning to a non-stats reader.</p>\n<p>Great fan of your book and your posts on Stackexchange.</p>\n<p><strong>FH</strong>: Thanks for the perceptive comments. I agree in spirit with all of them until you get into multiplicity where the fundamental problems with p-values just makes everything implode. But in general, and in line with your thoughts, I think that it's not the case that p-values are not related to evidence, it's just that they are not calibrated to provide the quantification of evidence we need. So I need to say these points more clearly, e.g., p-values are the correct functions of the data, and except for not being able to deal with prior knowledge, they are measures of evidence but are not calibrated to what is needed for direct action/decision making.</p>\n<p><strong>Michael Lew</strong>: I like very much the update of January 20, but I think the last sentence misses the important nature of the P-value.</p>\n<p>The best way to ensure care is taken about claims of effects is to make sure that scientists think scientifically: carefully, critically, and consider more than just the statistical result of any particular experiment or study component.</p>\n<p>Bayesian approaches help, presumably, but my opinion is that scientists would be more directly helped in their thinking if the statistics of evidence were emphasised over the statistics of posterior probabilities or the statistics of errors.</p>\n<p>Fisher's P-values have an evidential meaning that has nothing to do with error probabilities. They may not be as rich a depiction of evidence as a likelihood function, but they communicate evidence nonetheless.</p>\n<p>**FH*: These are great points. And I should have said \"stand\" instead of \"strong stand\", or \"expressed significant caution\". I linked to another blog instead of the ASA because the other blog linked to ASA and had some other statements I liked. I would like to note that evidence against H0 is not the kind of evidence I seek in science. A recent paper I co-authored delves into the Fisher vs Neyman-Pearson approaches - see <a href=\"https://jamanetwork.com/journals/jamacardiology/article-abstract/2566171\">this</a>. One reason there are the two schools of thought is that the entire NHST premise is flawed in my humble opinion.</p>\n<p><strong>Michael Lew</strong>: While I emphatically agree with the title of this post, I think that you are not presenting a complete picture of the P-value. In particular, you are your summary of the ASA statement on p-values as a \"strong stand against\" is incorrect. (I was a participant in the discusssions and forum that led to the statement.) Further, you have linked a blog that seems to be that of an anti-p-value polemicist rather than the ASA statement itself. Perhaps that is a useful strategy to obtain support for a strong stand, but it is bad practice.</p>\n<p>No commentary on p-values can avoid further muddying the waters without addressing the necessary distinction between the evidential account of p-values as indices of strength of evidence against the null hypothesised values of the model parameter of interest (Fisherian significance testing) and the alternative long run error rate measure of the analytical method (Neyman-Pearsonian hypothesis testing). See <a href=\"https://stats.stackexchange.com/questions/16218\">this</a> and <a href=\"https://stats.stackexchange.com/questions/112769\">this</a>.</p>\n<p><strong>FH</strong>: IMHO the discussion is best conducted without reference to data, sample size, and shrinking confidence intervals. The \"true unknown population value\" of a parameter is not always easy to define but it is not difficult for me to believe that, for example, in a blood pressure study where one treatment arm involves giving patients weather forecasts there is a miniscule but nonzero effect on blood pressure. So H0 is formally not true in this setting. The effect parameter needs to be exactly equal to zero for H0 to pertain. This is not a sampling issue in my view.</p>\n<p><strong>Daniel Lakens</strong>: There has been a lot of criticism on the simplistic arguments in Tukey and Cohen that the null is never true (and I believe general agreement they got it wrong). You either have to take the view that everything causally impacts everything to tiny degrees we can never measure, or you have to admit the null can be true. The latter is more scientific. I've explained this in a blog post: <a href=\"http://daniellakens.blogspot.com/2014/06/the-null-is-always-false-except-when-it.html\">The Null Is Always False (Except When It Is True)</a>.</p>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {P-Values and {Type} {I} {Errors} Are {Not} the\n    {Probabilities} {We} {Need}},\n  date = {2017-01-14},\n  url = {https://www.fharrell.com/post/pvalprobs/},\n  doi = {10.59350/f27qd-grr25},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"P-Values and Type I\nErrors Are Not the Probabilities We Need.\"</span> Statistical Thinking,\nJanuary 14. <a href=\"https://doi.org/10.59350/f27qd-grr25\">https://doi.org/10.59350/f27qd-grr25</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/f27qd-grr25","guid":"https://doi.org/10.59350/f27qd-grr25","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484352000,"rid":"zztq7-gaj95","summary":"How to cite this article Harrell FE (2017). p-values and Type I Errors are Not the Probabilities We Need. Statistical Thinking. https://doi.org/10.59350/f27qd-grr25 In trying to guard against false conclusions, researchers often attempt to minimize the risk of a \"false positive\" conclusion.","tags":["Judgment","Inference","Likelihood","Bayes","Multiplicity"],"title":"p-values and Type I Errors are Not the Probabilities We Need","updated_at":1792772941,"url":"https://www.fharrell.com/post/pvalprobs/","version":"v1"}},{"document":{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Null Hypothesis Significance Testing Never Worked. Statistical Thinking. <a href=\"https://doi.org/10.59350/rxzw7-6q428\">https://doi.org/10.59350/rxzw7-6q428</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>Much has been written about problems with our most-used statistical paradigm: frequentist null hypothesis significance testing (NHST), p-values, type I and type II errors, and confidence intervals. Rejection of straw-man null hypotheses leads researchers to believe that their theories are supported, and the unquestioning use of a threshold such as p&lt;0.05 has resulted in hypothesis substitution, search for subgroups, and other gaming that has badly damaged science. But we seldom examine whether the original idea of NHST actually delivered on its goal of making good decisions about effects, given the data. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>NHST is based on something akin to proof by contradiction. The best non-mathematical definition of the p-value I've ever seen is due to <a href=\"https://books.google.com/books?id=KH5GAAAAYAAJ\">Nicholas Maxwell</a>: \"the degree to which the data are embarrassed by the null hypothesis.\" p-values provide evidence against something, never in favor of something, and are the basis for NHST. But proof by contradiction is only fully valid in the context of rules of logic where assertions are true or false without any uncertainty. The classic paper <a href=\"http://dx.doi.org/10.1037/0003-066x.49.12.997\">The Earth is Round (p&lt;.05)</a> by Jacob Cohen has a beautiful example pointing out the fallacy of combining probabilistic ideas with proof by contradiction in an attempt to make decisions about an effect.</p>\n<div class=\"quoteit\">\n<p>The following is almost but not quite the reasononing of null hypothesis rejection:</p>\n<p>If the null hypothesis is correct, then this datum (D) can not occur. It has, however, occurred. Therefore the null hypothesis is false.</p>\n<p>If this were the reasoning of H<sub>0</sub> testing, then it would be formally correct. \u2026 But this is not the reasoning of NHST. Instead, it makes this reasoning probabilistic, as follows:</p>\n<p>If the null hypothesis is correct, then these data are highly unlikely. These data have occurred. Therefore, the null hypothesis is highly unlikely.</p>\n<p>By making it probabilistic, it becomes invalid. \u2026 the syllogism becomes formally incorrect and leads to a conclusion that is not sensible:</p>\n<p>If a person is an American, then he is probably not a member of Congress. (TRUE, RIGHT?) This person is a member of Congress. Therefore, he is probably not an American. (Pollard &amp; Richardson, 1987) <br/></p>\n<p>\u2026 The illusion of attaining improbability or the Bayesian Id's wishful thinking error \u2026 <br/></p>\n<p>Induction has long been a problem in the philosophy of science. Meehl (1990) attributed to the distinguished philosopher Morris Raphael Cohen the saying \"All logic texts are divided into two parts. In the first part, on deductive logic, the fallacies are explained; in the second part, on inductive logic, they are committed.\"</p>\n</div>\n<p>Sometimes when an approach leads to numerous problems, the approach itself is OK and the problems can be repaired. But besides all the other problems caused by NHST (including need for arbitrary multiplicity adjustments, need for consideration of investigator intentions and not just her actions, rejecting H<sub>0</sub> for trivial effects, incentivizing gaming, interpretation difficulties, etc.) it may be the case that the overall approach is defective and should not have been adopted.</p>\n<p>With all of the amazing things Ronald Fisher gave us, and even though he recommended against the unthinking rejection of H<sub>0</sub>, his frequentist approach and dislike of the Bayesian approach did us all a disservice. He called the Bayesian method invalid and was possibly intellectually dishonest when he labeled it as \"inverse probability.\" In fact the p-value is an indirect inverse probability and Bayesian posterior probabilities are direct forwards probabilities that do not condition on a hypothesis, and the Bayesian approach has not only been shown to be valid, but it actually delivers on its promise.</p>\n<section class=\"level2\" id=\"discussion-archive-2017\">\n<h2 class=\"anchored\" data-anchor-id=\"discussion-archive-2017\"><a href=\"https://www.fharrell.com/post/nhst-never//disqus.pdf\">Discussion Archive</a> (2017)</h2>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Null {Hypothesis} {Significance} {Testing} {Never} {Worked}},\n  date = {2017-01-14},\n  url = {https://www.fharrell.com/post/nhst-never/},\n  doi = {10.59350/rxzw7-6q428},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Null Hypothesis\nSignificance Testing Never Worked.\"</span> Statistical Thinking, January\n14. <a href=\"https://doi.org/10.59350/rxzw7-6q428\">https://doi.org/10.59350/rxzw7-6q428</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/rxzw7-6q428","guid":"https://doi.org/10.59350/rxzw7-6q428","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484352000,"rid":"8aepa-2as84","summary":"How to cite this article Harrell FE (2017). Null Hypothesis Significance Testing Never Worked. Statistical Thinking. https://doi.org/10.59350/rxzw7-6q428 Much has been written about problems with our most-used statistical paradigm: frequentist null hypothesis significance testing (NHST), p-values, type I and type II errors, and confidence intervals.","tags":["Logic","Inference","Bayes","P-value","Hypothesis-testing"],"title":"Null Hypothesis Significance Testing Never Worked","updated_at":1792772939,"url":"https://www.fharrell.com/post/nhst-never/","version":"v1"}},{"document":{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Classification vs.\u00a0Prediction. Statistical Thinking. <a href=\"https://doi.org/10.59350/17jxr-hf782\">https://doi.org/10.59350/17jxr-hf782</a></p>\n</div>\n<div class=\"quoteit\">\n<p>It is important to distinguish prediction and classification. In many decisionmaking contexts, classification represents a premature decision, because classification combines prediction and decision making and usurps the decision maker in specifying costs of wrong decisions. The classification rule must be reformulated if costs/utilities or sampling criteria change. Predictions are separate from decisions and can be used by any decision maker. <br/><br/> Classification is best used with non-stochastic/deterministic outcomes that occur in say 0.3 - 0.7 of the observations, and not when the simplest classifer (always outputting \"positive\" or always outputting \"negative\") is highly accurate or when two individuals with identical inputs can easily have different outcomes. For these situations, modeling tendencies (i.e., probabilities) is key.<br/><br/> Classification should be used when outcomes are distinct and predictors are strong enough to provide, for all subjects, a probability near 1.0 for one of the outcomes.</p>\n</div>\n<div class=\"page-columns page-full\"><p>The field of machine learning arose somewhat independently of the field of statistics. As a result, machine learning experts tend not to emphasize probabilistic thinking. Probabilistic thinking and understanding uncertainty and variation are hallmarks of statistics. By the way, one of the best books about probabilistic thinking is Nate Silver's <em>The Signal and The Noise: Why So Many Predictions Fail But Some Don't</em>. In the medical field, a classic paper is David Spiegelhalter's <a href=\"https://onlinelibrary.wiley.com/doi/abs/10.1002/sim.4780050506\">Probabilistic Prediction in Patient Management and Clinical Trials</a>. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>By not thinking probabilistically, machine learning advocates frequently utilize classifiers instead of using risk prediction models. The situation has gotten acute: many machine learning experts actually label logistic regression as a classification method (it is not). It is important to think about what classification really implies. Classification is in effect a decision. Optimum decisions require making full use of available data, developing predictions, and applying a loss/utility/cost function to make a decision that, for example, minimizes expected loss or maximizes expected utility. Different end users have different utility functions. In risk assessment this leads to their having different risk thresholds for action. Classification assumes that every user has the same utility function and that the utility function implied by the classification system is <em>that</em> utility function.</p>\n<p>Classification is a <em>forced choice</em>. In marketing where the advertising budget is fixed, analysts generally know better than to try to classify a potential customer as someone to ignore or someone to spend resources on. Instead, they model probabilities and create a <em>lift curve</em>, whereby potential customers are sorted in decreasing order of estimated probability of purchasing a product. To get the \"biggest bang for the buck\", the marketer who can afford to advertise to n persons picks the n highest-probability customers as targets. This is rational, and classification is not needed here.</p>\n<p>A frequent argument from data users, e.g., physicians, is that ultimately they need to make a binary decision, so binary classification is needed. This is simply not true. First of all, it is often the case that the best decision is \"no decision; get more data\" when the probability of disease is in the middle. In many other cases, the decision is revocable, e.g., the physician starts the patient on a drug at a lower dose and decides later whether to change the dose or the medication. In surgical therapy the decision to operate is irrevocable, but the choice of <em>when</em> to operate is up to the surgeon and the patient and depends on severity of disease and symptoms. At any rate, if binary classification is needed, it must be done <strong>at the point of care when all utilities are known</strong>, not in a data analysis.</p>\n<p>When are forced choices appropriate? I think that one needs to consider whether the problem is mechanistic or stochastic/probabilistic. Machine learning advocates often want to apply methods made for the former to problems where biologic variation, sampling variability, and measurement errors exist. It may be best to apply classification techniques instead just to high signal:noise ratio situations such as those in which there there is a known gold standard and one can replicate the experiment and get almost the same result each time. An example is pattern recognition - visual, sound, chemical composition, etc. If one creates an optical character recognition algorithm, the algorithm can be trained by exposing it to any number of replicates of attempts to classify an image as the letters A, B, \u2026 The user of such a classifier may not have time to consider whether any of the classifications were \"close calls.\" And the signal:noise ratio is extremely high. In addition, there is a single \"right\" answer for each character. This situation is primarily mechanistic or non-stochastic. Contrast that with forecasting death or disease where two patients with identical known characteristics can easily have different outcomes.</p>\n<p>When close calls are possible, or when there is inherent randomness to the outcomes, probability estimates are called for. One beauty of probabilities is that they are their own error measures. If the probability of disease is 0.1 and the current decision is not to treat the patient, the probability of this being an error is by definition 0.1. A probability of 0.4 may lead the physician to run another lab test or do a biopsy. When the signal:noise ratio is small, classification is usually not a good goal; there one must model <em>tendencies</em>, i.e., probabilities.</p>\n<p>The U.S. Weather Service has always phrased rain forecasts as probabilities. I do not want a classification of \"it will rain today.\" There is a slight loss/disutility of carrying an umbrella, and I want to be the one to make the tradeoff.</p>\n<p>Whether engaging in credit risk scoring, weather forecasting, climate forecasting, marketing, diagnosis a patient's disease, or estimating a patient's prognosis, I do not want to use a classification method. I want risk estimates with credible intervals or confidence intervals. My opinion is that machine learning classifiers are best used in mechanistic high signal:noise ratio situations, and that probability models should be used in most other situations.</p>\n<p>This is related to a subtle point that has been lost on many analysts. Complex machine learning algorithms, which allow for complexities such as high-order interactions, require an <a href=\"https://bmcmedresmethodol.biomedcentral.com/articles/10.1186/1471-2288-14-137\">enormous amount of data</a> unless the signal:noise ratio is high, another reason for reserving some machine learning techniques for such situations. Regression models which capitalize on additivity assumptions (when they are true, and this is approximately true is much of the time) can yield accurate probability models without having massive datasets. And when the outcome variable being predicted has more than two levels, a single regression model fit can be used to obtain all kinds of interesting quantities, e.g., predicted mean, quantiles, exceedance probabilities, and instantaneous hazard rates.</p>\n<p>A special problem with classifiers illustrates an important issue. Users of machine classifiers know that a highly imbalanced sample with regard to a binary outcome variable Y results in a strange classifier. For example, if the sample has 1000 diseased patients and 1,000,000 non-diseased patients, the best classifier may classify everyone as non-diseased; you will be correct 0.999 of the time. For this reason the odd practice of subsampling the controls is used in an attempt to balance the frequencies and get some variation that will lead to sensible looking classifiers (users of regression models would never exclude good data to get an answer). Then they have to, in some ill-defined way, construct the classifier to make up for biasing the sample. It is simply the case that a classifier trained to a 1/2 prevalence situation will not be applicable to a population with a 1/1000 prevalence. The classifier would have to be re-trained on the new sample, and the patterns detected may change greatly. Logistic regression on the other hand elegantly handles this situation by either (1) having as predictors the variables that made the prevalence so low, or (2) recalibrating the intercept (only) for another dataset with much higher prevalence. Classifiers' extreme dependence on prevalence may be enough to make some researchers always use probability estimators like logistic regression instead. One could go so far as to say that classifiers should not be used at all when there is little variation in the outcome variable (prevalence is near 0 or 1), and that only tendencies (probabilities) should be modeled.</p>\n<p>One of the key elements in choosing a method is having a sensitive accuracy scoring rule with the correct statistical properties. Experts in machine classification seldom have the background to understand this enormously important issue, and choosing an improper accuracy score such as proportion classified correctly will result in a bogus model. This is discussed in detail <a href=\"https://www.fharrell.com/post/classification//../class-damage\">here</a>.</p>\n<section class=\"level2\" id=\"resources\">\n<h2 class=\"anchored\" data-anchor-id=\"resources\">Resources</h2>\n<ul>\n<li><a href=\"https://academic.oup.com/jamia/article/29/9/1525/6605096\">The harm of class imbalance corrections for risk prediction models: illustration and simulation using logistic regression</a> by van den Goorbergh, van Smeden, Timmerman, Van Calster</li>\n</ul>\n</section>\n<section class=\"level2\" id=\"acknowledgement\">\n<h2 class=\"anchored\" data-anchor-id=\"acknowledgement\">Acknowledgement</h2>\n<p>Thanks to Andrew Howe for suggesting some wording clarifications.</p>\n<hr/>\n</section>\n<section class=\"level2\" id=\"discussion-archive-20172021\">\n<h2 class=\"anchored\" data-anchor-id=\"discussion-archive-20172021\"><a href=\"https://www.fharrell.com/post/classification//disqus.pdf\">Discussion Archive</a> (2017\u20132021)</h2>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Classification Vs. {Prediction}},\n  date = {2017-01-15},\n  url = {https://www.fharrell.com/post/classification/},\n  doi = {10.59350/17jxr-hf782},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Classification Vs.\nPrediction.\"</span> Statistical Thinking, January 15. <a href=\"https://doi.org/10.59350/17jxr-hf782\">https://doi.org/10.59350/17jxr-hf782</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/17jxr-hf782","guid":"https://doi.org/10.59350/17jxr-hf782","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484438400,"rid":"4th59-b4t81","summary":"How to cite this article Harrell FE (2017). Classification vs. Prediction. Statistical Thinking. https://doi.org/10.59350/17jxr-hf782 It is important to distinguish prediction and classification. In many decisionmaking contexts, classification represents a premature decision, because classification combines prediction and decision making and usurps the decision maker in specifying costs of wrong decisions.","tags":["Prediction","Decision-making","Machine-learning","Accuracy-score","Classification"],"title":"Classification vs. Prediction","updated_at":1792772936,"url":"https://www.fharrell.com/post/classification/","version":"v1"}},{"document":{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Ideas for Future Articles. Statistical Thinking. <a href=\"https://doi.org/10.59350/bk0rc-5jv57\">https://doi.org/10.59350/bk0rc-5jv57</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>Suggestions for future articles are welcomed as comments to this entry. Some topics I intend to write about are listed below. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<ol type=\"1\">\n<li>Matching vs.\u00a0covariate adjustment (see below from Arne Warnke)</li>\n<li>Statistical strategy for propensity score modeling and usage</li>\n<li>What is the full meaning of a posterior probability?</li>\n<li>Moving from pdf to html for statistical reporting</li>\n<li>Is machine learning statistics or computer science?</li>\n<li>Sample size calculation: Is it voodoo?</li>\n<li>Difference between Bayesian modeling and frequentist inference</li>\n</ol>\n<hr/>\n<p>A few weeks ago we had a small discussion at CrossValidated about the pros and cons of matching <a href=\"http://stats.stackexchange.com/questions/248676\">here</a>. I am sorry that I did not had enough time to elaborate further on the support of matching procedures (in my field researchers do not focus much on a bias-variance tradeoff but they prioritize on minimizing biases. For that reason, they like matching procedures). Now, I have seen that you started a blog recently (congratulations!). I would like to encourage to take up the topic of matching because it is probably interesting for many applied researchers. I think in your 'philosophy', this would belong to the point \"Preserve all the information in the data\". Here, perhaps some input for a blog post. Back then, you wrote:</p>\n<div class=\"quoteit\">\n<p>Matching on continuous variables results in an incomplete adjustment because the variables have to be binned.</p>\n</div>\n<p>What about propensity score matching?</p>\n<p><small> Matching throws away good data from observations that would be good matches.</small></p><small>\n</small><p><small>Extrapolation bias is only a significant problem if there is a covariate by group interaction, and users of matching methods ignore interactions anyway. </small></p>\n<p>Here, you go too far (in my view). You can add interactions, again for example with propensity score matching. Imbens and Rubin (2015) suggest a procedure using quadratic and interaction terms of the covariates.</p>\n<p><small>Comment: Nice to know this exists but I've never seen a paper that used matching attempt to explore interactions. If you don't want to make regression assumptions that are unverifiable, remove observations outside the overlap region just as with matching.</small></p>\n<p>Which assumptions do you refer to? I think that treating everyone the same (statistically) is also an unverifiable assumption (do you disagree?). What is your opinion about weighted least squares?</p>\n<p><small> Comment: This is the no-interaction assumption. If you assume additivity then it's more OK to have a no-overlap region, otherwise throw-away non-overlap regions and do a conditional analysis. Not clear on the need for weighting here. In general I like conditioning over weighting. </small></p>\n<p>Arne Jonas Warnke<br/> Labour Markets, Human Resources and Social Policy<br/> Internet: <a href=\"http://www.zew.de\">zew.de</a></p>\n<hr/>\n<section class=\"level2\" id=\"discussion-archive-2017\">\n<h2 class=\"anchored\" data-anchor-id=\"discussion-archive-2017\"><a href=\"https://www.fharrell.com/post/ideas-articles//disqus.pdf\">Discussion Archive</a> (2017)</h2>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Ideas for {Future} {Articles}},\n  date = {2017-01-16},\n  url = {https://www.fharrell.com/post/ideas-articles/},\n  doi = {10.59350/bk0rc-5jv57},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Ideas for Future\nArticles.\"</span> Statistical Thinking, January 16. <a href=\"https://doi.org/10.59350/bk0rc-5jv57\">https://doi.org/10.59350/bk0rc-5jv57</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/bk0rc-5jv57","guid":"https://doi.org/10.59350/bk0rc-5jv57","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484524800,"rid":"t99gs-k3q74","summary":"How to cite this article Harrell FE (2017). Ideas for Future Articles. Statistical Thinking. https://doi.org/10.59350/bk0rc-5jv57 Suggestions for future articles are welcomed as comments to this entry. Some topics I intend to write about are listed below. Comments Matching vs. covariate adjustment (see below from Arne Warnke) Statistical strategy for propensity score modeling and usage What is the full meaning of a posterior probability?","tags":["2017"],"title":"Ideas for Future Articles","updated_at":1792772934,"url":"https://www.fharrell.com/post/ideas-articles/","version":"v1"}},{"document":{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Fundamental Principles of Statistics. Statistical Thinking. <a href=\"https://doi.org/10.59350/njpzb-qcd80\">https://doi.org/10.59350/njpzb-qcd80</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>There are many principles involved in the theory and practice of statistics, but here are the ones that guide my practice the most. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<ol type=\"1\">\n<li>Use methods grounded in theory or extensive simulation</li>\n<li>Understand uncertainty, and realize that the most honest approach to inference is a Bayesian model that takes into account what you don't know (e.g., Are variances equal? Is the distribution normal? Should an interaction term be in the model?)</li>\n<li>Realize that it is sampling distributions that makes statistics complicated and probabilities hard to approximate, and that it is posterior distributions that do not depend on things that shouldn't matter such as earlier inconsequential interim analyses or analyses to be done in the future</li>\n<li>Understand that dealing with multiplicities on the randomness scale is far less relevant than setting the bar higher in the first place, by formulating more stringent assertions</li>\n<li>Strive to base analyses on statistical models, since models give rise to likelihood functions that bridge Bayesian and frequentist inference and can be extended to handle missing data, measurement error, censoring, serial correlation, external information, and other complexities</li>\n<li>Unify approaches and avoid the need for one-off statistical tests by using semiparametric models</li>\n<li>Design experiments to maximize information</li>\n<li>Understand the measurements you are analyzing and don't hesitate to question how the underlying information was captured</li>\n<li>Be more interested in <a href=\"https://academic.oup.com/clinchem/article/56/7/1080/5622360\">questions than in null hypotheses</a>, and be more interested in estimation than in answering narrow questions</li>\n<li>Verify that the sample size will support the intended analyses, or pre-specify a simpler analysis for which the sample size is adequate; live within the confines of the information content of the data</li>\n<li>Rather than making dichotomous decisions about inclusion of variables or complexities (nonlinearities, interactions, unequal variances, etc.) in the model, which results in uncertainty intervals that are too narrow, put parameters in the model for aspects you don't know. Bayesian models that put priors on complexities provide continuous solutions that automatically relax assumptions as the sample size grows. The resulting uncertainty intervals will not be falsely confident since model uncertainty is taken into account.</li>\n<li>Use all information in data during analysis</li>\n<li>Use discovery and estimation procedures not likely to claim that noise is signal</li>\n<li>Strive for optimal quantification of evidence about effects</li>\n<li>Give decision makers the inputs (<em>other</em> than the utility function) that optimize decisions</li>\n<li>Present information in ways that are intuitive, maximize information content, and are correctly perceived</li>\n<li>Give the client what she needs, not what she wants</li>\n<li>Teach the client to want what she needs</li>\n</ol>\n<hr/>\n<div class=\"quoteit\">\n<p>\u2026 the statistician must be instinctively and primarily a logician and a scientist in the broader sense, and only secondarily a user of the specialized statistical techniques. <br/><br/> In considering the refinements and modifications of the scientific method which particularly apply to the work of the statistician, the first point to be emphasized is that the statistician is always dealing with probabilities and degrees of uncertainty. He is, in effect, a Sherlock Holmes of figures, who must work mainly, or wholly, from circumstantial evidence. <br/><br/> Malcolm C Rorty: Statistics and the Scientific Method<br/>JASA 26:1-10, 1931 <br/><br/> The statistical method is more than an array of techniques. The statistical method is a mode of thought; it is sharpened thinking; it is power. <br/><br/> William Edwards Deming, International Statistical Institute Meeting, Sept 1953 <br/><br/> Science is not about falsifying hypotheses. Science is about determining what component of a set of observations are reproducible, and then trying to determine the mechanism or rule to explain those observations\u2026 again, reasoning from data, not by starting with an axiom. <br/><br/> <a href=\"https://twitter.com/davidjglassMD/status/1186074984701145088\">David J Glass</a></p>\n</div>\n<hr/>\n<p>See <a href=\"https://www.fharrell.com/post/principles//../improve-research\">this post</a> for related thoughts.</p>\n<!-- -->\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Fundamental {Principles} of {Statistics}},\n  date = {2017-01-18},\n  url = {https://www.fharrell.com/post/principles/},\n  doi = {10.59350/njpzb-qcd80},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Fundamental Principles\nof Statistics.\"</span> Statistical Thinking, January 18. <a href=\"https://doi.org/10.59350/njpzb-qcd80\">https://doi.org/10.59350/njpzb-qcd80</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/njpzb-qcd80","guid":"https://doi.org/10.59350/njpzb-qcd80","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484697600,"rid":"pm0z7-nmg84","summary":"How to cite this article Harrell FE (2017). Fundamental Principles of Statistics. Statistical Thinking. https://doi.org/10.59350/njpzb-qcd80 There are many principles involved in the theory and practice of statistics, but here are the ones that guide my practice the most.","tags":["Design","Measurement","Principles","2017","2023"],"title":"Fundamental Principles of Statistics","updated_at":1792772932,"url":"https://www.fharrell.com/post/principles/","version":"v1"}},{"document":{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Split-Sample Model Validation. Statistical Thinking. <a href=\"https://doi.org/10.59350/hqg7h-8p324\">https://doi.org/10.59350/hqg7h-8p324</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>Methods used to obtain unbiased estimates of future performance of statistical prediction models and classifiers include data splitting and resampling. The two most commonly used resampling methods are cross-validation and bootstrapping. To be as good as the bootstrap, about 100 repeats of 10-fold cross-validation are required. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>As discussed in more detail in Section 5.3 of <a href=\"http://hbiostat.org/rmsc\">Regression Modeling Strategies Course Notes</a> and the same section of the RMS book, data splitting is an unstable method for validating models or classifiers, especially when the number of subjects is less than about 20,000 (fewer if signal:noise ratio is high). This is because were you to split the data again, develop a new model on the training sample, and test it on the holdout sample, the results are likely to vary significantly. Data splitting requires a significantly larger sample size than resampling to work acceptably well. See also <a href=\"https://hbiostat.org/bbr/reg.html#internal-vs.-external-model-validation\">here</a>.</p>\n<p>There are also very subtle problems:</p>\n<ol type=\"1\">\n<li>When feature selection is done, data splitting validates just one of a myriad of potential models. In effect it validates an example model. Resampling (repeated cross-validation or the bootstrap) validate the process that was used to develop the model. Resampling is honest in reporting the results because it depicts the uncertainty in feature selection, e.g., the disagreements in which variables are selected from one resample to the next.</li>\n<li>It is not uncommon for researchers to be disappointed in the test sample validation and to ask for a \"re-do\" whereby another split is made or the modeling starts over, or both. When reporting the final result they sometimes neglect to mention that the result was the third attempt at validation.</li>\n<li>Users of split-sample validation are wise to recombine the two samples to get a better model once the first model is validated. But then they have no validation of the new combined data model.</li>\n</ol>\n<p>There is a less subtle problem but one that is ordinarily not addressed by investigators: unless both the training and test samples are huge, split-sample validation is not nearly as accurate as the bootstrap. See for example the section <em>Studies of Methods Used in the Text</em> <a href=\"http://hbiostat.org/rms\">here</a>. As shown in a simulation appearing there, bootstrapping is typically more accurate than data splitting and cross-validation that does not use a large number of repeats. This is shown by estimating the \"true\" performance, e.g., the R<sup>2</sup> or c-index on an infinitely large dataset (infinite here means 50,000 subjects for practical purposes). The performance of an accuracy estimate is taken as the mean squared error of the estimate against the model's performance in the 50,000 subjects.</p>\n<p>Data are too precious to not be used in model development/parameter estimation. Resampling methods allow the data to be used for both development and validation, and they do a good job in estimating the likely future performance of a model. Data splitting only has an advantage when the test sample is held by another researcher to ensure that the validation is unbiased.</p>\n<p>Many investigators have been told that they must do an \"external\" validation, and they split the data by time or geographical location. They are sometimes surprised that the model developed in one country or time does not validate in another. They should not be; this is an indirect way of saying there are time or country effects. Far better would be to learn about and estimate time and location effects by including them in a unified model. Then rigorous internal validation using the bootstrap, accounting for time and location all along the way. The end result is a model that is useful for prediction at times and locations that were at least somewhat represented in the original dataset, but without assuming that time and location effects are nil.</p>\n<section class=\"level2\" id=\"other-resources\">\n<h2 class=\"anchored\" data-anchor-id=\"other-resources\">Other Resources</h2>\n<ul>\n<li>How to choose between <a href=\"https://hbiostat.org/bbr/reg.html#summary-choosing-internal-vs.-external-validation\">internal and external validation</a></li>\n</ul>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Split-Sample {Model} {Validation}},\n  date = {2017-01-23},\n  url = {https://www.fharrell.com/post/split-val/},\n  doi = {10.59350/hqg7h-8p324},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Split-Sample Model\nValidation.\"</span> Statistical Thinking, January 23. <a href=\"https://doi.org/10.59350/hqg7h-8p324\">https://doi.org/10.59350/hqg7h-8p324</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/hqg7h-8p324","guid":"https://doi.org/10.59350/hqg7h-8p324","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1485129600,"rid":"cr9n8-maw53","summary":"How to cite this article Harrell FE (2017). Split-Sample Model Validation. Statistical Thinking. https://doi.org/10.59350/hqg7h-8p324 Methods used to obtain unbiased estimates of future performance of statistical prediction models and classifiers include data splitting and resampling. The two most commonly used resampling methods are cross-validation and bootstrapping.","tags":["Prediction","Bootstrap","Validation","2017"],"title":"Split-Sample Model Validation","updated_at":1792772930,"url":"https://www.fharrell.com/post/split-val/","version":"v1"}},{"document":{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Clinicians' Misunderstanding of Probabilities Makes Them Like Backwards Probabilities Such As Sensitivity, Specificity, and Type I Error. Statistical Thinking. <a href=\"https://doi.org/10.59350/td3jn-6cf74\">https://doi.org/10.59350/td3jn-6cf74</a></p>\n</div>\n<div class=\"quoteit\">\n<p>Optimum decision making in the presence of uncertainty comes from probabilistic thinking. The relevant probabilities are of a predictive nature: P(the unknown given the known). Thresholds are not helpful and are completely dependent on the utility/cost/loss function.<br/></p>\n<p>Corollary: Since p-values are P(someone else's data are more extreme than mine if H<sub>0</sub> is true) and we don't know whether H<sub>0</sub> is true, it is a non-predictive probability that is not useful for decision making.</p>\n</div>\n<div class=\"page-columns page-full\"><p>Imagine watching a baseball game, seeing the batter get a hit, and hearing the announcer say \"The chance that the batter is left handed is now 0.2!\" No one would care. Baseball fans are interested in the chance that a batter will get a hit conditional on his being right handed (handedness being already known to the fan), the handedness of the pitcher, etc. Unless one is an archaeologist or medical examiner, the interest is in forward probabilities conditional on current and past states. We are interested in the probability of the unknown given the known and the probability of a future event given past and present conditions and events. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>Clinicians are people trained in the science and practice of medicine, and most of them are very good at it. They are also very good at many aspects of research. But they are generally not taught probability, and this can limit their research skills. Many excellent clinicians even let their limitations in understanding probability make them believe that their clinical decision making is worse than it actually is. I have taught many clinicians who say \"I need a hard and fast rule so I know how to diagnose or treat patients. I need a hard cutoff on blood pressure, HbA1c, etc. so that I know what to do, and the fact that I either treat or not treat the patient means that I don't want to consider a probability of disease but desire a simple classification rule.\" This makes the clinician try to influence the statistician to use inefficient, arbitrary methods such as categorization, stratification, and matching.</p>\n<p>In reality, clinicians do not act that way when treating patients. They are smart enough to know that if a patient has cholesterol just over someone's arbitrary threshold they may not start statin therapy right away if the patient has no other risk factors (e.g., smoking) going against him. They know that sometimes you start a patient on a lower dose and see how she responds, or start one drug and try it for a while and then switch drugs if the efficacy is unacceptable or there is a significant side effect.</p>\n<p>So I emphasize the need to understand probabilities when I'm teaching clinicians. A probability is a self-contained summary of the current information, except for the patient's risk aversion and other utilities. Clinicians need to be comfortable with a probability of 0.5 meaning \"we don't know much\" and not requesting a classification of disease/normal that does nothing but cover up the problem. A classification does not account for gray zones or patient and physician utility functions.</p>\n<p>Even physicians who understand the meaning of a probability are often not understanding conditioning. Conditioning is all important, and conditioning on different things massively changes the meaning of the probabilities being computed. Every physician I've known has been taught probabilistic medical diagnosis by first learning about sensitivity (sens) and specificity (spec). These are probabilities that are in backwards time- and information flow order. How did this happen? Sensitivity, specificity, and receiver operating characteristic curves were developed for radar and radio research in the military. It was a important to receive radio signals from distant aircraft, and to detect an incoming aircraft on radar. The ability to detect something that is really there is definitely important. In the 1950s, virologists appropriated these concepts to measure the performance of viral cultures. Virus needs to be detected when it's present, and not detected when it's not. Sensitivity is the probability of detecting a condition when it is truly present, and specificity is the probability of not detecting it when it is truly absent. One can see how these probabilities would be useful outside of virology and bacteriology when the samples are retrospective, as in a case-control studies. But I believe that clinicians and researchers would be better off if backward probabilities were not taught or were mentioned only to illustrate how <strong>not</strong> to think about a problem.</p>\n<p>But the way medical students are educated, they assume that sens and spec are what you first consider in a prospective cohort of patients! This gives the professor the opportunity of teaching Bayes' rule and requires the use of a supposedly unconditional probability known as <em>prevalence</em> which is actually not very well defined. The students plugs everything into Bayes' rule and fails to notice that several quantities cancel out. The result is the following: the proportion of patients with a positive test who have disease, and the proportion with a negative test who have disease. These are trivially calculated from the cohort data without knowing anything about sens, spec, and Bayes. Instead of computing the obvious, the previous backwards way of thinking harms the student's understanding for years to come and influences those who later engage in clinical and pharmaceutical research to believe that type I error and p-values are directly useful.</p>\n<p>The situation in medical diagnosis gets worse when referral bias (also called workup bias) is present. When certain types of patients do not get a final diagnosis, sens and spec are biased. For example, younger women with a negative test may not get the painful procedure that yields the final diagnosis. There are formulas that must be used to correct sens and spec. But wait! When Bayes' rule is used to obtain the probability of disease we needed in the first place, these corrections completely cancel out when the usual correction methods are used! Using forward probabilities in the first place means that one just conditions on age, sex, and result of the initial diagnostic test and no special methods other than (sometimes) logistic regression are required.</p>\n<p>There is an analogy to statistical testing. p-values and type I error are affected by sequential testing and a host of other factors, but forward-time probabilities (Bayesian posterior probabilities) are not. Posterior probabilities condition on what is known and does not have to imagine alternate paths to getting to what is known (as do sens and spec when workup bias exists). p-values and type I errors are backwards-information-flow measures, and clinical researchers and regulators come to believe that type I error is the error of interest. They also very frequently misinterpret p-values. Type I error is one minus spec, and power is sens. The posterior probability is exactly analogous to the probability of disease.</p>\n<p>Sens and spec are so pervasive in medicine, bioinformatics, and biomarker research that we don't question how silly they would be in other contexts. Do we dichotomize a response variable so that we can compute the probability that a patient is on treatment B given a \"positive\" response? On the contrary we want to know the full continuous distribution of the response given the assigned treatment. Again this represents forward probabilities.</p>\n<hr/>\n<section class=\"level2\" id=\"some-useful-resources\">\n<h2 class=\"anchored\" data-anchor-id=\"some-useful-resources\">Some Useful Resources</h2>\n<ul>\n<li><a href=\"https://www.jstor.org/stable/pdf/2529753.pdf\">Properties of diagnostic data distributions</a> by AP Dawid</li>\n<li><a href=\"https://onlinelibrary.wiley.com/doi/abs/10.1002/1097-0258%2820000715%2919%3A13%3C1783%3A%3AAID-SIM497%3E3.0.CO%3B2-B\">The (in)validity of sensitivity and specificity</a> by Irene Guggenmoos\u2010Holzmann and Hans C. van Houwelingen</li>\n<li><a href=\"http://nautil.us/issue/74/networks/the-flawed-reasoning-behind-the-replication-crisis\">The Flawed Reasoning Behind the Replication Crisis</a> by Aubrey Clayton</li>\n</ul>\n</section>\n<section class=\"level2\" id=\"discussion-archive-2017\">\n<h2 class=\"anchored\" data-anchor-id=\"discussion-archive-2017\">Discussion Archive (2017)</h2>\n<p><strong>Sander Greenland</strong>: \"researchers and regulators\u2026 also very frequently misinterpret p-values.\" So do statisticians: \"The p-value is one minus spec, and power is sens.\" NO, that's just wrong. The Type-I error rate (capped by alpha) is 1-spec, and power = sens (so beta = Type-II error rate = 1-sens). These are properties of the test given the design and P is not the first one. P is random, not a property of the test or design; it is a property of the data in relation to the model from which it is computed. That means it varies from data set to data set. In contrast, error rates are calculated across a sequence of data sets.</p>\n<p>Hardly anyone interprets P-values correctly, it seems\u2026but is that that their fault or the fault of statisticians who confuse them with alpha levels or Type-I error rates (test size)?</p>\n<p><strong>Frank Harrell</strong>: Thanks for the correction Sander, although I could imagine a nicer way to state this. I'll correct the analogy in the post from p-value to type I error.</p>\n<p><strong>Sander Greenland</strong>: Sorry for the jarring tone, I was reacting to the cottage industry of P-bashing. That industry would be fine except the more I examine each case of supposed P-badness, the more it looks like P is just being misinterpreted - sometimes in obviously wrong ways (as the posterior probability of a point hypothesis) and sometimes in not so obvious ways as in your passage. I should have said that I agree with most everything you said and thought the over-all point was great, so that's why this mistake was so jarring\u2026Well that and I've been battling P-bashers for years now on just these grounds. Not all are like you in terms of seeing and admitting a mistake. Consider the howler \"P-values overstate evidence\" - no they don't; people overinterpret P-values in terms of cutoffs and their meaning. Senn pointed out the confusion here 16 years ago.</p>\n<p><strong>FH</strong>: Thanks very much for that Sander. I agree with you. I have been sloppy in mixing p-values with type I error in a couple of other places so I appreciate the wake-up call.</p>\n<p><strong>FH</strong>: I think you got what I was trying to convey Martin. Diagnostic models require a cohort study or a non-oversampled cross-sectional study. You can also use an oversampled study such as case-control if you can apply a correction to the model's intercept (no other corrections usually needed). Yes you need a nomogram or a prediction calculator to get the baseline risk and then to update it by the (usually continuous) test result. The technology is there now. I agree with your interpretation of the figure, until you know more about action thresholds the clinician/patient use.</p>\n<p><strong>Martin</strong>: Dr.\u00a0Harrell, I read the chapter of your book and I think I'm getting the idea. Please correct me if I'm wrong:</p>\n<p>What you propose is to condition on other clinical variables (which are theoretically a part of the clinical diagnostic process) to \"predict\" the post-test log odds of the disease. A good diagnostic test would add information to a pre-test model (you picture this as the absolute diagnostic yield).</p>\n<p>And that would be the way of knowing which test to choose in a specific clinical setting, instead of sensitivity and specificity (and LRs, I guess).</p>\n<p>This model relies on an analytical cohort design. Most of diagnostic studies I've read about are based on a cross-sectional design. I wouldn't know if this can change your proposal, but it doesn't look like it does.</p>\n<p>My other concern is the translation into practice. I guess we would need the nomogram or clinical diagnostic rule (mobile app) for it to work. This can be cumbersome in some settings.</p>\n<p>PS: How can one interpret figure 19.6? The test is most useful with pretest probs &lt; 80%? I'm having a hard time interpreting this figure.</p>\n<p><strong>FH</strong>: Thanks for continuing this discussion because it will help me better understand the clinical issues. I should say that it's not they they are unimportant but that they are too indirect. <a href=\"https://hbiostat.org/bbr/dx.html\">Chapter 19 of BBR</a> gives my suggestions. Briefly I want a partial effect plot for each predictor, whether it's a test output or a regular baseline variable. For a test output this is the contribution to the log odds of disease holding all the baseline variables constant. As shown in that chapter once you know the regression fit (odds ratio for a binary test) you can show its impact on absolute risk of disease as a function of baseline risk in general (regardless of what gave the patient a high risk, for example). For the rare case where the test is binary, the odds ratio is the product of the likelihood ratio positive and the likelihood ratio negative.</p>\n<p><strong>Martin</strong>: Thank you for your reply, Dr.\u00a0Harrell.</p>\n<p>Maybe we're talking past each other, and since this is an important topic, I'll try my best to understand your point of view.</p>\n<p>To answer your question, in the context of a RCT it would not make any sense.</p>\n<p>My question to you is, if sensitivity and specificity are not important, what would be the criteria a physician should have to choose a diagnostic test for a given clinical situation?</p>\n<p><strong>FH</strong>: Nothing you discussed motivates the need for sensitivity and specificity. What I need is the effect of each piece of information, e.g., the effect of age, the effect of having a test result of 17.35 on the log odds of disease. Give me a very specific example where sens and spec were needed and probability of disease or probability of outcome did not do the job.</p>\n<p>If you were not diagnosing a patient but were interpreting RCT results would you take time to compute the probability that a patient was on treatment B if she improved her blood pressure?</p>\n<p><strong>Steve Pitts</strong>: I believe I understand your point of view about sn/sp vs probabilities. The main advantage of sensitivity and specificity is the intuitive one: Dr.\u00a0Yerushalmy was onto something with these adjectives. We all know people or pets that are \"sensitive\". It enables medical students to understand intuitively what is actually a pretty complicated subject. The main first order of business is to get them past the TV-show level of understanding, where a positive test means you have disease, and negative means you don't. Tests have properties that are more constant than individual posterior probabilities, whether the test is a clinical finding or an expensive machine.</p>\n<p><strong>FH</strong>: Thanks for the comments Steve. I think it is very appropriate to show people how to move past positive=disease, negative=no disease thinking. I just don't see the role an an indirect way to do this that is based on P(positive given disease) etc. I'd rather go for the jugular: P(disease given all test results and background variables). And beware of assuming that sensitivity and specificity are quite that constant.</p>\n<p><strong>Martin</strong>: Dr.\u00a0Harrell, diagnostic tests have different uses in clinical practice. They can confirm or discard a disease when there's suspicion of disease, discard a disease in an asymptomatic patient (screening), they also have prognostic capabilities, and they can help us decide which therapy is better.</p>\n<p>Now, we cannot mix them up, these are different questions, although some tests can be both diagnostic and prognostic.</p>\n<p>Sensitivity and specificity help us to choose which test to order according to the clinical context. For example, an EKG could not be used to discard a myocardial infarction and a D-dimer could not be used to confirm pulmonary thromboembolism.</p>\n<p>Regarding prevalence. It works as a starting point for prior probabilities, which take into account specific patient characteristics. This and the likelihood of the test result gives us the posterior probabilities. Since rarely are we ever 100% sure of the diagnosis, based on some specified (subjective) thresholds we decide to treat, discard, or take another test.</p>\n<p>So, I would have to disagree that sensitivity and specificity are not important in medical training.</p>\n<p><strong>FH</strong>: I disagree. The confusion caused by sens and spec is massive and even more clearly they take valuable class and study time away from the real need: how to specify probability models and design studies that will yield the data need to estimate their parameters. The only place I can thing of for sens and spec is when you don't have data, or at least the needed data. Do we ever teach physicians how to compute the probability that a patient is male given his disease status? Why is a test different from the patient's sex?</p>\n<p><strong>Clyde Schechter</strong>: The only thing I disagree with here is your implication that clinicians should not be taught about sensitivity and specificity. It really is important to know those concepts, along with prevalence and Bayes' theorem. The reason is that some tests are used in different populations and settings. The same test may be used to mass screen asymptomatic populations, and also as a confirmatory diagnostic test in people with symptoms suggestive of the disease in question. In the former setting the prior probability of disease is typically very low, and in the latter it is usually moderate or even high. The sensitivity and specificity are, under reasonably broad circumstances, the same in both populations as they are generally physico-chemical properties of the test itself. The clinician needs to understand that, and why, the same test result has very different implications in these two uses.</p>\n<p>In fact, I think that this is not sufficiently emphasized in medical training. Most of the clinicians I deal with, even those relatively recently trained, are shocked to learn how low the positive predictive value of most screening tests are. But once they have mastered that, they also need to understand why the very same test can be very informative when applied to a patient who is likely to have the disease in question.</p>\n<p><strong>therandomtexan</strong>: This merits a series of 4 or 5 lectures that tie all these ideas together and get out students past mere sensitivity, specificity, and the PPV. You've just nailed my foot the floor for a couple of days this summer, writing those lectures.</p>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Clinicians' {Misunderstanding} of {Probabilities} {Makes}\n    {Them} {Like} {Backwards} {Probabilities} {Such} {As} {Sensitivity,}\n    {Specificity,} and {Type} {I} {Error}},\n  date = {2017-01-25},\n  url = {https://www.fharrell.com/post/backwards-probs/},\n  doi = {10.59350/td3jn-6cf74},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Clinicians'\nMisunderstanding of Probabilities Makes Them Like Backwards\nProbabilities Such As Sensitivity, Specificity, and Type I\nError.\"</span> Statistical Thinking, January 25. <a href=\"https://doi.org/10.59350/td3jn-6cf74\">https://doi.org/10.59350/td3jn-6cf74</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/td3jn-6cf74","guid":"https://doi.org/10.59350/td3jn-6cf74","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1485302400,"rid":"wgtcv-q4f76","summary":"How to cite this article Harrell FE (2017). Clinicians' Misunderstanding of Probabilities Makes Them Like Backwards Probabilities Such As Sensitivity, Specificity, and Type I Error. Statistical Thinking. https://doi.org/10.59350/td3jn-6cf74 Optimum decision making in the presence of uncertainty comes from probabilistic thinking.","tags":["Specificity","Probability","Backward-probability","Forward-probability","P-value"],"title":"Clinicians' Misunderstanding of Probabilities Makes Them Like Backwards Probabilities Such As Sensitivity, Specificity, and Type I Error","updated_at":1792772927,"url":"https://www.fharrell.com/post/backwards-probs/","version":"v1"}}],"items":[{"authors":[{"affiliation":[{"id":"https://ror.org/03m2x1q45","name":"University of Arizona"}],"contributor_roles":[],"family":"Scott","given":"Eric","url":"https://orcid.org/0000-0002-7430-7879"}],"blog":{"authors":null,"community_id":"3446712e-ab03-4bb7-8641-571dcda8d8cd","created":1787702400,"current_feed_url":null,"description":"Tracking disruptions to U.S. federal science funding, grant by grant.","doi":"https://doi.org/10.59350/grantwitness","favicon":"https://rogue-scholar.org/api/communities/3446712e-ab03-4bb7-8641-571dcda8d8cd/logo","feed_format":"application/atom+xml","feed_url":"https://grantwitness.org/updates/rogue-scholar.xml","filter":null,"generator":"Other","home_page_url":"https://grantwitness.org/updates?type=updates","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":true,"slug":"grantwitness","status":"active","subfield":"3321","title":"Grant Witness","updated":1792713600,"use_api":null},"blog_name":"Grant Witness","blog_slug":"grantwitness","content_html":"<p>Because of limited definitive sources of information about grant-level terminations, EPA awards have a more complex status determination logic than other agencies.</p>\n<h2>Data Sources</h2>\n<h4>DOGE</h4>\n<p>DOGE provides data on terminated awards, although we have found that it is incomplete or occasionally incorrect, so for EPA we use it only in combination with other sources as a signal of grant termination.</p>\n<h4>USAspending awards data</h4>\n<p>We use this source primarily for metadata including grantee information, grant assistance listing (CFDA), grant funding opportunity (also called notice of funding announcement or NOFO), and total obligated and total outlaid amounts.\nWe also track changes to project end dates (i.e. project end date moved earlier, a \"cutoff\", or later, a \"reextension\"), and deobligation events (i.e. a negative amount obligated) which we use in combination as signals of disruption.</p>\n<h4>USAspending account data (File C)</h4>\n<p>File C is released roughly once a month (except that Sep/Oct are combined into one release).\nWe use this source primarily for outlay actions which we use to confirm reinstatements.</p>\n<h4>EPA Next Generation Grants System</h4>\n<p>EPA's <a href=\"https://www.epa.gov/enviro/nggs-overview\">Next Generation Grants System (NGGS)</a> provides an API to download grant-level information and we snapshot this data regularly.\u00a0\nWe use it as a source of grant metadata such as grant description, grantee information, etc.\nNotably, it is our only source for grant titles.\nUnfortunately, it does not carry a clear signal of grant termination, but we use project end date cutoffs and deobligation events in combination with similar signals from USAspending award data in our status determination.</p>\n<h4>Terminated Assistance Listings</h4>\n<p>We have information from a trusted confidential source about particular EPA assistance listings (also called CFDAs) that have been terminated that we use in combination with other signals to determine grant status.</p>\n<h4>Our Environment and Public Works Senate Committee</h4>\n<p>The Our Environment and Public Works Senate Committee released a <a href=\"https://www.epw.senate.gov/public/_cache/files/2/f/2fba3e39-8f8f-4535-ac6b-ef1620896335/0FC77B05BE09FC4D2769B08E517E035F415F104DA17EBB6CF7816F99DB8A73E4.3.11.25-oa-list-of-targeted-grants.pdf\">list of terminated EPA awards</a> in March 2025. This is one of our definitive sources of grant terminations.</p>\n<h4>Greenhouse Gas Reduction Fund</h4>\n<p>In March 2025, EPA <a href=\"https://www.epa.gov/aboutepa/greenhouse-gas-reduction-fund\">terminated</a> eight National Clean Investment Fund (NCIF) and Clean Communities Investment Accelerator (CCIA) awards.\nThe CCIA and NCIF programs appear as though they were fully outlaid on USAspending.\nHowever, the outlaid assets are in accounts frozen by the federal government.\nWe do not know exactly how much has been spent, but it is closer to $0 than to the entire award value, so we have manually adjusted the 'funds spent before disruption' and 'funds remaining before disruption' values for these awards.</p>\n<h4>Court documents</h4>\n<p>At the time of writing, there are two court decisions ordering the reinstatement of EPA awards\u2014<a href=\"https://ia803208.us.archive.org/27/items/gov.uscourts.scd.301710/gov.uscourts.scd.301710.157.1.pdf\">Sustainability Institute v. Trump</a> and <a href=\"https://www.courtlistener.com/docket/69855779/57/green-healthy-homes-initiative-inc-v-environmental-protection-agency/\">Green and Healthy Homes Initiative Inc. vs EPA</a>.\nWe use these documents as a definitive source of award reinstatement and will continue to add court documents for similar decisions in the future.</p>\n<h2>Terminations</h2>\n<p>EPA awards are marked as terminated if any of the following conditions are met:</p>\n<ol>\n<li>\n<p>Awards have been reported as such by PIs or trusted sources</p>\n</li>\n<li>\n<p>Our sources show the awards' assistance listing has been terminated <em><strong>and</strong></em> they have experienced a project end date cutoff or are reported terminated by DOGE, or have a deobligation.</p>\n</li>\n<li>\n<p>Awards appear in any of our sources of known terminations (see Our Environment and Public Works Senate Committee and Greenhouse Gas Reduction Fund above)</p>\n</li>\n<li>\n<p>Awards are reported terminated by DOGE and have a project end date cutoff</p>\n</li>\n<li>\n<p>Awards appear in court documents ordering reinstatement (we assume that if they were ordered reinstated, they must have been terminated for EPA)</p>\n</li>\n</ol>\n<h2>Reinstatements</h2>\n<p>EPA awards are considered reinstated if they have had their end date re-extended after a date cutoff, appear in court documents ordering reinstatement, or are reported as reinstated by PIs or trusted sources.\nReinstatements are confirmed after they receive an outlay.</p>\n<h2>Award value</h2>\n<p>The funds obligated and spent at time of earliest disruption are calculated using the current total obligated amount minus obligations since the earliest termination date and the total outlays minus outlays since the earliest termination date, respectively.\nThe outlay and obligation events come from File C, while the current total obligated and outlaid numbers are from the more regularly updating USAspending awards data.\nAs a result, these estimates may fluctuate week-to-week.</p>","doi":"https://doi.org/10.59350/tq3c6-7x998","guid":"https://doi.org/10.59350/tq3c6-7x998","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1792713600,"rid":"z98pv-wa015","summary":"Because of limited definitive sources of information about grant-level terminations, EPA awards have a more complex status determination logic than other agencies.","tags":["Methods","Environmental Protection Agency"],"title":"EPA Grant Disruption Methodology","updated_at":1792793705,"url":"https://grantwitness.org/epa/updates/methodology","version":"v1"},{"authors":[{"affiliation":[{"name":"CSM Advising LLC"}],"contributor_roles":[],"family":"Marcum","given":"Christopher","url":"https://orcid.org/0000-0002-0899-6143"}],"blog":{"authors":null,"community_id":"8bdb1ae7-4621-4fa5-ad1a-3a639417dfd5","created":1768694400,"current_feed_url":null,"description":"Perspectives on science, data, and technology that don't fit anywhere else.","doi":"https://doi.org/10.59350/chrismarcum","favicon":"https://rogue-scholar.org/api/communities/8bdb1ae7-4621-4fa5-ad1a-3a639417dfd5/logo","feed_format":"application/atom+xml","feed_url":"http://chrismarcum.com/marcum-blog/feed.atom","filter":null,"generator":"Jekyll","home_page_url":"https://www.chrismarcum.com/marcum-blog/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":true,"slug":"chrismarcum","status":"active","subfield":"3312","title":"Open Evidence","updated":1792713600,"use_api":null},"blog_name":"Open Evidence","blog_slug":"chrismarcum","content_html":"<p>In July, we <a href=\"https://presentofcoding.substack.com/p/no-there-arent-500000-comments-on\">showed</a> that anyone could inflate the  \"comments received\" number displayed on<a href=\"http://regulations.gov/\"> </a><a href=\"https://www.chrismarcum.com/marcum-blog/2026/10/23/GSA-Closed-the-Comment-Loophole-on-Regulations-dot-gov.html/regulations.gov\">regulations.gov</a> \u2013 that is, the number of comments submitted during a public comment period. When you attached a file to a comment, the form asked whether the file contained comments from more than one person or entity. Check yes, and you would be asked for the \"Number of persons/entities represented\" by your comment. You could put any number from 1 to 999,999, and whatever number you picked would be added to the docket's \"comments submitted\" count. We tested it on a<a href=\"https://www.regulations.gov/docket/BLM-2026-0068\"> Bureau of Land Management docket</a>, and the count jumped from 310 to over a million by the next day.</p>\n<p>And this topline \"comments received\" number drives news coverage. Reporters cited 500,000 comments on OMB's<a href=\"https://www.regulations.gov/docket/OMB-2026-0034\"> proposed revisions to the Uniform\nGuidance</a> (2 CFR 200) as a measure of public interest. The true count was still very high at over 164K, but that's a far cry from the half million reported by the press.</p>\n<p>Last weekend, we noticed that this had been fixed, and looked back at archived copies of <a href=\"https://www.chrismarcum.com/marcum-blog/2026/10/23/GSA-Closed-the-Comment-Loophole-on-Regulations-dot-gov.html/regulations.gov\">regulations.gov</a> to see when. We found that on September 4, the General Services Administration (GSA), which runs<a href=\"http://regulations.gov/\"> regulations.gov</a>, removed the question from the comment form. A week later, on September 10, GSA relabeled the count and rewrote its description. We don't know for sure whether our post or<a href=\"https://www.science.org/content/article/did-500-000-people-comment-controversial-u-s-grantmaking-rule-not-likely-analysts-say\"> the press coverage we received on it</a> had anything to do with the decision to fix the count bug. Either way, credit to the civil servants at GSA who made the change happen. That's good governance.</p>\n<h1 id=\"how-we-know\">How we know</h1>\n<p><a href=\"http://regulations.gov/\">Regulations.gov</a> runs on a single JavaScript file that generates the comment form and the count box. Every time GSA updates the site, the file gets a new name. The Internet Archive's Wayback Machine saves copies of those files as it crawls, so we can line up every version from the spring through today and check each one \u2013 which we did.\nEvery prior version we checked until midday on September 4, 2026 includes the \"persons/entities\" question on the comment form. Every version after does not. We were first clued into this because we noticed that, despite a very high rate of comments being submitted from campaigns to the US Census Bureau's<a href=\"https://www.regulations.gov/docket/USBC-2026-0628\"> proposed rulemaking on residency requirements for the 2030 census</a> \u2013 a controversial rulemaking where we would expect such gaming \u2013 the comments submitted to comments published had a relatively consistent difference over time. We were tracking this because of our work on<a href=\"https://handsoffourcens.us/\"> handsoffourcens.us</a>.</p>\n<p>We investigated further to find out if GSA had indeed fixed the bug.</p>\n<table>\n<thead>\n<tr>\n<th>Version</th>\n<th>Saved by Wayback</th>\n<th>Question on form?</th>\n<th>Count description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href=\"https://web.archive.org/web/20260904161503/https://www.regulations.gov/assets/regs-gov-e4870fb63e6a2cc104d95a28c19ab88d.js\">e4870fb6</a></td>\n<td>Sep 4, 12:15 PM ET</td>\n<td>Yes</td>\n<td>\"as of 11:59 PM yesterday\"</td>\n</tr>\n<tr>\n<td><a href=\"https://web.archive.org/web/20260904191438/https://www.regulations.gov/assets/regs-gov-c583eabbfdcd1ac2716db6b81d0242f4.js\">c583eabb</a></td>\n<td>Sep 4, 3:14 PM ET</td>\n<td><strong>No</strong></td>\n<td>\"as of 11:59 PM yesterday\"</td>\n</tr>\n<tr>\n<td><a href=\"https://web.archive.org/web/20260910235639/https://www.regulations.gov/assets/regs-gov-c92c9d400a3f9ab0de508f06b23c67a5.js\">c92c9d40</a></td>\n<td>Sep 10, 7:56 PM ET</td>\n<td>No</td>\n<td><strong>\"including unpublished\"</strong></td>\n</tr>\n</tbody>\n</table>\n<blockquote>\n<p>The new count description on the dockets is better, too. It now reads:\n<em>\"The number of comment submissions that have been received (including unpublished) to all documents within this docket.\"</em></p>\n</blockquote>\n<h2 id=\"what-wasnt-fixed\">What wasn't fixed</h2>\n<p>The counts for dockets prior to this change are still on this site. For instance, our BLM test docket still shows 1,037,743 submissions received against 4,477 posted, and the OMB docket still shows 496,606 against 164,654. Neither was corrected.</p>\n<p>We also wanted to know whether anyone else had used the loophole before we wrote about it. So we pulled every proposed rule on<a href=\"http://regulations.gov/\"> regulations.gov</a> whose comment period closed between January 2025 and early September 2026, took a random sample of 300, and compared the number received to the number posted. Most line up closely, which is what you'd expect: the difference is usually comments an agency is still reviewing or chose not to post. A few don't line up at all.\nThe standout is an FAA airworthiness directive for a single Airbus Canada aircraft model. These are technical maintenance orders that usually draw a handful of comments. This one shows 656,575 received and 4 posted. A Copyright Office rule about paying royalties through<a href=\"http://pay.gov/\"> Pay.gov</a> shows 91,510 received and none posted. We can't prove those numbers were inflated, but we also can't think of another way they got there.</p>\n<p>Not every big gap reflects a user entering a large number into \"persons/entities\" field. Sometimes, agencies just don't post every individual comment for a mass-mail campaign, and so the posted count will remain significantly below the received count. The EPA in particular will post one representative letter to stand in for thousands of identical ones. EPA's Waters of the United States rule, which closed October 9, shows 121,798 received and 2,095 posted in the API backend. But we can see what's driving this: the <a href=\"https://www.regulations.gov/docket/EPA-HQ-OW-2026-1090\">EPA posted 47</a> \"mass comment campaign\" representative records on that rule, which likely account for much of the gap.</p>\n<table>\n<thead>\n<tr>\n<th><strong>Docket</strong></th>\n<th><strong>Comment period closed</strong></th>\n<th><strong>Received</strong></th>\n<th><strong>Posted</strong></th>\n<th><strong>Difference</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Closed before the fix</strong></td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/docket/OMB-2026-0034\">OMB-2026-0034</a></td>\n<td>Jul 13, 2026</td>\n<td>496,606</td>\n<td>164,654</td>\n<td>331,952</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/docket/BLM-2026-0068\">BLM-2026-0068</a></td>\n<td>Aug 14, 2026</td>\n<td>1,037,743</td>\n<td>4,477</td>\n<td>1,033,266</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/FAA-2025-0199-0008\">FAA-2025-0199-0008</a></td>\n<td>Nov 10, 2025</td>\n<td>656,575</td>\n<td>4</td>\n<td>656,571</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/COLC-2024-0004-0001\">COLC-2024-0004-0001</a></td>\n<td>Jan 13, 2025</td>\n<td>91,510</td>\n<td>0</td>\n<td>91,510</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/FWS-R4-ES-2024-0073-0001\">FWS-R4-ES-2024-0073-0001</a></td>\n<td>Jan 24, 2025</td>\n<td>70,899</td>\n<td>38,045</td>\n<td>32,854</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/EPA-HQ-OAR-2024-0419-0001\">EPA-HQ-OAR-2024-0419-0001</a></td>\n<td>Apr 15, 2025</td>\n<td>20,979</td>\n<td>194</td>\n<td>20,785</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/IRS-2025-0235-0001\">IRS-2025-0235-0001</a></td>\n<td>Oct 22, 2025</td>\n<td>16,903</td>\n<td>321</td>\n<td>16,582</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/docket/DOT-OST-2025-0831\">DOT-OST-2025-0831</a></td>\n<td>Aug 21, 2026</td>\n<td>1,357</td>\n<td>1,354</td>\n<td>3</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/docket/OCC-2026-0331\">OCC-2026-0331</a></td>\n<td>Aug 21, 2026</td>\n<td>524</td>\n<td>23</td>\n<td>501</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/docket/EPA-HQ-OW-2026-1090\">EPA-HQ-OW-2026-1090</a></td>\n<td>May 26, 2026</td>\n<td>47</td>\n<td>47</td>\n<td>0</td>\n</tr>\n<tr>\n<td><strong>Comment period open after the fix</strong></td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n<td>\u00a0</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/EPA-HQ-OW-2025-0322-15447\">EPA-HQ-OW-2025-0322-15447</a></td>\n<td>Oct 9, 2026</td>\n<td>121,798</td>\n<td>2,095</td>\n<td>119,703</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/FS-2025-0001-342438\">FS-2025-0001-342438</a></td>\n<td>Oct 6, 2026</td>\n<td>19,826</td>\n<td>19,826</td>\n<td>0</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/FAR-2026-0003-0001\">FAR-2026-0003-0001</a></td>\n<td>Oct 19, 2026</td>\n<td>95</td>\n<td>95</td>\n<td>0</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/OPM-2025-0012-0678\">OPM-2025-0012-0678</a></td>\n<td>Sep 29, 2026</td>\n<td>81</td>\n<td>76</td>\n<td>5</td>\n</tr>\n<tr>\n<td><a href=\"https://www.regulations.gov/document/NRC-2025-1204-0004\">NRC-2025-1204-0004</a></td>\n<td>Oct 13, 2026</td>\n<td>52</td>\n<td>52</td>\n<td>0</td>\n</tr>\n</tbody>\n</table>\n<blockquote>\n<p>Counts pulled from the<strong><a href=\"http://regulations.gov/\"> regulations.gov</a></strong> API on October 23, 2026 (October 18 for the OMB, BLM, DOT, OCC, and EPA water docket rows). Rows linked to a docket count the whole docket. Rows linked to a document count that one comment period for a specific document within a docket.</p>\n</blockquote>\n<h2 id=\"methods\">Methods</h2>\n<p>All data come from the public<a href=\"https://open.gsa.gov/api/regulationsgov/\"> regulations.gov API</a>, the same one the website uses. \"Received\" is the API's received count, and \"posted\" is the number of comments the API returns. The before-fix sample was drawn at random from about 2,600 whose comment periods closed between January 1, 2025 and September 3, 2026. The after-fix dockets represent every proposed rule, 35 in all, whose comment period opened September 5 or later and closed by October 22. The table shows the five largest by number received from each group, plus our original docket use-cases. Only two of the after-fix rules drew more than 100 submissions, so this sample can't tell us much about how counts behave now. We also checked the figures against snapshots captured by Wayback Machine.</p>\n<p>The proof of the fix is the document upload form itself: the entities count question is gone.</p>\n<h2 id=\"what-gsa-should-do-next\">What GSA should do next</h2>\n<p>We're really glad that this is fixed going forward, and we think a few small tweaks would complete the change. First, recalculate the counts on dockets where the \"persons/entities\" number was used, or at least flag them. Second, GSA should publish a short note explaining the change, so the public knows the count means something different now. Third, GSA should update the language about comment counts on its FAQ page,<a href=\"https://www.regulations.gov/faq?anchor=find\"> which is now out-of-date</a>. We're following this issue closely, but it still took us over a month to catch this: other people who use this data might miss this important detail unless GSA points this out.</p>","doi":"https://doi.org/10.59350/nd0y0-agy83","guid":"https://www.chrismarcum.com/marcum-blog/2026/10/23/GSA-Closed-the-Comment-Loophole-on-Regulations-dot-gov","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1792713600,"rid":"b68eb-yej13","summary":"In July, we showed that anyone could inflate the \"comments received\" number displayed on regulations.gov \u2013 that is, the number of comments submitted during a public comment period. When you attached a file to a comment, the form asked whether the file contained comments from more than one person or entity. Check yes, and you would be asked for the \"Number of persons/entities represented\" by your comment.","tags":["General"],"title":"GSA Closed the Comment Count Loophole on Regulations.gov","updated_at":1792790704,"url":"https://www.chrismarcum.com/marcum-blog/2026/10/23/GSA-Closed-the-Comment-Loophole-on-Regulations-dot-gov.html","version":"v1"},{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Introduction. Statistical Thinking. <a href=\"https://doi.org/10.59350/hepkr-mgd06\">https://doi.org/10.59350/hepkr-mgd06</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>Statistics is a field that is a science unto itself and that benefits all other fields and everyday life. What is unique about statistics is its proven tools for decision making in the face of uncertainty, understanding sources of variation and bias, and most importantly, <em>statistical thinking</em>. Statistical thinking is a different way of thinking that is part detective, skeptical, and involves alternate takes on a problem. An excellent example of statistical thinking is statistician Abraham Wald's <a href=\"https://en.wikipedia.org/wiki/Abraham_Wald\">analysis</a> of British bombers surviving to return to their base in World War II: his conclusion was to reinforce bombers in areas in which no damage was observed. For other great examples watch my colleague Chris Fonnesbeck's <a href=\"https://www.youtube.com/watch?v=TGGGDpb04Yc\">Statistical Thinking for Data Science</a>. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>Some of my personal philosophy of statistics can be summed up in the list below:</p>\n<ul>\n<li>Statistics needs to be fully integrated into research; experimental design is all important</li>\n<li>Don't be afraid of using modern methods</li>\n<li>Preserve all the information in the data; Avoid categorizing continuous variables and predicted values at all costs</li>\n<li>Don't assume that anything operates linearly</li>\n<li>Account for model uncertainty and avoid it when possible by using subject matter knowledge</li>\n<li>Use the bootstrap routinely, when not using Bayesian methods</li>\n<li>Make the sample size a <a href=\"https://stats.stackexchange.com/questions/256623\">random variable</a> when possible</li>\n<li>Use Bayesian methods whenever possible</li>\n<li>Use excellent graphics, liberally</li>\n<li>To be trustworthy research must be reproducible</li>\n<li>All data manipulation and statistical analysis <strong>must</strong> be reproducible (one ramification being that I advise against the use of point and click software in most cases)</li>\n</ul>\n<p>Statistics has multiple challenges today, which I break down into three major sources:</p>\n<ol type=\"1\">\n<li>Statistics has been and continues to be taught in a traditional way, leading to statisticians believing that our historical approach to estimation, prediction, and inference was good enough.</li>\n<li>Statisticians do not receive sufficient training in computer science and computational methods, too often leaving those areas to others who get so good at dealing with vast quantities of data that they assume they can be self-sufficient in statistical analysis and not seek involvement of statisticians. Many persons who analyze data do not have sufficient training in statistics.</li>\n<li>Subject matter experts (e.g., clinical researchers and epidemiologists) try to avoid statistical complexity by \"dumbing down\" the problem using dichotomization, and statisticians, always trying to be helpful, fail to argue the case that dichotomization of continuous or ordinal variables is almost never an appropriate way to view or analyze data. Statisticians in general do not sufficiently involve themselves in measurement issues.</li>\n</ol>\n<p>I will be discussing several of the issues in future blogs, especially item 1 above and items 2 and 4 below. Complacency in the field of statistics and in statistical education has resulted in</p>\n<ol type=\"1\">\n<li>reliance on large-sample theory so that inaccurate normal distribution-based tools can be used, as opposed to tailoring the analyses to data characteristics using Bayesian methods, the bootstrap, and semiparametric models</li>\n<li>belief that null hypothesis significance testing ever answered the scientific question and the p-values are useful</li>\n<li>avoidance of the likelihood school of inference (relative likelihood, likelihood support intervals, likelihood ratios, etc.)</li>\n<li>avoidance of Bayesian methods (posterior distributions, credible intervals, predictive distributions, etc.)</li>\n</ol>\n<p>I was interviewed by Kevin Gray in July, 2017 where more of my opinions about statistics may be <a href=\"http://www.greenbookblog.org/2017/08/02/vital-statistics-you-never-learned-because-theyre-never-taught/\">found</a>.</p>\n<p>See <a href=\"https://www.fharrell.com/post/introduction//../improve-research\">this article</a> for related thoughts.</p>\n<hr/>\n<p>My top role model is Sherlock Holmes. See <a href=\"https://youtu.be/qt2EnONvBVc?t=991\">this video</a> for an excellent example.</p>\n<!-- -->\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Introduction},\n  date = {2017-01-13},\n  url = {https://www.fharrell.com/post/introduction/},\n  doi = {10.59350/hepkr-mgd06},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Introduction.\"</span>\nStatistical Thinking, January 13. <a href=\"https://doi.org/10.59350/hepkr-mgd06\">https://doi.org/10.59350/hepkr-mgd06</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/hepkr-mgd06","guid":"https://doi.org/10.59350/hepkr-mgd06","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484265600,"rid":"cc24q-bpk29","summary":"How to cite this article Harrell FE (2017). Introduction. Statistical Thinking. https://doi.org/10.59350/hepkr-mgd06 Statistics is a field that is a science unto itself and that benefits all other fields and everyday life.","tags":["2017","Principles"],"title":"Introduction","updated_at":1792772943,"url":"https://www.fharrell.com/post/introduction/","version":"v1"},{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). p-values and Type I Errors are Not the Probabilities We Need. Statistical Thinking. <a href=\"https://doi.org/10.59350/f27qd-grr25\">https://doi.org/10.59350/f27qd-grr25</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>In trying to guard against false conclusions, researchers often attempt to minimize the risk of a \"false positive\" conclusion. In the field of assessing the efficacy of medical and behavioral treatments for improving subjects' outcomes, falsely concluding that a treatment is effective when it is not is an important consideration. Nowhere is this more important than in the drug and medical device regulatory environments, because a treatment thought not to work can be given a second chance as better data arrive, but a treatment judged to be effective may be approved for marketing, and if later data show that the treatment was actually not effective (or was only trivially effective) it is difficult to remove the treatment from the market if it is safe. The probability of a treatment not being effective is the probability of \"regulator's regret.\" One must be very clear on what is conditioned upon (assumed) in computing this probability. Does one condition on the true effectiveness or does one condition on the available data? Type I error conditions on the treatment having no effect and does not entertain the possibility that the treatment actually worsens the patients' outcomes. Can one quantify evidence for making a wrong decision if one assumes that all conclusions of non-zero effect are wrong up front because H<sub>0</sub> was assumed to be true? Aren't useful error probabilities the ones that are not based on assumptions about what we are assessing but rather just on the data available to us? </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>Statisticians have convinced regulators that long-run operating characteristics of a testing procedure should rule the day, e.g., if we did 1000 clinical trials where efficacy was always zero, we want no more than 50 of these trials to be judged as \"positive.\" Never mind that this type I error operating characteristic does not refer to making a correct judgment for the clinical trial at hand. Still, there is a belief that type I error is the probability of regulator's regret (a false positive), i.e., that the treatment is not effective when the data indicate it is. In fact, clinical trialists have been sold a bill of goods by statisticians. No probability derived from an assumption that the treatment has zero effect can provide evidence about that effect. Nor does it measure the chance of the error actually in question. All probabilities are conditional on <em>something</em>, and to be useful they must condition on the <em>right thing</em>. This usually means that what is conditioned upon must be knowable.</p>\n<p>The probability of regulator's regret is the probability that a treatment doesn't work given the data. So the probability we really seek is the probability that the treatment has no effect <em>or that it has a backwards effect</em>. This is precisely one minus the Bayesian posterior probability of efficacy.</p>\n<p>In reality, there is unlikely to exist a treatment that has exactly zero effect. As <a href=\"http://dx.doi.org/10.1037/0003-066x.49.12.997\">Tukey argued in 1991</a>, the effects of treatments A and B are always different, to some decimal place. So the null hypothesis is always false and the type I error could be said to be always zero.</p>\n<p>The best paper I've read about the many ways in which p-values are misinterpreted is <a href=\"http://dx.doi.org/10.1007/s10654-016-0149-3\">Statistical tests, P values, confidence intervals, and power: a guide to misinterpretations</a> written by a group of renowned statisticians. One of my favorite quotes from this paper is</p>\n<div class=\"quoteit\">\n<p>Thus to claim that the null P value is the probability that chance alone produced the observed association is completely backwards: The P value is a probability computed assuming chance was operating alone. The absurdity of the common backwards interpretation might be appreciated by pondering how the P value, which is a probability deduced from a set of assumptions (the statistical model), can possibly refer to the probability of those assumptions.</p>\n</div>\n<p>In 2016 the American Statistical Association took a <a href=\"https://matloff.wordpress.com/2016/03/07/after-150-years-the-asa-says-no-to-p-values\">stand</a> against over-reliance on p-values. This would have made a massive impact on all branches of science had it been issued 50 years ago but better late than never.</p>\n<section class=\"level3\" id=\"update-2017-01-19\">\n<h3 class=\"anchored\" data-anchor-id=\"update-2017-01-19\">Update 2017-01-19</h3>\n<p>Though believed to be true by many non-statisticians, p-values are not the probability that H<sub>0</sub> is true, and to turn them into such probabilities requires Bayes' rule. If you are going to use Bayes' rule you might as well formulate the problem as a full Bayesian model. This has many benefits, not the least of them being that you can select an appropriate prior distribution and you will get exact inference. Attempts by several authors to convert p-values to probabilities of interest (just as sensitivity and specificity are converted to probability of disease once one knows the prevalence of disease) have taken the prior to be discontinuous, putting a high probability on H<sub>0</sub> being exactly true. In my view it is much more sensible to believe that there is no discontinuity in the prior at the point represented by H<sub>0</sub>, encapsulating prior knowledge instead by saying that values near H<sub>0</sub> are more likely if no relevant prior information is available.</p>\n<p>Returning to the non-relevance of type I error as discussed above, and ignoring for the moment that long-run operating characteristics do not directly assist us in making judgments about the current experiment, there is a subtle problem that leads researchers to believe that by controlling type I \"error\" they think they have quantified the probability of misleading evidence. As discussed at length by my colleague <a href=\"https://www.zotero.org/groups/2199991/feh/items/q/Blume\">Jeffrey Blume</a>, once an experiment is done the probability that positive evidence is misleading is <strong>not</strong> type I error. And what exactly does \"error\" mean in \"type I error?\" It is the probability of rejecting H<sub>0</sub> when H<sub>0</sub> is exactly true, just as the p-value is the probability of obtaining data more impressive than that observed given H<sub>0</sub> is true. Are these really error probabilities? Perhaps \u2026 if you have been misled earlier into believing that we should base conclusions on how unlikely the observed data would have been observed under H<sub>0</sub>. Part of the problem is in the loaded word \"reject.\" Rejecting H<sub>0</sub> by seeing data that are unlikely if H<sub>0</sub> is true is perhaps the real error.</p>\n<p>The \"error quantification\" truly needed is the probability that a treatment doesn't work given all the current evidence, which as stated above is simply one minus the Bayesian posterior probability of positive efficacy.</p>\n</section>\n<section class=\"level3\" id=\"update-2017-01-20\">\n<h3 class=\"anchored\" data-anchor-id=\"update-2017-01-20\">Update 2017-01-20</h3>\n<p>Type I error control is an indirect way to being careful about claims of effects. It should never have been the preferred method for achieving that goal. Seen another way, we would choose type I error as the quantity to be controlled if we wanted to:</p>\n<ul>\n<li>require the experimenter to visualize an infinite number of experiments that might have been run, and assume that the current experiment could be exactly replicated</li>\n<li>be interested in long-run operating characteristics vs.\u00a0judgments needing to be made for the one experiment at hand</li>\n<li>be interested in the probability that other replications result in data more extreme than mine if there is no treatment effect</li>\n<li>require early looks at the data to be discounted for future looks</li>\n<li>require past looks at the data to be discounted for earlier inconsequential looks</li>\n<li>create other multiplicity considerations, all of them arising from the chances you give data to be extreme as opposed to the chances that you give effects to be positive</li>\n<li>data can be more extreme for a variety of reasons such as trying to learn faster by looking more often or trying to learn more by comparing more doses or more drugs</li>\n</ul>\n<p>The Bayesian approach focuses on the chances you give effects to be positive and does not have multiplicity issues (potential issues such as examining treatment effects in multiple subgroups are handled by the shrinkage that automatically results when you use the 'right' Bayesian hierarchical model).</p>\n<p>The p-value is the chance that someone else would observe data more extreme than mine if the effect is truly zero (if they could exactly replicate my experiment) and not the probability of no (or a negative) effect of treatment given my data.</p>\n</section>\n<section class=\"level3\" id=\"update-2017-05-10\">\n<h3 class=\"anchored\" data-anchor-id=\"update-2017-05-10\">Update 2017-05-10</h3>\n<p>As discussed in Gamalo-Siebers at al DOI: 10.1002/pst.1807 the type I error is the probability of making an assertion of an effect when no such effect exists. It is <strong>not</strong> the probability of regret for a decision maker, e.g., it is not the probability of a drug regulator's regret. The probability of regret is the probability that the drug doesn't work or is harmful when the decision maker had decided it was helpful. It is the probability of harm or no benefit when an assertion of benefit is made. This is best thought of as the probability of harm or no benefit given the data which is one minus the probability of efficacy. Prob(assertion|no benefit) is not equal to 1-Prob(benefit|data).</p>\n</section>\n<section class=\"level3\" id=\"update-2017-11-28\">\n<h3 class=\"anchored\" data-anchor-id=\"update-2017-11-28\">Update 2017-11-28</h3>\n<p>Type I (\"false positive\") error probability would be a useful concept while a study is being designed. Frequentists speak of type I error control, but after a study is completed, the only way to commit a type I error is to know with certainty that an effect is exactly zero. But then the study would not have been necessary. So type I error remains a long-run operating characteristic for a sequence of <strong>hypothetical</strong> studies.</p>\n<p>Thinking of p-values that a sequence of hypothetical studies might provide, when the type I error is \u03b1 this means P(p-value &lt; \u03b1 | zero effect) = \u03b1. Neither a single p-value nor \u03b1 is the probability of a decision error. They are \"what if\" probabilities, <strong>if</strong> the effect is zero. The p-value for a single study is merely the probability that data more extreme than ours would have been observed had the effect been exactly zero and the experiment was capable of being re-run infinitely often. It is nothing more than this. It is not a false positive probability for the experiment at hand. To compute the false positive probability one would need a prior distribution for the effect (and for the p-value to be perfectly accurate which is rare), and one might as well be fully Bayesian and enjoy all the Bayesian benefits.</p>\n</section>\n<section class=\"level3\" id=\"discussion-archive-2017\">\n<h3 class=\"anchored\" data-anchor-id=\"discussion-archive-2017\">Discussion Archive (2017)</h3>\n<p><strong>Frank Harrell</strong>: You are correct; sorry for the omission of the condition that H0 is true. Thanks for the comments.</p>\n<p><strong>Henry</strong>: When you write the following, \"The p-value is the chance that someone else would observe data more extreme than mine (if they could exactly replicate my experiment) and not the probability of no (or a negative) effect of treatment given my data,\" I am guessing that you left out, \"conditional that the null hypothesis is true.\" While a nitpick, I thought that this is an important and meaningful addendum as its absence changes the meaning to a non-stats reader.</p>\n<p>Great fan of your book and your posts on Stackexchange.</p>\n<p><strong>FH</strong>: Thanks for the perceptive comments. I agree in spirit with all of them until you get into multiplicity where the fundamental problems with p-values just makes everything implode. But in general, and in line with your thoughts, I think that it's not the case that p-values are not related to evidence, it's just that they are not calibrated to provide the quantification of evidence we need. So I need to say these points more clearly, e.g., p-values are the correct functions of the data, and except for not being able to deal with prior knowledge, they are measures of evidence but are not calibrated to what is needed for direct action/decision making.</p>\n<p><strong>Michael Lew</strong>: I like very much the update of January 20, but I think the last sentence misses the important nature of the P-value.</p>\n<p>The best way to ensure care is taken about claims of effects is to make sure that scientists think scientifically: carefully, critically, and consider more than just the statistical result of any particular experiment or study component.</p>\n<p>Bayesian approaches help, presumably, but my opinion is that scientists would be more directly helped in their thinking if the statistics of evidence were emphasised over the statistics of posterior probabilities or the statistics of errors.</p>\n<p>Fisher's P-values have an evidential meaning that has nothing to do with error probabilities. They may not be as rich a depiction of evidence as a likelihood function, but they communicate evidence nonetheless.</p>\n<p>**FH*: These are great points. And I should have said \"stand\" instead of \"strong stand\", or \"expressed significant caution\". I linked to another blog instead of the ASA because the other blog linked to ASA and had some other statements I liked. I would like to note that evidence against H0 is not the kind of evidence I seek in science. A recent paper I co-authored delves into the Fisher vs Neyman-Pearson approaches - see <a href=\"https://jamanetwork.com/journals/jamacardiology/article-abstract/2566171\">this</a>. One reason there are the two schools of thought is that the entire NHST premise is flawed in my humble opinion.</p>\n<p><strong>Michael Lew</strong>: While I emphatically agree with the title of this post, I think that you are not presenting a complete picture of the P-value. In particular, you are your summary of the ASA statement on p-values as a \"strong stand against\" is incorrect. (I was a participant in the discusssions and forum that led to the statement.) Further, you have linked a blog that seems to be that of an anti-p-value polemicist rather than the ASA statement itself. Perhaps that is a useful strategy to obtain support for a strong stand, but it is bad practice.</p>\n<p>No commentary on p-values can avoid further muddying the waters without addressing the necessary distinction between the evidential account of p-values as indices of strength of evidence against the null hypothesised values of the model parameter of interest (Fisherian significance testing) and the alternative long run error rate measure of the analytical method (Neyman-Pearsonian hypothesis testing). See <a href=\"https://stats.stackexchange.com/questions/16218\">this</a> and <a href=\"https://stats.stackexchange.com/questions/112769\">this</a>.</p>\n<p><strong>FH</strong>: IMHO the discussion is best conducted without reference to data, sample size, and shrinking confidence intervals. The \"true unknown population value\" of a parameter is not always easy to define but it is not difficult for me to believe that, for example, in a blood pressure study where one treatment arm involves giving patients weather forecasts there is a miniscule but nonzero effect on blood pressure. So H0 is formally not true in this setting. The effect parameter needs to be exactly equal to zero for H0 to pertain. This is not a sampling issue in my view.</p>\n<p><strong>Daniel Lakens</strong>: There has been a lot of criticism on the simplistic arguments in Tukey and Cohen that the null is never true (and I believe general agreement they got it wrong). You either have to take the view that everything causally impacts everything to tiny degrees we can never measure, or you have to admit the null can be true. The latter is more scientific. I've explained this in a blog post: <a href=\"http://daniellakens.blogspot.com/2014/06/the-null-is-always-false-except-when-it.html\">The Null Is Always False (Except When It Is True)</a>.</p>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {P-Values and {Type} {I} {Errors} Are {Not} the\n    {Probabilities} {We} {Need}},\n  date = {2017-01-14},\n  url = {https://www.fharrell.com/post/pvalprobs/},\n  doi = {10.59350/f27qd-grr25},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"P-Values and Type I\nErrors Are Not the Probabilities We Need.\"</span> Statistical Thinking,\nJanuary 14. <a href=\"https://doi.org/10.59350/f27qd-grr25\">https://doi.org/10.59350/f27qd-grr25</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/f27qd-grr25","guid":"https://doi.org/10.59350/f27qd-grr25","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484352000,"rid":"zztq7-gaj95","summary":"How to cite this article Harrell FE (2017). p-values and Type I Errors are Not the Probabilities We Need. Statistical Thinking. https://doi.org/10.59350/f27qd-grr25 In trying to guard against false conclusions, researchers often attempt to minimize the risk of a \"false positive\" conclusion.","tags":["Judgment","Inference","Likelihood","Bayes","Multiplicity"],"title":"p-values and Type I Errors are Not the Probabilities We Need","updated_at":1792772941,"url":"https://www.fharrell.com/post/pvalprobs/","version":"v1"},{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Null Hypothesis Significance Testing Never Worked. Statistical Thinking. <a href=\"https://doi.org/10.59350/rxzw7-6q428\">https://doi.org/10.59350/rxzw7-6q428</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>Much has been written about problems with our most-used statistical paradigm: frequentist null hypothesis significance testing (NHST), p-values, type I and type II errors, and confidence intervals. Rejection of straw-man null hypotheses leads researchers to believe that their theories are supported, and the unquestioning use of a threshold such as p&lt;0.05 has resulted in hypothesis substitution, search for subgroups, and other gaming that has badly damaged science. But we seldom examine whether the original idea of NHST actually delivered on its goal of making good decisions about effects, given the data. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>NHST is based on something akin to proof by contradiction. The best non-mathematical definition of the p-value I've ever seen is due to <a href=\"https://books.google.com/books?id=KH5GAAAAYAAJ\">Nicholas Maxwell</a>: \"the degree to which the data are embarrassed by the null hypothesis.\" p-values provide evidence against something, never in favor of something, and are the basis for NHST. But proof by contradiction is only fully valid in the context of rules of logic where assertions are true or false without any uncertainty. The classic paper <a href=\"http://dx.doi.org/10.1037/0003-066x.49.12.997\">The Earth is Round (p&lt;.05)</a> by Jacob Cohen has a beautiful example pointing out the fallacy of combining probabilistic ideas with proof by contradiction in an attempt to make decisions about an effect.</p>\n<div class=\"quoteit\">\n<p>The following is almost but not quite the reasononing of null hypothesis rejection:</p>\n<p>If the null hypothesis is correct, then this datum (D) can not occur. It has, however, occurred. Therefore the null hypothesis is false.</p>\n<p>If this were the reasoning of H<sub>0</sub> testing, then it would be formally correct. \u2026 But this is not the reasoning of NHST. Instead, it makes this reasoning probabilistic, as follows:</p>\n<p>If the null hypothesis is correct, then these data are highly unlikely. These data have occurred. Therefore, the null hypothesis is highly unlikely.</p>\n<p>By making it probabilistic, it becomes invalid. \u2026 the syllogism becomes formally incorrect and leads to a conclusion that is not sensible:</p>\n<p>If a person is an American, then he is probably not a member of Congress. (TRUE, RIGHT?) This person is a member of Congress. Therefore, he is probably not an American. (Pollard &amp; Richardson, 1987) <br/></p>\n<p>\u2026 The illusion of attaining improbability or the Bayesian Id's wishful thinking error \u2026 <br/></p>\n<p>Induction has long been a problem in the philosophy of science. Meehl (1990) attributed to the distinguished philosopher Morris Raphael Cohen the saying \"All logic texts are divided into two parts. In the first part, on deductive logic, the fallacies are explained; in the second part, on inductive logic, they are committed.\"</p>\n</div>\n<p>Sometimes when an approach leads to numerous problems, the approach itself is OK and the problems can be repaired. But besides all the other problems caused by NHST (including need for arbitrary multiplicity adjustments, need for consideration of investigator intentions and not just her actions, rejecting H<sub>0</sub> for trivial effects, incentivizing gaming, interpretation difficulties, etc.) it may be the case that the overall approach is defective and should not have been adopted.</p>\n<p>With all of the amazing things Ronald Fisher gave us, and even though he recommended against the unthinking rejection of H<sub>0</sub>, his frequentist approach and dislike of the Bayesian approach did us all a disservice. He called the Bayesian method invalid and was possibly intellectually dishonest when he labeled it as \"inverse probability.\" In fact the p-value is an indirect inverse probability and Bayesian posterior probabilities are direct forwards probabilities that do not condition on a hypothesis, and the Bayesian approach has not only been shown to be valid, but it actually delivers on its promise.</p>\n<section class=\"level2\" id=\"discussion-archive-2017\">\n<h2 class=\"anchored\" data-anchor-id=\"discussion-archive-2017\"><a href=\"https://www.fharrell.com/post/nhst-never//disqus.pdf\">Discussion Archive</a> (2017)</h2>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Null {Hypothesis} {Significance} {Testing} {Never} {Worked}},\n  date = {2017-01-14},\n  url = {https://www.fharrell.com/post/nhst-never/},\n  doi = {10.59350/rxzw7-6q428},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Null Hypothesis\nSignificance Testing Never Worked.\"</span> Statistical Thinking, January\n14. <a href=\"https://doi.org/10.59350/rxzw7-6q428\">https://doi.org/10.59350/rxzw7-6q428</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/rxzw7-6q428","guid":"https://doi.org/10.59350/rxzw7-6q428","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484352000,"rid":"8aepa-2as84","summary":"How to cite this article Harrell FE (2017). Null Hypothesis Significance Testing Never Worked. Statistical Thinking. https://doi.org/10.59350/rxzw7-6q428 Much has been written about problems with our most-used statistical paradigm: frequentist null hypothesis significance testing (NHST), p-values, type I and type II errors, and confidence intervals.","tags":["Logic","Inference","Bayes","P-value","Hypothesis-testing"],"title":"Null Hypothesis Significance Testing Never Worked","updated_at":1792772939,"url":"https://www.fharrell.com/post/nhst-never/","version":"v1"},{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Classification vs.\u00a0Prediction. Statistical Thinking. <a href=\"https://doi.org/10.59350/17jxr-hf782\">https://doi.org/10.59350/17jxr-hf782</a></p>\n</div>\n<div class=\"quoteit\">\n<p>It is important to distinguish prediction and classification. In many decisionmaking contexts, classification represents a premature decision, because classification combines prediction and decision making and usurps the decision maker in specifying costs of wrong decisions. The classification rule must be reformulated if costs/utilities or sampling criteria change. Predictions are separate from decisions and can be used by any decision maker. <br/><br/> Classification is best used with non-stochastic/deterministic outcomes that occur in say 0.3 - 0.7 of the observations, and not when the simplest classifer (always outputting \"positive\" or always outputting \"negative\") is highly accurate or when two individuals with identical inputs can easily have different outcomes. For these situations, modeling tendencies (i.e., probabilities) is key.<br/><br/> Classification should be used when outcomes are distinct and predictors are strong enough to provide, for all subjects, a probability near 1.0 for one of the outcomes.</p>\n</div>\n<div class=\"page-columns page-full\"><p>The field of machine learning arose somewhat independently of the field of statistics. As a result, machine learning experts tend not to emphasize probabilistic thinking. Probabilistic thinking and understanding uncertainty and variation are hallmarks of statistics. By the way, one of the best books about probabilistic thinking is Nate Silver's <em>The Signal and The Noise: Why So Many Predictions Fail But Some Don't</em>. In the medical field, a classic paper is David Spiegelhalter's <a href=\"https://onlinelibrary.wiley.com/doi/abs/10.1002/sim.4780050506\">Probabilistic Prediction in Patient Management and Clinical Trials</a>. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>By not thinking probabilistically, machine learning advocates frequently utilize classifiers instead of using risk prediction models. The situation has gotten acute: many machine learning experts actually label logistic regression as a classification method (it is not). It is important to think about what classification really implies. Classification is in effect a decision. Optimum decisions require making full use of available data, developing predictions, and applying a loss/utility/cost function to make a decision that, for example, minimizes expected loss or maximizes expected utility. Different end users have different utility functions. In risk assessment this leads to their having different risk thresholds for action. Classification assumes that every user has the same utility function and that the utility function implied by the classification system is <em>that</em> utility function.</p>\n<p>Classification is a <em>forced choice</em>. In marketing where the advertising budget is fixed, analysts generally know better than to try to classify a potential customer as someone to ignore or someone to spend resources on. Instead, they model probabilities and create a <em>lift curve</em>, whereby potential customers are sorted in decreasing order of estimated probability of purchasing a product. To get the \"biggest bang for the buck\", the marketer who can afford to advertise to n persons picks the n highest-probability customers as targets. This is rational, and classification is not needed here.</p>\n<p>A frequent argument from data users, e.g., physicians, is that ultimately they need to make a binary decision, so binary classification is needed. This is simply not true. First of all, it is often the case that the best decision is \"no decision; get more data\" when the probability of disease is in the middle. In many other cases, the decision is revocable, e.g., the physician starts the patient on a drug at a lower dose and decides later whether to change the dose or the medication. In surgical therapy the decision to operate is irrevocable, but the choice of <em>when</em> to operate is up to the surgeon and the patient and depends on severity of disease and symptoms. At any rate, if binary classification is needed, it must be done <strong>at the point of care when all utilities are known</strong>, not in a data analysis.</p>\n<p>When are forced choices appropriate? I think that one needs to consider whether the problem is mechanistic or stochastic/probabilistic. Machine learning advocates often want to apply methods made for the former to problems where biologic variation, sampling variability, and measurement errors exist. It may be best to apply classification techniques instead just to high signal:noise ratio situations such as those in which there there is a known gold standard and one can replicate the experiment and get almost the same result each time. An example is pattern recognition - visual, sound, chemical composition, etc. If one creates an optical character recognition algorithm, the algorithm can be trained by exposing it to any number of replicates of attempts to classify an image as the letters A, B, \u2026 The user of such a classifier may not have time to consider whether any of the classifications were \"close calls.\" And the signal:noise ratio is extremely high. In addition, there is a single \"right\" answer for each character. This situation is primarily mechanistic or non-stochastic. Contrast that with forecasting death or disease where two patients with identical known characteristics can easily have different outcomes.</p>\n<p>When close calls are possible, or when there is inherent randomness to the outcomes, probability estimates are called for. One beauty of probabilities is that they are their own error measures. If the probability of disease is 0.1 and the current decision is not to treat the patient, the probability of this being an error is by definition 0.1. A probability of 0.4 may lead the physician to run another lab test or do a biopsy. When the signal:noise ratio is small, classification is usually not a good goal; there one must model <em>tendencies</em>, i.e., probabilities.</p>\n<p>The U.S. Weather Service has always phrased rain forecasts as probabilities. I do not want a classification of \"it will rain today.\" There is a slight loss/disutility of carrying an umbrella, and I want to be the one to make the tradeoff.</p>\n<p>Whether engaging in credit risk scoring, weather forecasting, climate forecasting, marketing, diagnosis a patient's disease, or estimating a patient's prognosis, I do not want to use a classification method. I want risk estimates with credible intervals or confidence intervals. My opinion is that machine learning classifiers are best used in mechanistic high signal:noise ratio situations, and that probability models should be used in most other situations.</p>\n<p>This is related to a subtle point that has been lost on many analysts. Complex machine learning algorithms, which allow for complexities such as high-order interactions, require an <a href=\"https://bmcmedresmethodol.biomedcentral.com/articles/10.1186/1471-2288-14-137\">enormous amount of data</a> unless the signal:noise ratio is high, another reason for reserving some machine learning techniques for such situations. Regression models which capitalize on additivity assumptions (when they are true, and this is approximately true is much of the time) can yield accurate probability models without having massive datasets. And when the outcome variable being predicted has more than two levels, a single regression model fit can be used to obtain all kinds of interesting quantities, e.g., predicted mean, quantiles, exceedance probabilities, and instantaneous hazard rates.</p>\n<p>A special problem with classifiers illustrates an important issue. Users of machine classifiers know that a highly imbalanced sample with regard to a binary outcome variable Y results in a strange classifier. For example, if the sample has 1000 diseased patients and 1,000,000 non-diseased patients, the best classifier may classify everyone as non-diseased; you will be correct 0.999 of the time. For this reason the odd practice of subsampling the controls is used in an attempt to balance the frequencies and get some variation that will lead to sensible looking classifiers (users of regression models would never exclude good data to get an answer). Then they have to, in some ill-defined way, construct the classifier to make up for biasing the sample. It is simply the case that a classifier trained to a 1/2 prevalence situation will not be applicable to a population with a 1/1000 prevalence. The classifier would have to be re-trained on the new sample, and the patterns detected may change greatly. Logistic regression on the other hand elegantly handles this situation by either (1) having as predictors the variables that made the prevalence so low, or (2) recalibrating the intercept (only) for another dataset with much higher prevalence. Classifiers' extreme dependence on prevalence may be enough to make some researchers always use probability estimators like logistic regression instead. One could go so far as to say that classifiers should not be used at all when there is little variation in the outcome variable (prevalence is near 0 or 1), and that only tendencies (probabilities) should be modeled.</p>\n<p>One of the key elements in choosing a method is having a sensitive accuracy scoring rule with the correct statistical properties. Experts in machine classification seldom have the background to understand this enormously important issue, and choosing an improper accuracy score such as proportion classified correctly will result in a bogus model. This is discussed in detail <a href=\"https://www.fharrell.com/post/classification//../class-damage\">here</a>.</p>\n<section class=\"level2\" id=\"resources\">\n<h2 class=\"anchored\" data-anchor-id=\"resources\">Resources</h2>\n<ul>\n<li><a href=\"https://academic.oup.com/jamia/article/29/9/1525/6605096\">The harm of class imbalance corrections for risk prediction models: illustration and simulation using logistic regression</a> by van den Goorbergh, van Smeden, Timmerman, Van Calster</li>\n</ul>\n</section>\n<section class=\"level2\" id=\"acknowledgement\">\n<h2 class=\"anchored\" data-anchor-id=\"acknowledgement\">Acknowledgement</h2>\n<p>Thanks to Andrew Howe for suggesting some wording clarifications.</p>\n<hr/>\n</section>\n<section class=\"level2\" id=\"discussion-archive-20172021\">\n<h2 class=\"anchored\" data-anchor-id=\"discussion-archive-20172021\"><a href=\"https://www.fharrell.com/post/classification//disqus.pdf\">Discussion Archive</a> (2017\u20132021)</h2>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Classification Vs. {Prediction}},\n  date = {2017-01-15},\n  url = {https://www.fharrell.com/post/classification/},\n  doi = {10.59350/17jxr-hf782},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Classification Vs.\nPrediction.\"</span> Statistical Thinking, January 15. <a href=\"https://doi.org/10.59350/17jxr-hf782\">https://doi.org/10.59350/17jxr-hf782</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/17jxr-hf782","guid":"https://doi.org/10.59350/17jxr-hf782","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484438400,"rid":"4th59-b4t81","summary":"How to cite this article Harrell FE (2017). Classification vs. Prediction. Statistical Thinking. https://doi.org/10.59350/17jxr-hf782 It is important to distinguish prediction and classification. In many decisionmaking contexts, classification represents a premature decision, because classification combines prediction and decision making and usurps the decision maker in specifying costs of wrong decisions.","tags":["Prediction","Decision-making","Machine-learning","Accuracy-score","Classification"],"title":"Classification vs. Prediction","updated_at":1792772936,"url":"https://www.fharrell.com/post/classification/","version":"v1"},{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Ideas for Future Articles. Statistical Thinking. <a href=\"https://doi.org/10.59350/bk0rc-5jv57\">https://doi.org/10.59350/bk0rc-5jv57</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>Suggestions for future articles are welcomed as comments to this entry. Some topics I intend to write about are listed below. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<ol type=\"1\">\n<li>Matching vs.\u00a0covariate adjustment (see below from Arne Warnke)</li>\n<li>Statistical strategy for propensity score modeling and usage</li>\n<li>What is the full meaning of a posterior probability?</li>\n<li>Moving from pdf to html for statistical reporting</li>\n<li>Is machine learning statistics or computer science?</li>\n<li>Sample size calculation: Is it voodoo?</li>\n<li>Difference between Bayesian modeling and frequentist inference</li>\n</ol>\n<hr/>\n<p>A few weeks ago we had a small discussion at CrossValidated about the pros and cons of matching <a href=\"http://stats.stackexchange.com/questions/248676\">here</a>. I am sorry that I did not had enough time to elaborate further on the support of matching procedures (in my field researchers do not focus much on a bias-variance tradeoff but they prioritize on minimizing biases. For that reason, they like matching procedures). Now, I have seen that you started a blog recently (congratulations!). I would like to encourage to take up the topic of matching because it is probably interesting for many applied researchers. I think in your 'philosophy', this would belong to the point \"Preserve all the information in the data\". Here, perhaps some input for a blog post. Back then, you wrote:</p>\n<div class=\"quoteit\">\n<p>Matching on continuous variables results in an incomplete adjustment because the variables have to be binned.</p>\n</div>\n<p>What about propensity score matching?</p>\n<p><small> Matching throws away good data from observations that would be good matches.</small></p><small>\n</small><p><small>Extrapolation bias is only a significant problem if there is a covariate by group interaction, and users of matching methods ignore interactions anyway. </small></p>\n<p>Here, you go too far (in my view). You can add interactions, again for example with propensity score matching. Imbens and Rubin (2015) suggest a procedure using quadratic and interaction terms of the covariates.</p>\n<p><small>Comment: Nice to know this exists but I've never seen a paper that used matching attempt to explore interactions. If you don't want to make regression assumptions that are unverifiable, remove observations outside the overlap region just as with matching.</small></p>\n<p>Which assumptions do you refer to? I think that treating everyone the same (statistically) is also an unverifiable assumption (do you disagree?). What is your opinion about weighted least squares?</p>\n<p><small> Comment: This is the no-interaction assumption. If you assume additivity then it's more OK to have a no-overlap region, otherwise throw-away non-overlap regions and do a conditional analysis. Not clear on the need for weighting here. In general I like conditioning over weighting. </small></p>\n<p>Arne Jonas Warnke<br/> Labour Markets, Human Resources and Social Policy<br/> Internet: <a href=\"http://www.zew.de\">zew.de</a></p>\n<hr/>\n<section class=\"level2\" id=\"discussion-archive-2017\">\n<h2 class=\"anchored\" data-anchor-id=\"discussion-archive-2017\"><a href=\"https://www.fharrell.com/post/ideas-articles//disqus.pdf\">Discussion Archive</a> (2017)</h2>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Ideas for {Future} {Articles}},\n  date = {2017-01-16},\n  url = {https://www.fharrell.com/post/ideas-articles/},\n  doi = {10.59350/bk0rc-5jv57},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Ideas for Future\nArticles.\"</span> Statistical Thinking, January 16. <a href=\"https://doi.org/10.59350/bk0rc-5jv57\">https://doi.org/10.59350/bk0rc-5jv57</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/bk0rc-5jv57","guid":"https://doi.org/10.59350/bk0rc-5jv57","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484524800,"rid":"t99gs-k3q74","summary":"How to cite this article Harrell FE (2017). Ideas for Future Articles. Statistical Thinking. https://doi.org/10.59350/bk0rc-5jv57 Suggestions for future articles are welcomed as comments to this entry. Some topics I intend to write about are listed below. Comments Matching vs. covariate adjustment (see below from Arne Warnke) Statistical strategy for propensity score modeling and usage What is the full meaning of a posterior probability?","tags":["2017"],"title":"Ideas for Future Articles","updated_at":1792772934,"url":"https://www.fharrell.com/post/ideas-articles/","version":"v1"},{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Fundamental Principles of Statistics. Statistical Thinking. <a href=\"https://doi.org/10.59350/njpzb-qcd80\">https://doi.org/10.59350/njpzb-qcd80</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>There are many principles involved in the theory and practice of statistics, but here are the ones that guide my practice the most. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<ol type=\"1\">\n<li>Use methods grounded in theory or extensive simulation</li>\n<li>Understand uncertainty, and realize that the most honest approach to inference is a Bayesian model that takes into account what you don't know (e.g., Are variances equal? Is the distribution normal? Should an interaction term be in the model?)</li>\n<li>Realize that it is sampling distributions that makes statistics complicated and probabilities hard to approximate, and that it is posterior distributions that do not depend on things that shouldn't matter such as earlier inconsequential interim analyses or analyses to be done in the future</li>\n<li>Understand that dealing with multiplicities on the randomness scale is far less relevant than setting the bar higher in the first place, by formulating more stringent assertions</li>\n<li>Strive to base analyses on statistical models, since models give rise to likelihood functions that bridge Bayesian and frequentist inference and can be extended to handle missing data, measurement error, censoring, serial correlation, external information, and other complexities</li>\n<li>Unify approaches and avoid the need for one-off statistical tests by using semiparametric models</li>\n<li>Design experiments to maximize information</li>\n<li>Understand the measurements you are analyzing and don't hesitate to question how the underlying information was captured</li>\n<li>Be more interested in <a href=\"https://academic.oup.com/clinchem/article/56/7/1080/5622360\">questions than in null hypotheses</a>, and be more interested in estimation than in answering narrow questions</li>\n<li>Verify that the sample size will support the intended analyses, or pre-specify a simpler analysis for which the sample size is adequate; live within the confines of the information content of the data</li>\n<li>Rather than making dichotomous decisions about inclusion of variables or complexities (nonlinearities, interactions, unequal variances, etc.) in the model, which results in uncertainty intervals that are too narrow, put parameters in the model for aspects you don't know. Bayesian models that put priors on complexities provide continuous solutions that automatically relax assumptions as the sample size grows. The resulting uncertainty intervals will not be falsely confident since model uncertainty is taken into account.</li>\n<li>Use all information in data during analysis</li>\n<li>Use discovery and estimation procedures not likely to claim that noise is signal</li>\n<li>Strive for optimal quantification of evidence about effects</li>\n<li>Give decision makers the inputs (<em>other</em> than the utility function) that optimize decisions</li>\n<li>Present information in ways that are intuitive, maximize information content, and are correctly perceived</li>\n<li>Give the client what she needs, not what she wants</li>\n<li>Teach the client to want what she needs</li>\n</ol>\n<hr/>\n<div class=\"quoteit\">\n<p>\u2026 the statistician must be instinctively and primarily a logician and a scientist in the broader sense, and only secondarily a user of the specialized statistical techniques. <br/><br/> In considering the refinements and modifications of the scientific method which particularly apply to the work of the statistician, the first point to be emphasized is that the statistician is always dealing with probabilities and degrees of uncertainty. He is, in effect, a Sherlock Holmes of figures, who must work mainly, or wholly, from circumstantial evidence. <br/><br/> Malcolm C Rorty: Statistics and the Scientific Method<br/>JASA 26:1-10, 1931 <br/><br/> The statistical method is more than an array of techniques. The statistical method is a mode of thought; it is sharpened thinking; it is power. <br/><br/> William Edwards Deming, International Statistical Institute Meeting, Sept 1953 <br/><br/> Science is not about falsifying hypotheses. Science is about determining what component of a set of observations are reproducible, and then trying to determine the mechanism or rule to explain those observations\u2026 again, reasoning from data, not by starting with an axiom. <br/><br/> <a href=\"https://twitter.com/davidjglassMD/status/1186074984701145088\">David J Glass</a></p>\n</div>\n<hr/>\n<p>See <a href=\"https://www.fharrell.com/post/principles//../improve-research\">this post</a> for related thoughts.</p>\n<!-- -->\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Fundamental {Principles} of {Statistics}},\n  date = {2017-01-18},\n  url = {https://www.fharrell.com/post/principles/},\n  doi = {10.59350/njpzb-qcd80},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Fundamental Principles\nof Statistics.\"</span> Statistical Thinking, January 18. <a href=\"https://doi.org/10.59350/njpzb-qcd80\">https://doi.org/10.59350/njpzb-qcd80</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/njpzb-qcd80","guid":"https://doi.org/10.59350/njpzb-qcd80","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1484697600,"rid":"pm0z7-nmg84","summary":"How to cite this article Harrell FE (2017). Fundamental Principles of Statistics. Statistical Thinking. https://doi.org/10.59350/njpzb-qcd80 There are many principles involved in the theory and practice of statistics, but here are the ones that guide my practice the most.","tags":["Design","Measurement","Principles","2017","2023"],"title":"Fundamental Principles of Statistics","updated_at":1792772932,"url":"https://www.fharrell.com/post/principles/","version":"v1"},{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Split-Sample Model Validation. Statistical Thinking. <a href=\"https://doi.org/10.59350/hqg7h-8p324\">https://doi.org/10.59350/hqg7h-8p324</a></p>\n</div>\n<div class=\"page-columns page-full\"><p>Methods used to obtain unbiased estimates of future performance of statistical prediction models and classifiers include data splitting and resampling. The two most commonly used resampling methods are cross-validation and bootstrapping. To be as good as the bootstrap, about 100 repeats of 10-fold cross-validation are required. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>As discussed in more detail in Section 5.3 of <a href=\"http://hbiostat.org/rmsc\">Regression Modeling Strategies Course Notes</a> and the same section of the RMS book, data splitting is an unstable method for validating models or classifiers, especially when the number of subjects is less than about 20,000 (fewer if signal:noise ratio is high). This is because were you to split the data again, develop a new model on the training sample, and test it on the holdout sample, the results are likely to vary significantly. Data splitting requires a significantly larger sample size than resampling to work acceptably well. See also <a href=\"https://hbiostat.org/bbr/reg.html#internal-vs.-external-model-validation\">here</a>.</p>\n<p>There are also very subtle problems:</p>\n<ol type=\"1\">\n<li>When feature selection is done, data splitting validates just one of a myriad of potential models. In effect it validates an example model. Resampling (repeated cross-validation or the bootstrap) validate the process that was used to develop the model. Resampling is honest in reporting the results because it depicts the uncertainty in feature selection, e.g., the disagreements in which variables are selected from one resample to the next.</li>\n<li>It is not uncommon for researchers to be disappointed in the test sample validation and to ask for a \"re-do\" whereby another split is made or the modeling starts over, or both. When reporting the final result they sometimes neglect to mention that the result was the third attempt at validation.</li>\n<li>Users of split-sample validation are wise to recombine the two samples to get a better model once the first model is validated. But then they have no validation of the new combined data model.</li>\n</ol>\n<p>There is a less subtle problem but one that is ordinarily not addressed by investigators: unless both the training and test samples are huge, split-sample validation is not nearly as accurate as the bootstrap. See for example the section <em>Studies of Methods Used in the Text</em> <a href=\"http://hbiostat.org/rms\">here</a>. As shown in a simulation appearing there, bootstrapping is typically more accurate than data splitting and cross-validation that does not use a large number of repeats. This is shown by estimating the \"true\" performance, e.g., the R<sup>2</sup> or c-index on an infinitely large dataset (infinite here means 50,000 subjects for practical purposes). The performance of an accuracy estimate is taken as the mean squared error of the estimate against the model's performance in the 50,000 subjects.</p>\n<p>Data are too precious to not be used in model development/parameter estimation. Resampling methods allow the data to be used for both development and validation, and they do a good job in estimating the likely future performance of a model. Data splitting only has an advantage when the test sample is held by another researcher to ensure that the validation is unbiased.</p>\n<p>Many investigators have been told that they must do an \"external\" validation, and they split the data by time or geographical location. They are sometimes surprised that the model developed in one country or time does not validate in another. They should not be; this is an indirect way of saying there are time or country effects. Far better would be to learn about and estimate time and location effects by including them in a unified model. Then rigorous internal validation using the bootstrap, accounting for time and location all along the way. The end result is a model that is useful for prediction at times and locations that were at least somewhat represented in the original dataset, but without assuming that time and location effects are nil.</p>\n<section class=\"level2\" id=\"other-resources\">\n<h2 class=\"anchored\" data-anchor-id=\"other-resources\">Other Resources</h2>\n<ul>\n<li>How to choose between <a href=\"https://hbiostat.org/bbr/reg.html#summary-choosing-internal-vs.-external-validation\">internal and external validation</a></li>\n</ul>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Split-Sample {Model} {Validation}},\n  date = {2017-01-23},\n  url = {https://www.fharrell.com/post/split-val/},\n  doi = {10.59350/hqg7h-8p324},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Split-Sample Model\nValidation.\"</span> Statistical Thinking, January 23. <a href=\"https://doi.org/10.59350/hqg7h-8p324\">https://doi.org/10.59350/hqg7h-8p324</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/hqg7h-8p324","guid":"https://doi.org/10.59350/hqg7h-8p324","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1485129600,"rid":"cr9n8-maw53","summary":"How to cite this article Harrell FE (2017). Split-Sample Model Validation. Statistical Thinking. https://doi.org/10.59350/hqg7h-8p324 Methods used to obtain unbiased estimates of future performance of statistical prediction models and classifiers include data splitting and resampling. The two most commonly used resampling methods are cross-validation and bootstrapping.","tags":["Prediction","Bootstrap","Validation","2017"],"title":"Split-Sample Model Validation","updated_at":1792772930,"url":"https://www.fharrell.com/post/split-val/","version":"v1"},{"authors":[{"affiliation":[{"id":"https://ror.org/05dq2gs74","name":"Vanderbilt University Medical Center"}],"contributor_roles":[],"family":"Harrell","given":"Frank","url":"https://orcid.org/0000-0002-8271-5493"}],"blog":{"authors":[{"name":"Frank Harrell","url":"https://orcid.org/0000-0002-8271-5493"}],"community_id":"e74e284b-0d7e-4e86-bfae-58b71f06a7cf","created":1792713600,"current_feed_url":null,"description":"Parametric Models vs. Empirical Distributions and Ordinal Regression.","doi":"https://doi.org/10.59350/fharell","favicon":"https://rogue-scholar.org/api/communities/e74e284b-0d7e-4e86-bfae-58b71f06a7cf/logo","feed_format":"application/rss+xml","feed_url":"https://www.fharrell.com/index.xml","filter":null,"generator":"Quarto","home_page_url":"https://www.fharrell.com/","issn":null,"language":"eng","license":"https://creativecommons.org/licenses/by/4.0/legalcode","prefix":"10.59350","relative_url":null,"secure":null,"slug":"fharrell","status":"active","subfield":"2613","title":"Statistical Thinking","updated":1786251600,"use_api":null},"blog_name":"Statistical Thinking","blog_slug":"fharrell","content_html":"<div class=\"cite-box\">\n<div class=\"cite-box-title\">\nHow to cite this article\n</div>\n<p>Harrell FE (2017). Clinicians' Misunderstanding of Probabilities Makes Them Like Backwards Probabilities Such As Sensitivity, Specificity, and Type I Error. Statistical Thinking. <a href=\"https://doi.org/10.59350/td3jn-6cf74\">https://doi.org/10.59350/td3jn-6cf74</a></p>\n</div>\n<div class=\"quoteit\">\n<p>Optimum decision making in the presence of uncertainty comes from probabilistic thinking. The relevant probabilities are of a predictive nature: P(the unknown given the known). Thresholds are not helpful and are completely dependent on the utility/cost/loss function.<br/></p>\n<p>Corollary: Since p-values are P(someone else's data are more extreme than mine if H<sub>0</sub> is true) and we don't know whether H<sub>0</sub> is true, it is a non-predictive probability that is not useful for decision making.</p>\n</div>\n<div class=\"page-columns page-full\"><p>Imagine watching a baseball game, seeing the batter get a hit, and hearing the announcer say \"The chance that the batter is left handed is now 0.2!\" No one would care. Baseball fans are interested in the chance that a batter will get a hit conditional on his being right handed (handedness being already known to the fan), the handedness of the pitcher, etc. Unless one is an archaeologist or medical examiner, the interest is in forward probabilities conditional on current and past states. We are interested in the probability of the unknown given the known and the probability of a future event given past and present conditions and events. </p><div class=\"no-row-height column-margin column-container\"><span class=\"margin-aside\"><a href=\"https://hbiostat.org/comment.html\">Comments</a></span></div></div>\n<p>Clinicians are people trained in the science and practice of medicine, and most of them are very good at it. They are also very good at many aspects of research. But they are generally not taught probability, and this can limit their research skills. Many excellent clinicians even let their limitations in understanding probability make them believe that their clinical decision making is worse than it actually is. I have taught many clinicians who say \"I need a hard and fast rule so I know how to diagnose or treat patients. I need a hard cutoff on blood pressure, HbA1c, etc. so that I know what to do, and the fact that I either treat or not treat the patient means that I don't want to consider a probability of disease but desire a simple classification rule.\" This makes the clinician try to influence the statistician to use inefficient, arbitrary methods such as categorization, stratification, and matching.</p>\n<p>In reality, clinicians do not act that way when treating patients. They are smart enough to know that if a patient has cholesterol just over someone's arbitrary threshold they may not start statin therapy right away if the patient has no other risk factors (e.g., smoking) going against him. They know that sometimes you start a patient on a lower dose and see how she responds, or start one drug and try it for a while and then switch drugs if the efficacy is unacceptable or there is a significant side effect.</p>\n<p>So I emphasize the need to understand probabilities when I'm teaching clinicians. A probability is a self-contained summary of the current information, except for the patient's risk aversion and other utilities. Clinicians need to be comfortable with a probability of 0.5 meaning \"we don't know much\" and not requesting a classification of disease/normal that does nothing but cover up the problem. A classification does not account for gray zones or patient and physician utility functions.</p>\n<p>Even physicians who understand the meaning of a probability are often not understanding conditioning. Conditioning is all important, and conditioning on different things massively changes the meaning of the probabilities being computed. Every physician I've known has been taught probabilistic medical diagnosis by first learning about sensitivity (sens) and specificity (spec). These are probabilities that are in backwards time- and information flow order. How did this happen? Sensitivity, specificity, and receiver operating characteristic curves were developed for radar and radio research in the military. It was a important to receive radio signals from distant aircraft, and to detect an incoming aircraft on radar. The ability to detect something that is really there is definitely important. In the 1950s, virologists appropriated these concepts to measure the performance of viral cultures. Virus needs to be detected when it's present, and not detected when it's not. Sensitivity is the probability of detecting a condition when it is truly present, and specificity is the probability of not detecting it when it is truly absent. One can see how these probabilities would be useful outside of virology and bacteriology when the samples are retrospective, as in a case-control studies. But I believe that clinicians and researchers would be better off if backward probabilities were not taught or were mentioned only to illustrate how <strong>not</strong> to think about a problem.</p>\n<p>But the way medical students are educated, they assume that sens and spec are what you first consider in a prospective cohort of patients! This gives the professor the opportunity of teaching Bayes' rule and requires the use of a supposedly unconditional probability known as <em>prevalence</em> which is actually not very well defined. The students plugs everything into Bayes' rule and fails to notice that several quantities cancel out. The result is the following: the proportion of patients with a positive test who have disease, and the proportion with a negative test who have disease. These are trivially calculated from the cohort data without knowing anything about sens, spec, and Bayes. Instead of computing the obvious, the previous backwards way of thinking harms the student's understanding for years to come and influences those who later engage in clinical and pharmaceutical research to believe that type I error and p-values are directly useful.</p>\n<p>The situation in medical diagnosis gets worse when referral bias (also called workup bias) is present. When certain types of patients do not get a final diagnosis, sens and spec are biased. For example, younger women with a negative test may not get the painful procedure that yields the final diagnosis. There are formulas that must be used to correct sens and spec. But wait! When Bayes' rule is used to obtain the probability of disease we needed in the first place, these corrections completely cancel out when the usual correction methods are used! Using forward probabilities in the first place means that one just conditions on age, sex, and result of the initial diagnostic test and no special methods other than (sometimes) logistic regression are required.</p>\n<p>There is an analogy to statistical testing. p-values and type I error are affected by sequential testing and a host of other factors, but forward-time probabilities (Bayesian posterior probabilities) are not. Posterior probabilities condition on what is known and does not have to imagine alternate paths to getting to what is known (as do sens and spec when workup bias exists). p-values and type I errors are backwards-information-flow measures, and clinical researchers and regulators come to believe that type I error is the error of interest. They also very frequently misinterpret p-values. Type I error is one minus spec, and power is sens. The posterior probability is exactly analogous to the probability of disease.</p>\n<p>Sens and spec are so pervasive in medicine, bioinformatics, and biomarker research that we don't question how silly they would be in other contexts. Do we dichotomize a response variable so that we can compute the probability that a patient is on treatment B given a \"positive\" response? On the contrary we want to know the full continuous distribution of the response given the assigned treatment. Again this represents forward probabilities.</p>\n<hr/>\n<section class=\"level2\" id=\"some-useful-resources\">\n<h2 class=\"anchored\" data-anchor-id=\"some-useful-resources\">Some Useful Resources</h2>\n<ul>\n<li><a href=\"https://www.jstor.org/stable/pdf/2529753.pdf\">Properties of diagnostic data distributions</a> by AP Dawid</li>\n<li><a href=\"https://onlinelibrary.wiley.com/doi/abs/10.1002/1097-0258%2820000715%2919%3A13%3C1783%3A%3AAID-SIM497%3E3.0.CO%3B2-B\">The (in)validity of sensitivity and specificity</a> by Irene Guggenmoos\u2010Holzmann and Hans C. van Houwelingen</li>\n<li><a href=\"http://nautil.us/issue/74/networks/the-flawed-reasoning-behind-the-replication-crisis\">The Flawed Reasoning Behind the Replication Crisis</a> by Aubrey Clayton</li>\n</ul>\n</section>\n<section class=\"level2\" id=\"discussion-archive-2017\">\n<h2 class=\"anchored\" data-anchor-id=\"discussion-archive-2017\">Discussion Archive (2017)</h2>\n<p><strong>Sander Greenland</strong>: \"researchers and regulators\u2026 also very frequently misinterpret p-values.\" So do statisticians: \"The p-value is one minus spec, and power is sens.\" NO, that's just wrong. The Type-I error rate (capped by alpha) is 1-spec, and power = sens (so beta = Type-II error rate = 1-sens). These are properties of the test given the design and P is not the first one. P is random, not a property of the test or design; it is a property of the data in relation to the model from which it is computed. That means it varies from data set to data set. In contrast, error rates are calculated across a sequence of data sets.</p>\n<p>Hardly anyone interprets P-values correctly, it seems\u2026but is that that their fault or the fault of statisticians who confuse them with alpha levels or Type-I error rates (test size)?</p>\n<p><strong>Frank Harrell</strong>: Thanks for the correction Sander, although I could imagine a nicer way to state this. I'll correct the analogy in the post from p-value to type I error.</p>\n<p><strong>Sander Greenland</strong>: Sorry for the jarring tone, I was reacting to the cottage industry of P-bashing. That industry would be fine except the more I examine each case of supposed P-badness, the more it looks like P is just being misinterpreted - sometimes in obviously wrong ways (as the posterior probability of a point hypothesis) and sometimes in not so obvious ways as in your passage. I should have said that I agree with most everything you said and thought the over-all point was great, so that's why this mistake was so jarring\u2026Well that and I've been battling P-bashers for years now on just these grounds. Not all are like you in terms of seeing and admitting a mistake. Consider the howler \"P-values overstate evidence\" - no they don't; people overinterpret P-values in terms of cutoffs and their meaning. Senn pointed out the confusion here 16 years ago.</p>\n<p><strong>FH</strong>: Thanks very much for that Sander. I agree with you. I have been sloppy in mixing p-values with type I error in a couple of other places so I appreciate the wake-up call.</p>\n<p><strong>FH</strong>: I think you got what I was trying to convey Martin. Diagnostic models require a cohort study or a non-oversampled cross-sectional study. You can also use an oversampled study such as case-control if you can apply a correction to the model's intercept (no other corrections usually needed). Yes you need a nomogram or a prediction calculator to get the baseline risk and then to update it by the (usually continuous) test result. The technology is there now. I agree with your interpretation of the figure, until you know more about action thresholds the clinician/patient use.</p>\n<p><strong>Martin</strong>: Dr.\u00a0Harrell, I read the chapter of your book and I think I'm getting the idea. Please correct me if I'm wrong:</p>\n<p>What you propose is to condition on other clinical variables (which are theoretically a part of the clinical diagnostic process) to \"predict\" the post-test log odds of the disease. A good diagnostic test would add information to a pre-test model (you picture this as the absolute diagnostic yield).</p>\n<p>And that would be the way of knowing which test to choose in a specific clinical setting, instead of sensitivity and specificity (and LRs, I guess).</p>\n<p>This model relies on an analytical cohort design. Most of diagnostic studies I've read about are based on a cross-sectional design. I wouldn't know if this can change your proposal, but it doesn't look like it does.</p>\n<p>My other concern is the translation into practice. I guess we would need the nomogram or clinical diagnostic rule (mobile app) for it to work. This can be cumbersome in some settings.</p>\n<p>PS: How can one interpret figure 19.6? The test is most useful with pretest probs &lt; 80%? I'm having a hard time interpreting this figure.</p>\n<p><strong>FH</strong>: Thanks for continuing this discussion because it will help me better understand the clinical issues. I should say that it's not they they are unimportant but that they are too indirect. <a href=\"https://hbiostat.org/bbr/dx.html\">Chapter 19 of BBR</a> gives my suggestions. Briefly I want a partial effect plot for each predictor, whether it's a test output or a regular baseline variable. For a test output this is the contribution to the log odds of disease holding all the baseline variables constant. As shown in that chapter once you know the regression fit (odds ratio for a binary test) you can show its impact on absolute risk of disease as a function of baseline risk in general (regardless of what gave the patient a high risk, for example). For the rare case where the test is binary, the odds ratio is the product of the likelihood ratio positive and the likelihood ratio negative.</p>\n<p><strong>Martin</strong>: Thank you for your reply, Dr.\u00a0Harrell.</p>\n<p>Maybe we're talking past each other, and since this is an important topic, I'll try my best to understand your point of view.</p>\n<p>To answer your question, in the context of a RCT it would not make any sense.</p>\n<p>My question to you is, if sensitivity and specificity are not important, what would be the criteria a physician should have to choose a diagnostic test for a given clinical situation?</p>\n<p><strong>FH</strong>: Nothing you discussed motivates the need for sensitivity and specificity. What I need is the effect of each piece of information, e.g., the effect of age, the effect of having a test result of 17.35 on the log odds of disease. Give me a very specific example where sens and spec were needed and probability of disease or probability of outcome did not do the job.</p>\n<p>If you were not diagnosing a patient but were interpreting RCT results would you take time to compute the probability that a patient was on treatment B if she improved her blood pressure?</p>\n<p><strong>Steve Pitts</strong>: I believe I understand your point of view about sn/sp vs probabilities. The main advantage of sensitivity and specificity is the intuitive one: Dr.\u00a0Yerushalmy was onto something with these adjectives. We all know people or pets that are \"sensitive\". It enables medical students to understand intuitively what is actually a pretty complicated subject. The main first order of business is to get them past the TV-show level of understanding, where a positive test means you have disease, and negative means you don't. Tests have properties that are more constant than individual posterior probabilities, whether the test is a clinical finding or an expensive machine.</p>\n<p><strong>FH</strong>: Thanks for the comments Steve. I think it is very appropriate to show people how to move past positive=disease, negative=no disease thinking. I just don't see the role an an indirect way to do this that is based on P(positive given disease) etc. I'd rather go for the jugular: P(disease given all test results and background variables). And beware of assuming that sensitivity and specificity are quite that constant.</p>\n<p><strong>Martin</strong>: Dr.\u00a0Harrell, diagnostic tests have different uses in clinical practice. They can confirm or discard a disease when there's suspicion of disease, discard a disease in an asymptomatic patient (screening), they also have prognostic capabilities, and they can help us decide which therapy is better.</p>\n<p>Now, we cannot mix them up, these are different questions, although some tests can be both diagnostic and prognostic.</p>\n<p>Sensitivity and specificity help us to choose which test to order according to the clinical context. For example, an EKG could not be used to discard a myocardial infarction and a D-dimer could not be used to confirm pulmonary thromboembolism.</p>\n<p>Regarding prevalence. It works as a starting point for prior probabilities, which take into account specific patient characteristics. This and the likelihood of the test result gives us the posterior probabilities. Since rarely are we ever 100% sure of the diagnosis, based on some specified (subjective) thresholds we decide to treat, discard, or take another test.</p>\n<p>So, I would have to disagree that sensitivity and specificity are not important in medical training.</p>\n<p><strong>FH</strong>: I disagree. The confusion caused by sens and spec is massive and even more clearly they take valuable class and study time away from the real need: how to specify probability models and design studies that will yield the data need to estimate their parameters. The only place I can thing of for sens and spec is when you don't have data, or at least the needed data. Do we ever teach physicians how to compute the probability that a patient is male given his disease status? Why is a test different from the patient's sex?</p>\n<p><strong>Clyde Schechter</strong>: The only thing I disagree with here is your implication that clinicians should not be taught about sensitivity and specificity. It really is important to know those concepts, along with prevalence and Bayes' theorem. The reason is that some tests are used in different populations and settings. The same test may be used to mass screen asymptomatic populations, and also as a confirmatory diagnostic test in people with symptoms suggestive of the disease in question. In the former setting the prior probability of disease is typically very low, and in the latter it is usually moderate or even high. The sensitivity and specificity are, under reasonably broad circumstances, the same in both populations as they are generally physico-chemical properties of the test itself. The clinician needs to understand that, and why, the same test result has very different implications in these two uses.</p>\n<p>In fact, I think that this is not sufficiently emphasized in medical training. Most of the clinicians I deal with, even those relatively recently trained, are shocked to learn how low the positive predictive value of most screening tests are. But once they have mastered that, they also need to understand why the very same test can be very informative when applied to a patient who is likely to have the disease in question.</p>\n<p><strong>therandomtexan</strong>: This merits a series of 4 or 5 lectures that tie all these ideas together and get out students past mere sensitivity, specificity, and the PPV. You've just nailed my foot the floor for a couple of days this summer, writing those lectures.</p>\n<!-- -->\n</section>\n<div class=\"default\" id=\"quarto-appendix\"><section class=\"quarto-appendix-contents\" id=\"quarto-reuse\"><h2 class=\"anchored quarto-appendix-heading\">Reuse</h2><div class=\"quarto-appendix-contents\"><div><a href=\"https://creativecommons.org/licenses/by/4.0/\" rel=\"license\">CC BY 4.0</a></div></div></section><section class=\"quarto-appendix-contents\" id=\"quarto-citation\"><h2 class=\"anchored quarto-appendix-heading\">Citation</h2><div><div class=\"quarto-appendix-secondary-label\">BibTeX citation:</div><pre class=\"sourceCode code-with-copy quarto-appendix-bibtex\"><code class=\"sourceCode bibtex\">@online{harrell2017,\n  author = {Harrell, Frank and Harrell, Frank},\n  title = {Clinicians' {Misunderstanding} of {Probabilities} {Makes}\n    {Them} {Like} {Backwards} {Probabilities} {Such} {As} {Sensitivity,}\n    {Specificity,} and {Type} {I} {Error}},\n  date = {2017-01-25},\n  url = {https://www.fharrell.com/post/backwards-probs/},\n  doi = {10.59350/td3jn-6cf74},\n  langid = {en}\n}\n</code></pre><div class=\"quarto-appendix-secondary-label\">For attribution, please cite this work as:</div><div class=\"csl-entry quarto-appendix-citeas\" id=\"ref-harrell2017\">\nHarrell, Frank, and Frank Harrell. 2017. <span>\"Clinicians'\nMisunderstanding of Probabilities Makes Them Like Backwards\nProbabilities Such As Sensitivity, Specificity, and Type I\nError.\"</span> Statistical Thinking, January 25. <a href=\"https://doi.org/10.59350/td3jn-6cf74\">https://doi.org/10.59350/td3jn-6cf74</a>.\n</div></div></section></div>","doi":"https://doi.org/10.59350/td3jn-6cf74","guid":"https://doi.org/10.59350/td3jn-6cf74","language":"en","license":"https://creativecommons.org/licenses/by/4.0/legalcode","published_at":1485302400,"rid":"wgtcv-q4f76","summary":"How to cite this article Harrell FE (2017). Clinicians' Misunderstanding of Probabilities Makes Them Like Backwards Probabilities Such As Sensitivity, Specificity, and Type I Error. Statistical Thinking. https://doi.org/10.59350/td3jn-6cf74 Optimum decision making in the presence of uncertainty comes from probabilistic thinking.","tags":["Specificity","Probability","Backward-probability","Forward-probability","P-value"],"title":"Clinicians' Misunderstanding of Probabilities Makes Them Like Backwards Probabilities Such As Sensitivity, Specificity, and Type I Error","updated_at":1792772927,"url":"https://www.fharrell.com/post/backwards-probs/","version":"v1"}],"out_of":57930,"page":1,"per_page":10,"total-results":57930}
