{"id":315,"date":"2026-04-27T14:29:02","date_gmt":"2026-04-27T14:29:02","guid":{"rendered":"https:\/\/underwoodtechnologies.com\/?p=315"},"modified":"2026-04-27T14:29:02","modified_gmt":"2026-04-27T14:29:02","slug":"type-i-vs-type-ii-statistical-errors","status":"publish","type":"post","link":"https:\/\/underwoodtechnologies.com\/?p=315","title":{"rendered":"Type I vs Type II statistical errors"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I-Introduction<br>A flash back to statistical math class may seem really off for a technology blog. In an era when many are trying to integration machine learning into what seems like everything, understanding the practical fundamentals of these errors is critical in knowing when to apply this emerging technology.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">II-What are Type I and Type II errors?<br>A Type I error is a positive indication when the correct outcome is negative. A Type II error is a negative indication when the correct outcome is positive.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">III-Why do we care?<br>Why we care is that ultimately computers are used to make decisions based on the inputs given or data is fed back to an end user and that data is then used by that user to make a decision. Lets look at a  pragmatic example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A person gets tested for a contagious disease. What happens if there is an error?\n<ul class=\"wp-block-list\">\n<li>A Type 1 error (false positive) means that the test needs to be re-run and further diagnostics may be done to confirm infection. <\/li>\n\n\n\n<li>A type 2 error (false negative) means that a person goes untreated, and may spread a disease to others.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Why this error is important becomes obvious. A false negative could have significant impact to health, while a false positive means some additional effort but is likely to be discovered on further analysis. In this example biasing a design towards type 1 errors becomes an obvious decision.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In another example, we may have a research scenario:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A new product is being tested in the market. Analysis is being done on product viability based on consumer interest.\n<ul class=\"wp-block-list\">\n<li>A type 1 error (false positive) means that a product that doesn&#8217;t have adequate interest to make money in the market is brought to market.<\/li>\n\n\n\n<li>A type 2 error (false negative) may lead to a product that is profitable being missed out. <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Which is more desirable to mitigate in this case? It is really hard to tell honestly. That said, a type 2 error may be more desirable because it means less products are missed out on, while a type 1 error may be more desirable to keep poor investment in check.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">IV-Conclusion\/What does this have to do with computers?<br><br>These are common errors in statistical math. Because &#8220;AI&#8221; models are driven by statistical math, they are prone to these errors. It is notable that undesirable outcomes in <a href=\"https:\/\/www.reuters.com\/investigations\/ai-enters-operating-room-reports-arise-botched-surgeries-misidentified-body-2026-02-09\/\" data-type=\"link\" data-id=\"https:\/\/www.reuters.com\/investigations\/ai-enters-operating-room-reports-arise-botched-surgeries-misidentified-body-2026-02-09\/\">medicine<\/a> and <a href=\"https:\/\/www.cnn.com\/2026\/03\/29\/us\/angela-lipps-ai-facial-recognition\" data-type=\"link\" data-id=\"https:\/\/www.cnn.com\/2026\/03\/29\/us\/angela-lipps-ai-facial-recognition\">policing<\/a> using statistical models have started gaining notoriety in the news.<br><br>As technologists, it must be carefully evaluated when to use any technology. Society and culture are largely used to software and computer systems being deterministic, or that overall it gives a specific, measured, repeatable output based on specific inputs barring any sort of program error or bad data. This is incompatible with software based in statistics, and can be extremely dangerous in the hands of people with a mindset that only understands deterministic software.<br><br>We must also be aware that the outcomes of what we do with technology directly affects the lives of people whether they be in public, on the operating table, or whatever they may be doing in their daily lives. As we create technology, we must bias errors towards failing safe and we must leave room for human intervention.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I-IntroductionA flash back to statistical math class may seem really off for a technology blog. In an era when many are trying to integration machine learning into what seems like everything, understanding the practical fundamentals of these errors is critical in knowing when to apply this emerging technology. II-What are Type I and Type II [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-315","post","type-post","status-publish","format-standard","hentry","category-philosophy"],"_links":{"self":[{"href":"https:\/\/underwoodtechnologies.com\/index.php?rest_route=\/wp\/v2\/posts\/315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/underwoodtechnologies.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/underwoodtechnologies.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/underwoodtechnologies.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/underwoodtechnologies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=315"}],"version-history":[{"count":3,"href":"https:\/\/underwoodtechnologies.com\/index.php?rest_route=\/wp\/v2\/posts\/315\/revisions"}],"predecessor-version":[{"id":371,"href":"https:\/\/underwoodtechnologies.com\/index.php?rest_route=\/wp\/v2\/posts\/315\/revisions\/371"}],"wp:attachment":[{"href":"https:\/\/underwoodtechnologies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/underwoodtechnologies.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/underwoodtechnologies.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}