{"id":744,"date":"2017-09-07T19:07:37","date_gmt":"2017-09-07T18:07:37","guid":{"rendered":"https:\/\/marriott-stats.com\/nigels-blog\/?p=744"},"modified":"2019-02-09T10:36:18","modified_gmt":"2019-02-09T10:36:18","slug":"uk-weather-trends-2-summer-2017","status":"publish","type":"post","link":"https:\/\/marriott-stats.com\/nigels-blog\/uk-weather-trends-2-summer-2017\/","title":{"rendered":"UK Weather Trends #2 &#8211; Summer 2017"},"content":{"rendered":"<p>Meteorologists define summer in the UK to be the period from June to August so summer is now over and we are officially in autumn.\u00a0 I have decided to create a series of posts which I will publish at the end of each season showing how that season compares to the weather record.\u00a0 The 2017 summer was wet but unremarkable otherwise and actually quite typical of recent summers as I will explain.<\/p>\n<p><!--more--><\/p>\n<p>Analysis of trends is a key skill that all statisticians and analysts need to have.\u00a0 Indeed I run a training course on <a href=\"https:\/\/marriott-stats.com\/identifying-trends-in-data-making-forecasts\/\">Identifying Trends &amp; Making Forecasts <\/a>as I have learned over my 25 years as a professional statistician that skills in this area are nowhere near where they should be.\u00a0 By publishing this series of posts about trends in weather and other fields, I hope you will learn something you will be able to apply elsewhere.<\/p>\n<p>As my <a href=\"https:\/\/marriott-stats.com\/nigels-blog\/uk-weather-tracker-7-august-2017\/\" target=\"_blank\" rel=\"noopener\">weather tracker series <\/a>shows, weather cannot be thought of as a univariate data set.\u00a0 We define weather as a combination of temperature, sunshine and rainfall which makes weather a multivariate data set.\u00a0 There are many ways of displaying multivariate data but one of the first questions that has to be asked is how do we compare 3 variables that use 3 different numerical scales i.e. degrees Celsius, hours and millimetres?\u00a0 The answer is to convert the scales of all 3 variables into a new common scale using a procedure known as STANDARDISATION.\u00a0 The resulting standardised variables are often called Z-SCORES.<\/p>\n<p>Standardisation works as follows.\u00a0 For each year within each variable, we first subtract the average for that variable to get the difference from the average.\u00a0 Then we divide by the standard deviation of that variable.\u00a0 For example, if the average summer temperature over the last 50 years is 14.3 degrees Celsius and the standard deviation is 0.8 degrees Celsius, then the STANDARDISED summer temperature for 2017 will be +0.6 since the actual average 24 hour UK summer temperature in 2017 was 14.7 degrees Celsius so (14.7 &#8211; 14.3)\/0.8 = +0.6.<\/p>\n<p>Before calculating the z-scores for all weather variables, a decision needs to be made over what timeframe should the average and standard deviation be based on.\u00a0 I have decided to go with a rolling 50-year average and standard deviation so since we are in 2017, these values will be calculated on the 1967 to 2016 timeframe.\u00a0 My reason for using this timeframe is that it seems like a good timeframe for the concept of &#8220;living memory&#8221; i.e. we evaluate the most recent weather in terms of our\u00a0experience &amp; memory and\u00a0being a child of the 70&#8217;s I can still remember some of the weather of the late 70&#8217;s.<\/p>\n<p>Notice that by dividing by the standard deviation, we convert the scale of any variable to a scale which measures the variable as Number of Standard Deviations Above\/Below the Mean value.\u00a0 So summer 2017 was almost 0.6 standard deviations above the average.\u00a0 If you are familiar with the properties of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Normal_distribution\">Normal Distribution<\/a>, you will know that if your variable follows a normal distribution, then 95% of the data points will lie within +\/- 2 standard deviations of the mean and 5% of the data points will lie without +\/- 2 standard deviations of the mean.\u00a0 So our +0.6 for the STANDARDISED summer temperature for 2017 does suggest that 2017 was typical for a British summer as this is close to 0 which equates to the average.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-740 alignnone\" src=\"https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM1-300x145.png\" alt=\"\" width=\"786\" height=\"380\" srcset=\"https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM1-300x145.png 300w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM1-768x370.png 768w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM1-1024x494.png 1024w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM1-450x217.png 450w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM1.png 1157w\" sizes=\"auto, (max-width: 786px) 100vw, 786px\" \/><\/p>\n<p>Standardised variables aid interpretation of data in many ways.\u00a0 If the standardised value is positive, it means that the value is above your average or expected value.\u00a0 If it is negative, then the value is below your expected value.\u00a0 What is interesting about the chart above is that summers over the last 25 years appear to have been warmer than the previous 80 years.\u00a0 Prior to the famous hot summers of 1975 &amp; 1976, the z-scores were mostly negative showing that summers were cooler than the baseline average.\u00a0 By adding an 11-year centred moving average (shown by the black line), we can see that this has indeed been the case.<\/p>\n<p>If the original variable is approximately normal in its distribution then the vertical scale gives us an idea of how typical or atypical each year is.\u00a0 Z-Scores in the range -1 to +1 are considered typical values and completely unremarkable.\u00a0 Z-scores in the ranges -2 to -1 and +1 to +2 are considered to be uncommon values but still entirely plausible and such values should not cause us concern.\u00a0 When Z-Scores get into the ranges -3 to -2 and +2 to +3, we should start paying closer attention and asking ourselves if something has changed especially if we get a sequence of successive points in these ranges.\u00a0 Finally, if the Z-scores are less than -3 or greater than +3, that is normally regarded as a clear call to action.\u00a0\u00a0There are in fact many ways of interpreting Z-Scores and\u00a0what I have said so far\u00a0merely a gives an overview of the most basic interpretations.\u00a0 A whole field of study known as <a href=\"https:\/\/en.wikipedia.org\/wiki\/Statistical_process_control\">Statistical Process Control (SPC) <\/a>is dedicated to building and interpreting such charts (known as a CONTROL CHART).<\/p>\n<p>I said earlier that if we have multivariate data sets then standardising variables allows us to compare multiple variables of differing scales.\u00a0 The next two charts show the z-scores for summer sunshine and rainfall in the UK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-741 alignnone\" src=\"https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM2-300x144.png\" alt=\"\" width=\"671\" height=\"322\" srcset=\"https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM2-300x144.png 300w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM2-768x370.png 768w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM2-1024x493.png 1024w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM2-450x217.png 450w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM2.png 1157w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-742 alignnone\" src=\"https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM3-300x144.png\" alt=\"\" width=\"671\" height=\"322\" srcset=\"https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM3-300x144.png 300w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM3-768x369.png 768w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM3-1024x492.png 1024w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM3-450x216.png 450w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM3.png 1158w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/p>\n<p>The z-score for summer sunshine in 2017 was -0.2 so this is pretty much average.\u00a0 The z-score for rainfall was +1.5 and was the 9th wettest summer on record which puts summer 2017 in the top decile.\u00a0 Those who have been following my <a href=\"https:\/\/marriott-stats.com\/nigels-blog\/uk-weather-tracker-7-august-2017\/\" target=\"_blank\" rel=\"noopener\">monthly UK weather tracker <\/a>will know that <a href=\"https:\/\/marriott-stats.com\/nigels-blog\/uk-weather-tracker-5-june-2017\/\" target=\"_blank\" rel=\"noopener\">June was very hot and stormy <\/a>and this was responsible for the above average rainfall.\u00a0 When we combine these two values with +0.6 for temperature, I think it is fair to conclude that summer 2017 was wetter than normal but unremarkable otherwise.<\/p>\n<p>Additionally, since I have standardised the 3 weather variables and calculated centred moving averages to measure the underlying trends, I can now put the 3 standardised moving averages onto the same chart.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-747 alignnone\" src=\"https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM4-300x145.png\" alt=\"\" width=\"664\" height=\"321\" srcset=\"https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM4-300x145.png 300w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM4-768x370.png 768w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM4-1024x493.png 1024w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM4-450x217.png 450w, https:\/\/marriott-stats.com\/nigels-blog\/wp-content\/uploads\/2017\/09\/UKweatherTracker2017SUM4.png 1160w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/p>\n<p>Such a chart allows us to characterise British summers over the last 100 years.\u00a0 My characterisation would be as follows.<\/p>\n<ul>\n<li>1910-1970 &#8211; we had cold wet summers with a brief interlude in the late 30s when summers were normal.<\/li>\n<li>1971-1992 &#8211; we had cool dry summers.<\/li>\n<li>1993-2002 &#8211; we had warm dry &amp; bright summers.<\/li>\n<li>2003-today &#8211; we are in a period of warm wet summers.<\/li>\n<\/ul>\n<p>In general, my characterisation is driven by rainfall and temperature.\u00a0 Sunshine has been much more stable over time.\u00a0 Using my characterisation, we can reinterpret 2017 as a normal summer for the current phase of our summers.\u00a0 How long this will last and what the next phase will look like is hard to tell.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Meteorologists define summer in the UK to be the period from June to August so summer is now over and we are officially in autumn.\u00a0 I have decided to create a series of posts which I will publish at the end of each season showing how that season compares to the weather record.\u00a0 The 2017 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":747,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_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":[90],"tags":[48,40,51,46,34,47,52],"class_list":{"0":"post-744","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-archive","8":"tag-multivariate-data","9":"tag-presenting-data","10":"tag-standardisation","11":"tag-trend-analysis","12":"tag-weather","13":"tag-weather-trends","14":"tag-z-scores","15":"entry","16":"override"},"_links":{"self":[{"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/posts\/744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/comments?post=744"}],"version-history":[{"count":5,"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/posts\/744\/revisions"}],"predecessor-version":[{"id":777,"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/posts\/744\/revisions\/777"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/media\/747"}],"wp:attachment":[{"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/media?parent=744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/categories?post=744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marriott-stats.com\/nigels-blog\/wp-json\/wp\/v2\/tags?post=744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}