{"id":13548,"date":"2012-11-20T06:42:04","date_gmt":"2012-11-20T11:42:04","guid":{"rendered":"http:\/\/www.realclimate.org\/?p=13548"},"modified":"2012-11-27T06:39:06","modified_gmt":"2012-11-27T11:39:06","slug":"dont-estimate-acceleration-by-fitting-a-quadratic","status":"publish","type":"post","link":"https:\/\/www.realclimate.org\/index.php\/archives\/2012\/11\/dont-estimate-acceleration-by-fitting-a-quadratic\/","title":{"rendered":"Don\u2019t estimate acceleration by fitting a quadratic\u2026"},"content":{"rendered":"<div class=\"kcite-section\" kcite-section-id=\"13548\">\n<p>\u2026 if your data do not look like a quadratic!<\/p>\n<p>This is a post about global sea-level rise, but I put that message up front so that you\u2019ve got it even if you don\u2019t read any further.<\/p>\n<p>The reputable climate-statistics blogger <a href=\"http:\/\/tamino.wordpress.com\/\">Tamino<\/a>, who is a professional statistician in real life and has published a <a href=\"http:\/\/tamino.wordpress.com\/2011\/07\/22\/how-not-to-analyze-tide-gauge-data\/\">couple<\/a> <a href=\"http:\/\/tamino.wordpress.com\/2011\/03\/31\/so-what\/\">of<\/a> <a href=\"http:\/\/tamino.wordpress.com\/2012\/09\/26\/unnatural-hazards\/\">posts<\/a> on this topic, puts it bluntly:<\/p>\n<blockquote><p>Fitting a quadratic to test for change in the rate of sea-level rise is a fool&#8217;s errand.<\/p><\/blockquote>\n<p>I&#8217;d like to explain why, with the help of a simple example. Imagine your rate of sea-level rise changes over 100 years in the following way:<br \/>\n<!--more--><br \/>\n<a href=\"http:\/\/www.realclimate.org\/index.php\/archives\/2012\/11\/dont-estimate-acceleration-by-fitting-a-quadratic\/rate_example\/\" rel=\"attachment wp-att-13550\"><img decoding=\"async\" data-src=\"http:\/\/www.realclimate.org\/images\/\/rate_example.png\" alt=\"\" title=\"rate_example\" width=\"441\" height=\"292\" class=\"aligncenter size-full wp-image-13550 lazyload\" data-srcset=\"https:\/\/www.realclimate.org\/images\/rate_example.png 441w, https:\/\/www.realclimate.org\/images\/rate_example-300x198.png 300w\" data-sizes=\"(max-width: 441px) 100vw, 441px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 441px; --smush-placeholder-aspect-ratio: 441\/292;\" \/><\/a><br \/>\n<em>Fig. 1. Rate of sea-level rise as it changes over 100 years. This is a fictitious example chosen for illustrative purposes. It\u2019s simply a polynomial curve, see appended matlab script.<\/em><\/p>\n<p>It starts at 1 mm\/year, then in the middle of the century it hovers for a while around 2 mm\/year (namely between 1.8 and 2.2), and in the end it climbs to 3 mm\/year.  There can be no question about the fact that the rate of sea-level rise increases overall during those 100 years. It increases by a factor of three, from one to three millimetres per year, although not at a steady rate. You could fit a linear trend to the above curve and also find an increase in the rate \u2013 although a linear trend would not be a great description of what is going on, because the increase in rate is clearly not linear. (Note that a linear increase in the rate corresponds to a quadratic sea-level curve.) <\/p>\n<p>You can easily compute the sea-level curve that follows from the above rate by integrating it over time, and it looks like this:<\/p>\n<p><a href=\"http:\/\/www.realclimate.org\/index.php\/archives\/2012\/11\/dont-estimate-acceleration-by-fitting-a-quadratic\/slr_example\/\" rel=\"attachment wp-att-13551\"><img decoding=\"async\" data-src=\"http:\/\/www.realclimate.org\/images\/\/slr_example.png\" alt=\"\" title=\"slr_example\" width=\"435\" height=\"288\" class=\"aligncenter size-full wp-image-13551 lazyload\" data-srcset=\"https:\/\/www.realclimate.org\/images\/slr_example.png 435w, https:\/\/www.realclimate.org\/images\/slr_example-300x198.png 300w\" data-sizes=\"(max-width: 435px) 100vw, 435px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 435px; --smush-placeholder-aspect-ratio: 435\/288;\" \/><\/a><br \/>\n<em>Fig. 2. This sea level curve is the integral of the curve in Fig. 1 and thus contains the same information, but when viewed in this way it is hard to judge by eye whether sea-level rise has accelerated. The better way to answer this question is by looking at the rate curve, i.e.  Fig. 1.<\/em><\/p>\n<p>Now here it comes: if you fit a quadratic (by the standard least-squares method) to this sea-level curve, the quadratic term (i.e. the acceleration) is negative! So by this diagnostic, sea level rise supposedly has decelerated, i.e. the rate of rise has slowed down! This clearly is nonsense and misleading (we know the truth in this case, it is shown in Fig. 1), and this nonsense results from trying to fit a quadratic curve to data that do not resemble a quadratic. You can call it a misapplication of curve fitting, or the use of a bad model.<\/p>\n<p><strong>Now to real data<\/strong><\/p>\n<p>Is this just a bizarre, unrealistic example? No! Because the basic shape of this example resembles the observed global sea-level curve from about 1930 to 2000. The red curve below is the rate of rise as diagnosed from the Church&#038;White (2006) global sea-level data set, as shown and described in more detail in Rahmstorf (Science 2007):<\/p>\n<p><a href=\"http:\/\/www.realclimate.org\/index.php\/archives\/2012\/11\/dont-estimate-acceleration-by-fitting-a-quadratic\/sea_level_rise_vs_temperature\/\" rel=\"attachment wp-att-13552\"><img decoding=\"async\" data-src=\"http:\/\/www.realclimate.org\/images\/\/sea_level_rise_vs_temperature.png\" alt=\"\" title=\"sea_level_rise_vs_temperature\" width=\"585\" height=\"371\" class=\"aligncenter size-full wp-image-13552 lazyload\" data-srcset=\"https:\/\/www.realclimate.org\/images\/sea_level_rise_vs_temperature.png 585w, https:\/\/www.realclimate.org\/images\/sea_level_rise_vs_temperature-300x190.png 300w\" data-sizes=\"(max-width: 585px) 100vw, 585px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 585px; --smush-placeholder-aspect-ratio: 585\/371;\" \/><\/a><br \/>\n<em>Fig. 3. Rate of global sea-level rise based on the data of Church &#038; White (2006), and global mean temperature data of GISS, both smoothed. The satellite-derived rate of sea-level rise of 3.2 \u00b1 0.5 mm\/yr is also shown. The strong similarity of these two curves is at the core of the semi-empirical models of sea-level rise. Graph adapted from <a href=\"http:\/\/www.pik-potsdam.de\/~stefan\/Publications\/Nature\/rahmstorf_science_2007.pdf\">Rahmstorf (2007)<\/a>.<\/em><\/p>\n<p>Why would it have such a funny shape, with the rate of rise hovering around 2 mm\/year in mid-century before starting to increase again after 1980? I think the reason is physics: the warmer it gets, the faster sea-level rises, because for example land ice melts faster. The sea-level rate curve has an uncanny similarity to the GISS global temperature, shown here in blue. The rate of SLR may well have stagnated in mid-century because global temperature also did not rise between about 1940 and 1980, and in the northern hemisphere even dropped.<\/p>\n<p><strong>Houston &#038; Dean<\/strong><\/p>\n<p>The \u201csea-level sceptics\u201d paper by Houston and Dean in 2011 claimed that there is no acceleration of global sea-level rise, by doing two things: cherry-picking 1930 as start date and fitting a quadratic. The graphs above show how this could give them their result despite the clear threefold acceleration from 1 to 3 mm\/yr during the 20th Century. In our rebuttal published soon after (Rahmstorf and Vermeer 2011), we explained this and concluded:<\/p>\n<blockquote><p>Houston and Dean\u2019s method of fitting a quadratic and discussing just one number, the acceleration factor, is inadequate. <\/p><\/blockquote>\n<p>(There\u2019s quite a few other things wrong with this paper and several responses have been published in the peer-reviewed literature (5? I lost track); we also <a href=\"http:\/\/www.realclimate.org\/index.php\/archives\/2011\/07\/is-sea-level-rise-accelerating\/\">discussed it at Realclimate<\/a>.)<\/p>\n<p>So the bottom line is: the quadratic acceleration term is a meaningless diagnostic for the real-life global sea-level curve. Instead, one needs to look at the time evolution of the rate of sea-level rise, as has been done in a number of peer-reviewed papers. For example, Rahmstorf et al. (2012) in their Fig. 6 show the rate curve for the Church&#038;White 2006 and 2011 and the Jevrejeva et al. 2008 sea-level data sets, corrected for land-water storage in order to isolate the climate-driven sea-level rise. In all cases the rate of rise increases over time, albeit with some ups and downs, and recently reaches rates unprecedented in the 20th Century or (for the Jevrejeva data) even since 1700 AD. Similar results have been obtained for regional sea-level on the German North Sea coast (Wahl et al. 2011).<\/p>\n<p><strong>Pitfalls of rate curves<\/strong><\/p>\n<p>When looking at real data, one needs to be aware of one pitfall:  unlike the ideal example shown at the outset, real tide gauge data contain spurious sampling noise due to inadequate spatial coverage, so it is not trivial to derive rates of rise. One needs to apply enough smoothing (as in Fig. 3 above) to remove this noise, otherwise the computed rates of rise are dominated by sampling noise and have little to do with real changes in the rate of global sea-level rise. Holgate (2007) showed decadal rates of sea-level rise (linear trends over 10 years), but as we have shown in Rahmstorf et al. (2012), those vary wildly over time simply as a result of sampling noise and are not consistent across different data sets (see Fig. 2 of our paper). Random noise in global sea level of just 5 mm standard deviation is enough to render decadal rates meaningless (see Fig. 3 of our paper)!<\/p>\n<p>The quality of the data set is important &#8211; some global compilations contain more spurious sampling noise than others. Personally I think the approach taken by Church and White (2006, 2011) probably comes closest to the true global average sea level, due to the method they used to combine the tide gauge data. <\/p>\n<p>And one needs to consider boundary effects at the beginning and end of the data series. Boundary effects at the start of the curve are not a big deal because the rate curve is rather flat before the 20th Century. And luckily, at the end this is also not a big problem since we have the satellite altimeter data starting from 1993 as an independent check on the most recent rate of sea-level rise, which confirm that it is now a bit over 3 mm\/year, where also the smoothed rate curve in Fig. 3 ends. We now have almost 20 years of altimeter data that show a trend consistent with the tide gauges, but less noisy, since the satellite data have good global coverage.<\/p>\n<p><strong>Conclusion <\/strong><\/p>\n<p>So remember: don\u2019t fit a quadratic to data that do not resemble a quadratic. Instead, look at the time evolution of the rate of sea level rise. And remember there is something called <em>physics<\/em>: this time evolution must be expected to have something to do with global temperature. And indeed it does.<\/p>\n<p><strong>A note for the technically minded:<\/strong><br \/>\nThe quadratic fit to the sea-level curve can be written as:<br \/>\n<em>SL(t) = a t^2 + b t + c<\/em>, where t= time and a, b and c are constants.<br \/>\nThe rate of rise is the time derivative:<br \/>\n<em>rate(t) = 2a t + b<\/em>.<\/p>\n<p>Often <em>2a<\/em> is called the acceleration. That is because when we are talking about acceleration, it is the rate of rise that is of prime interest. The question is: how does this rate of sea-level rise change over time? And not: how quadratic does the sea-level curve look? Hence the second, rate equation is the relevant one, and we call <em>2a<\/em> and not <em>a<\/em> the acceleration in the quadratic case. <em>2a<\/em> is the slope of the <em>rate(t)<\/em> curve. <\/p>\n<p>Now the interesting thing is that in the example given above, you get a negative <em>a<\/em> when you fit a quadratic to the sea-level data in Fig. 2, but you get a positive <em>a<\/em> when you make a linear fit to the rate curve in Fig. 1. You\u2019d probably find the latter more informative since it has to do with how the rate of rise has changed, which is the question of prime interest. But as argued above, for such a time evolution it is neither a good idea to fit sea level with a quadratic nor to fit the rate curve with a straight line &#8211; it&#8217;s a bad model that gives inconsistent results.<\/p>\n<p><strong>Matlab code:<\/strong><\/p>\n<p>% script to produce idealised sea level curves<br \/>\nx=[-50:50];<br \/>\na = 1.42e-5; b = -0.0159; c=2;<br \/>\nrate= a* x.^3 + b*x + c;<br \/>\nplot([0:100],rate,&#8217;r&#8217;);<br \/>\nslr = cumsum(rate); % integrate the rate to get sea level<br \/>\nplot([0:100],slr\/10,&#8217;r&#8217;);<\/p>\n<p>% compute quadratic fit<br \/>\np = polyfit(x,slr,2);<br \/>\nacceleration = 2 * p(1)<\/p>\n<p><strong>References<\/strong><\/p>\n<p>Church, J. A., and N. J. White (2006), A 20th century acceleration in global sea-level rise, Geophys. Res. Let., 33(1), L01602.<\/p>\n<p>Church, J. A., and N. J. White (2011), Sea level rise from the late 19th to the early 21st Century, Surveys in Geophys., 32, 585-602.<\/p>\n<p>Holgate, S. (2007), On the decadal rates of sea level change during the twentieth century, Geophys. Res. Let., 34, L01602.<\/p>\n<p>Houston, J., and R. Dean (2011), Sea-level acceleration based on US tide gauges and extensions of previous global-gauge analysis, J. Coast. Res., 27(3), 409-417.<\/p>\n<p>Rahmstorf, S. (2007), A semi-empirical approach to projecting future sea-level rise, Science, 315(5810), 368-370.<\/p>\n<p>Rahmstorf, S., and M. Vermeer (2011), Discussion of: Houston, J.R. and Dean, R.G., 2011. Sea-Level Acceleration Based on U.S. Tide Gauges and Extensions of Previous Global-Gauge Analyses., J. Coast. Res., 27, 784\u2013787.<\/p>\n<p>Rahmstorf, S., M. Perrette, and M. Vermeer (2012), Testing the Robustness of Semi-Empirical Sea Level Projections, Clim. Dyn., 39(3-4), 861-875.<\/p>\n<p>Wahl, T., J. Jensen, T. Frank, and I. Haigh (2011), Improved estimates of mean sea level changes in the German Bight over the last 166 years, Ocean Dyn., 61, 701-715.<\/p>\n<!-- kcite active, but no citations found -->\n<\/div> <!-- kcite-section 13548 -->","protected":false},"excerpt":{"rendered":"<p>\u2026 if your data do not look like a quadratic! This is a post about global sea-level rise, but I put that message up front so that you\u2019ve got it even if you don\u2019t read any further. The reputable climate-statistics blogger Tamino, who is a professional statistician in real life and has published a couple [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[1,19,34,45],"tags":[],"class_list":{"0":"post-13548","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-climate-science","7":"category-oceans","8":"category-skeptics","9":"category-statistics","10":"entry"},"aioseo_notices":[],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.realclimate.org\/index.php\/wp-json\/wp\/v2\/posts\/13548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.realclimate.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.realclimate.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.realclimate.org\/index.php\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.realclimate.org\/index.php\/wp-json\/wp\/v2\/comments?post=13548"}],"version-history":[{"count":55,"href":"https:\/\/www.realclimate.org\/index.php\/wp-json\/wp\/v2\/posts\/13548\/revisions"}],"predecessor-version":[{"id":13624,"href":"https:\/\/www.realclimate.org\/index.php\/wp-json\/wp\/v2\/posts\/13548\/revisions\/13624"}],"wp:attachment":[{"href":"https:\/\/www.realclimate.org\/index.php\/wp-json\/wp\/v2\/media?parent=13548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.realclimate.org\/index.php\/wp-json\/wp\/v2\/categories?post=13548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.realclimate.org\/index.php\/wp-json\/wp\/v2\/tags?post=13548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}