{"id":51753,"date":"2023-02-01T13:30:00","date_gmt":"2023-02-01T13:30:00","guid":{"rendered":"https:\/\/discover.restek.com\/uncategorized\/more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance\/"},"modified":"2026-01-28T15:56:38","modified_gmt":"2026-01-28T15:56:38","slug":"more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance","status":"publish","type":"post","link":"https:\/\/discover.restek.com\/ja\/blog-fr\/gnbl4745\/more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance","title":{"rendered":"More Than You Ever Wanted to Know About Calibrations, Part 4 \u2013 Calibration Acceptance"},"content":{"rendered":"\n<p>In my previous calibration blog posts I\u2019ve discussed&nbsp;<a href=\"https:\/\/discover.restek.com\/blogs\/gnbl4741\/more-than-you-ever-wanted-to-know-about-calibrations-part-1-types-of-calibrations\" data-type=\"link\" data-id=\"https:\/\/discover.restek.com\/blogs\/gnbl4741\/more-than-you-ever-wanted-to-know-about-calibrations-part-1-types-of-calibrations\">calibration types<\/a>,&nbsp;<a href=\"https:\/\/discover.restek.com\/blogs\/gnbl4742\/more-than-you-ever-wanted-to-know-about-calibrations-part-2-curve-fits-and-weighting\" data-type=\"link\" data-id=\"https:\/\/discover.restek.com\/blogs\/gnbl4742\/more-than-you-ever-wanted-to-know-about-calibrations-part-2-curve-fits-and-weighting\">curve fits<\/a>, and&nbsp;<a href=\"https:\/\/discover.restek.com\/blogs\/gnbl4744\/more-than-you-ever-wanted-to-know-about-calibrations-part-3-dealing-with-zero-points\" data-type=\"link\" data-id=\"https:\/\/discover.restek.com\/blogs\/gnbl4744\/more-than-you-ever-wanted-to-know-about-calibrations-part-3-dealing-with-zero-points\">zero points<\/a>. In this post we\u2019ll cover how to tell if your calibration is accurate. The previous posts have been a bit dense and math heavy, but the TL;DR on this one is pretty simple:&nbsp;<strong>r<sup>2&nbsp;<\/sup>is bad and you shouldn\u2019t use it.<\/strong><\/p>\n\n\n\n<p>It might seem a bit presumptuous of me to off-handedly dismiss a calibration metric that\u2019s been in use longer than I\u2019ve been alive, but bear with me. To start, let\u2019s talk about what r<sup>2<\/sup>&nbsp;really is. r<sup>2&nbsp;<\/sup>is generally defined as the coefficient of determination. It was, as far as I can tell, developed in 1921 by Sewall Wright, Senior Animal Husbandman at the USDA. He describes his work as \u201c\u2026an attempt to present a method of measuring the direct influence along each separate path in such a system and thus of finding the degree to which variation of a given effect is determined by each particular cause&#8230; In cases in which the causal relations are uncertain the method can be used to find the logical consequences of any particular hypothesis in regard to them.\u201d In short, if you think things are causally connected and build a mathematical model to explain it, r<sup>2<\/sup>&nbsp;will give a metric to determine the accuracy of your model.<\/p>\n\n\n\n<p>For instrument calibrations this doesn\u2019t seem to be very helpful. We don\u2019t need a tool to tell us that instrument response is causally connected to sample concentration, it\u2019s built into the design of the instrument. What we need is a tool that tells us how accurate our calibration model is. Fortunately, r<sup>2<\/sup>&nbsp;pulls double duty as a measure of goodness of fit, which from the name seems to be what we\u2019re after. Unfortunately, this goodness of fit measurement doesn\u2019t actually tell us much about the accuracy of the calibration due to how it\u2019s calculated. To see why, let\u2019s look at how r<sup>2&nbsp;<\/sup>is calculated.<\/p>\n\n\n\n<p>r<sup>2<\/sup>&nbsp;is defined as the ratio of the variance of the fitted values (those calculated from the regression model) to the variance of true values, with the equation shown in Figure 1. The sum of squares in the numerator is the variance of the fitted values, and the sum of squares in the denominator is the variance of the true values.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"76\" src=\"https:\/\/discover.restek.com\/wp-content\/uploads\/blog-more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance-01-1024x76.png\" alt=\"\" class=\"wp-image-15778\" title=\"-\" srcset=\"https:\/\/discover.restek.com\/wp-content\/uploads\/blog-more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance-01-1024x76.png 1024w, https:\/\/discover.restek.com\/wp-content\/uploads\/blog-more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance-01-300x22.png 300w, https:\/\/discover.restek.com\/wp-content\/uploads\/blog-more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance-01-768x57.png 768w, https:\/\/discover.restek.com\/wp-content\/uploads\/blog-more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance-01.png 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Figure 1 \u2013 Equation for the calculation of r<sup>2<\/sup>.<\/p>\n\n\n\n<p>In this equation, the values of&nbsp;<em>f<sub>i<\/sub><\/em>&nbsp;are the calculated values from the regression, the values of&nbsp;<em>y<sub>i<\/sub><\/em>&nbsp;are the true y values, and&nbsp;<em>\u0233&nbsp;<\/em>is the mean of the observed y values. For a least squares type regression this ends up being equal to the square of the Pearson correlation coefficient (usually designated r, hence why the coefficient of determination is r<sup>2<\/sup>), and ranges in value from 0 to 1. In true math textbook fashion though, I\u2019ll leave the determination of that as an exercise to the reader. In any case, if the variance in both is equal, that is to say the regression perfectly matches the given data, then r<sup>2&nbsp;<\/sup>= 1. r<sup>2&nbsp;<\/sup>values less than 1 indicate that there is a mismatch between the model and the true values, and the further from 1 the greater the disagreement.<\/p>\n\n\n\n<p>So far that sounds like a good measure of calibration accuracy, but if you look closely at the equation in Figure 1 you\u2019ll see that it deals in absolute variance, not relative variance. This means that for calibration curves that span multiple orders of magnitude a high r<sup>2<\/sup>&nbsp;value may only indicate a good fit at the high end of the curve. As far as r<sup>2<\/sup>&nbsp;is concerned, 1% off at 100 ppm is the same as 100% off at 1ppm. Also, if you remember from the previous blog on curve fits you\u2019ll recall that unweighted curves minimize total error, so they are also biased towards the high end of the curve. This means that using r<sup>2<\/sup>&nbsp;as a measure of calibration accuracy will point you towards unweighted curves that are overall less accurate. Table 1 shows an example of this from an ethylene oxide calibration I did, where the best r<sup>2<\/sup>&nbsp;value is associated with the calibration with the lowest total error, but with very high % error on the lowest calibration points.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table style=\"border-width:1px\"><tbody><tr><td>EtO calculated result<\/td><td>ppt<sub>v<\/sub><\/td><td>ppt<sub>v<\/sub><\/td><td>ppt<sub>v<\/sub><\/td><td>ppt<sub>v<\/sub><\/td><td>ppt<sub>v<\/sub><\/td><td>ppt<sub>v<\/sub><\/td><td>ppt<sub>v<\/sub><\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>%RSE<\/td><td>r<sup>2<\/sup><\/td><\/tr><tr><td>Linear equal wt. (pptv)<\/td><td>16.22<\/td><td>35.54<\/td><td>138.09<\/td><td>254.53<\/td><td>778.60<\/td><td>1298.84<\/td><td>2686.18<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>32.37%<\/td><td>0.997388<\/td><\/tr><tr><td>absolute error<\/td><td>17.78<\/td><td>31.46<\/td><td>4.09<\/td><td>14.47<\/td><td>106.60<\/td><td>45.16<\/td><td>1.82<\/td><td>total<\/td><td>221.38<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>% error<\/td><td>52%<\/td><td>47%<\/td><td>3%<\/td><td>5%<\/td><td>16%<\/td><td>3%<\/td><td>0%<\/td><td>total<\/td><td>127%<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td colspan=\"12\">&nbsp;<\/td><\/tr><tr><td>Linear 1\/x (pptv)<\/td><td>33.69<\/td><td>52.55<\/td><td>152.63<\/td><td>266.28<\/td><td>777.77<\/td><td>1285.52<\/td><td>2639.56<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>13.64%<\/td><td>0.994124<\/td><\/tr><tr><td>absolute error<\/td><td>0.31<\/td><td>14.45<\/td><td>18.63<\/td><td>2.72<\/td><td>105.77<\/td><td>58.48<\/td><td>48.44<\/td><td>total<\/td><td>248.80<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>% error<\/td><td>1%<\/td><td>22%<\/td><td>14%<\/td><td>1%<\/td><td>16%<\/td><td>4%<\/td><td>2%<\/td><td>total<\/td><td>59%<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td colspan=\"12\">&nbsp;<\/td><\/tr><tr><td>Linear 1\/x<sup>2&nbsp;<\/sup>(pptv)<\/td><td>36.06<\/td><td>54.4<\/td><td>151.75<\/td><td>262.29<\/td><td>759.81<\/td><td>1253.70<\/td><td>2570.77<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>12.70%<\/td><td>0.980645<\/td><\/tr><tr><td>absolute error<\/td><td>2.06<\/td><td>12.60<\/td><td>17.75<\/td><td>6.71<\/td><td>87.81<\/td><td>90.30<\/td><td>117.23<\/td><td>total<\/td><td>334.46<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><tr><td>% error<\/td><td>6%<\/td><td>19%<\/td><td>13%<\/td><td>2%<\/td><td>13%<\/td><td>7%<\/td><td>4%<\/td><td>total<\/td><td>65%<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Table 1 \u2013 Ethylene oxide (EtO) calibration and residual error at each calibration point.<\/p>\n\n\n\n<p>If r<sup>2<\/sup>&nbsp;is a flawed measure of accuracy, then what is the best way of determining if a calibration is accurate? The simplest way is to simply measure the residual error at each calibration point, which many methods are moving to. Recent PFAS methods such as 533, 537.1, and OTM-45 have all removed the r<sup>2&nbsp;<\/sup>requirement in favor of measuring error at each calibration point. TO-15A unfortunately has kept r<sup>2<\/sup>, simply adding in the % error requirement for each calibration point in addition to it. SW-846 8000D still includes r<sup>2<\/sup>&nbsp;but allows for the use of % error or % relative standard error (%RSE) in its place. Figure 2 shows the equation for %RSE.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"155\" src=\"https:\/\/discover.restek.com\/wp-content\/uploads\/blog-more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance-02-1024x155.png\" alt=\"\" class=\"wp-image-15784\" title=\"-\" srcset=\"https:\/\/discover.restek.com\/wp-content\/uploads\/blog-more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance-02-1024x155.png 1024w, https:\/\/discover.restek.com\/wp-content\/uploads\/blog-more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance-02-300x45.png 300w, https:\/\/discover.restek.com\/wp-content\/uploads\/blog-more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance-02-768x116.png 768w, https:\/\/discover.restek.com\/wp-content\/uploads\/blog-more-than-you-ever-wanted-to-know-about-calibrations-part-4-calibration-acceptance-02.png 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Figure 2 \u2013 Calculation for % relative standard error<\/p>\n\n\n\n<p>Calculating error at each point and calculating %RSE both have their advantages. Error at each point gives insight into potential non-linearity at the ends of the curve, and can help flag poorly made calibration points. % RSE meanwhile, is a single metric for the curve, so it\u2019s a bit easier to apply as a basic acceptance criteria.<\/p>\n\n\n\n<p>Hopefully this gives you an understanding of the limitations of r<sup>2<\/sup>&nbsp;and convinces you to move away from it if possible, or at least treat it with caution if still required to use it. In my next blog post I\u2019ll talk about precision and detection limit calculations and how calibration choices can influence them, but I\u2019ll close this out with some comments taken from Dr. Cosma Shalizi, Associate Professor at Carnegie Mellon University whose&nbsp;<a href=\"https:\/\/www.stat.cmu.edu\/~cshalizi\/mreg\/15\/lectures\/10\/lecture-10.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">lecture notes<\/a>&nbsp;I came across while researching this. \u201cAt this point, you might be wondering just what R<sup>2<\/sup>&nbsp;is good for \u2014 what job it does that isn\u2019t better done by other tools. The only honest answer I can give you is that I have never found a situation where it helped at all&#8230; The tone I have taken when discussing F tests, R<sup>2<\/sup>&nbsp;and correlation has been dismissive. This is deliberate, because they are grossly abused and over-used in current practice, especially by non-statisticians, and I want you to be too proud (or too ashamed) to engage in those abuses.\u201d<\/p>\n\n\n\n<p>View all of the posts in the &#8220;More Than You Ever Wanted to Know About Calibrations&#8221; series:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-wordpress-embed wp-block-embed-wordpress-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"tlAttvWCI3\"><a href=\"https:\/\/discover.restek.com\/blogs\/gnbl4740\/more-than-you-ever-wanted-to-know-about-calibrations-series-index\">More Than You Ever Wanted to Know About Calibrations &#8211; Series Index<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;More Than You Ever Wanted to Know About Calibrations &#8211; Series Index&#8221; &#8212; \" src=\"https:\/\/discover.restek.com\/blogs\/gnbl4740\/more-than-you-ever-wanted-to-know-about-calibrations-series-index\/embed\/#?secret=k7KxhKGubh#?secret=tlAttvWCI3\" data-secret=\"tlAttvWCI3\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In my previous calibration blog posts I&rsquo;ve discussed calibration types, curve fits, and zero points. In this post we&rsquo;ll cover how to tell if your calibration is accurate. The previous posts have been a bit dense and math heavy, but the TL;DR on this one is pretty simple: r2 is bad and you shouldn&rsquo;t use it.&nbsp;<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[791],"tags":[],"industries-application":[],"post-badge":[],"resource-type":[],"product-library":[],"resource-technique":[2294,2299],"hf_cat_post":[623],"ppma_author":[447],"class_list":["post-51753","post","type-post","status-publish","format-standard","hentry","category-blog-fr","resource-technique-gas-chromatography-gc","resource-technique-liquid-chromatography"],"acf":[],"taxonomy_info":{"category":[{"value":791,"label":"Blog"}],"resource-technique":[{"value":2294,"label":"Gas Chromatography (GC)"},{"value":2299,"label":"Liquid Chromatography"}]},"featured_image_src_large":false,"author_info":{"display_name":"Jason Hoisington","author_link":"https:\/\/discover.restek.com\/ja\/author\/jason-hoisington\/"},"comment_info":0,"category_info":[{"term_id":791,"name":"Blog","slug":"blog-fr","term_group":0,"term_taxonomy_id":791,"taxonomy":"category","description":"","parent":0,"count":442,"filter":"raw","cat_ID":791,"category_count":442,"category_description":"","cat_name":"Blog","category_nicename":"blog-fr","category_parent":0}],"tag_info":false,"authors":[{"term_id":447,"user_id":27,"is_guest":0,"slug":"jason-hoisington","display_name":"Jason Hoisington","avatar_url":{"url":"https:\/\/discover.restek.com\/wp-content\/uploads\/people-hoisington-jason-01.jpg","url2x":"https:\/\/discover.restek.com\/wp-content\/uploads\/people-hoisington-jason-01.jpg"},"0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/posts\/51753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/comments?post=51753"}],"version-history":[{"count":6,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/posts\/51753\/revisions"}],"predecessor-version":[{"id":85395,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/posts\/51753\/revisions\/85395"}],"wp:attachment":[{"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/media?parent=51753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/categories?post=51753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/tags?post=51753"},{"taxonomy":"industries-application","embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/industries-application?post=51753"},{"taxonomy":"post-badge","embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/post-badge?post=51753"},{"taxonomy":"resource-type","embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/resource-type?post=51753"},{"taxonomy":"product-library","embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/product-library?post=51753"},{"taxonomy":"resource-technique","embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/resource-technique?post=51753"},{"taxonomy":"hf_cat_post","embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/hf_cat_post?post=51753"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/discover.restek.com\/ja\/wp-json\/wp\/v2\/ppma_author?post=51753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}