Stephen Burch's Birding & Dragonfly Website 

Home  Trip Reports  Gallery  UK index  Oxon pics  UK pics  Dragonflies  Other Nature  Contact  Links 
Covid19 total deaths and fitted curves for different countries Introduction Last updated: 4 June (am) For the current Covid19 pandemic, death statistics by country are widely available, with the Worldometers website being one of the most convenient sources. There have also been a few plots in the Guardian, the FT online, and no doubt elsewhere, of death rates from day of first death compared between countries (accredited to the John Hopkins University ). I thought I'd see if I could reproduce these for myself, using a different selection of countries. This was easy enough to do using Excel and the Worldometers data. As politicians are keen to highlight, it is difficult to make valid comparisons between countries, but it seems that an approximate way of doing this is to compare the death rates per head of population, which I show in the graph below. These are the figures for total deaths to date divided by the population for each country.
The curves above show that all the totals are comparatively small, as a percentage of each country's population, all being below 0.06% (which corresponds to about 1 in 1700). In the last few days, the total deaths in the UK have, for the first time, exceeded those in all other countries, and show no immediate indication of leveling off. In Spain, which previously had the highest rate, currently daily deaths have now been very low for several days (no more than four in the past week). The USA now has by far the highest number of Covid19 deaths, but when expressed as a percentage of its (large) population, it is the second lowest of the countries compared above. Sweden, which hasn't had a strict lockdown, is currently showing only a comparatively modest total of just over 0.04%, but its deaths are continuing to increase faster than in other countries. To further put these figures into perspective, in the UK the percentage of the population dying each year is just under 1% or 620,000 (2018 figure) in its population of 67M. Current estimates of the total number of deaths related to Covid19 in the UK amount to nearly 10% of the total annual number of deaths (i.e. around 60,000). As the Covid19 deaths have been concentrated into a period of only a couple of months, with the peak rates in only a few weeks, they have amounted to a sizeable fraction of the total deaths occurring in the worst affected countries. For example, in the UK the ONS reported that for the week ending 17 April (around the peak of the pandemic in the UK), Covid19 was mentioned on the death certificates of almost 40% of all deaths. As testing has been limited, it is likely that this is an underestimate of the mortality caused by Covid19, especially as the total number of deaths that week was more than twice the average that had occurred at the same time over the past five years (see the section on UK below for more detail on this). Modelling In the early stages of the pandemic, many sources were showing plots of log(total deaths) vs linear time as the initial expected exponential growth phase then appears linear. However although we have seen many of these plots in the media, forward projections of these figures are much rarer. To project forward, an assumption is needed about how the death rates will change with time. There is a whole science of pandemic modelling about which I know very little. What I have seen involves a complex approach based on a large number of parameters and multiple differential equations. As I have no idea what assumptions are used in these models and how they work in practice, I've looked at a much simpler approach based entirely on the available data to date for death rates. I have ignored all the information on number of cases on the basis that these are entirely dependent on the amount of testing done, which at present is very limited in the UK at least. Basis of approach My approach is as
follows. It seems to me that a plausible
formula for the total deaths to a particular date is as follows:
where t is the time since first death in days. For small t this curve is linear, which is equivalent to the initial expected exponential increase. For large t, this curve eventually saturates at a value = D, where the total number of deaths in the pandemic = exp(D). The unknown parameters D and a are found by least squares fitting to the reported total deaths to date. A slight generalisation of this formula involves three unknown parameters instead of two:
where t0 allows an adjustment to the (uncertain) date of first death. After having tried these two equations, I have found they do not seem to fit the reported death tolls that closely when the numbers start to dropoff, probably due to the belated effects of the lockdowns that have been in force in many countries for sometime now. Hence I have tried a further elaboration of the above which adds a t squared parameter as well:
I am now using whichever of the above formulae appear to best fit the reported total deaths for each country. There is a further complication in that there are two different ways of fitting the above curves to the available data for a country. The first is to look at the differences between the modelled and reported total deaths to date, and then square and sum these differences. The Solver in Excel then allows the sum of the squares of the differences to be minimised by changing the unknown parameters D, a , t0 and b (if used) in the above formulae. Alternatively, the modelled and actual reported new deaths for each day can be compared, and again the sum of the square of the differences found. The weakness of this modelling approach is that these two methods of fitting the same equations to the data produce significantly different results. I think this is because the first method, which uses the logarithmic approach gives almost equal weight to the early small numbers of deaths and the later higher numbers. However the second method is looking at the (linear) deaths per day  this gives much more weight to the larger values occurring later in the epidemic. Also in the early stages of the epidemic the numbers of reported deaths tend to rise exponentially with time (which appears as a straight line on a logarithmic plot). In this case, it is impossible to derive any meaningful value for the "curvature" parameter, a. Without that, any projections of the numbers into the future are effectively meaningless. Even as the epidemic progresses, small changes in the value of the parameter a can have a huge effect on the modelled number for the total number of people that will die in the epidemic. Because of all these complications, I have now decided to only show and report some of the modelling results. For the others, the values are very uncertain and it would be misleading to mention the total epidemic deaths coming out of the modelling here. It is important to note that I am not claiming any accuracy for these predictions. This approach is just one way of estimating future trends based on available data. However, in China it appears the present phase of the pandemic is over. At the bottom of this page there is a study which shows that this approach was giving estimates of total deaths within a factor two of the final total, even at the early stage of the pandemic. UK predictions I first give here the results for the UK, followed by those for other notable countries. In all cases I have used the Worldometer data for total deaths to date, as a function of time. For the UK, these are the daily figures from the DHSC that appear widely in the media. In these figures, for a death to be attributed to Covid19, there must have been a positive Covid19 test. These figures hence do not include deaths from Covid19 where a test had not been performed, which may occur most often in care homes and the community. The plot below shows the Worldometer data for the UK in terms of deaths to date (left logarithmic axis) and daily deaths (right linear axis). It also shows the results of fitting the second equation given above to the daily death values. With the lockdown in effect for over 5 weeks, the UK total deaths have clearly peaked and the numbers reported daily are declining. The reported values suggest there have been 3 rather different phases to the UK epidemic so far, with the current one starting at about day 20, around the time the lockdown started. Alternatively this may be a further illustration of the vagaries and delays in reporting deaths. As from 29 April, all the figures changed to include not only hospital but also care home deaths (backdated to the end of March). The Worldometer website now gives all these updated values, which I have incorporated into the plot below. For the UK, the blue modelled curve now reaches a total of about 41,000 deaths  considerably higher than Spain, France and Italy (see below). Although we are clearly past the peak, there appears to be an extended tail developing  not helped by a recent addition of around 400 deaths on one day, attributed to delays in their reporting. It is now unclear when daily increases in deaths will get below 100, unlike in Spain, Italy and France where rates have been at or below this figure for some time now. As the lockdown in the UK is progressively eased, despite these relatively death rates, there may well be an impact on the future death rates with a feared upturn seemingly quite possible given the relatively large high current infection rate. On the plot below, the separate weekly figures reported by the ONS are now also shown. The ONS reports all deaths where Covid19 is mentioned on the death certificate, and are also counted by date of registration of the death. These numbers are higher than those reported by the DHSC, which only counts those with positive Covid19 tests, as explained above. The ONS also provides information on all deaths and how they compare with the longterm average. These show a significant number of excess deaths where Covid19 is not on the death certificate. These could be from other causes, e.g. heart attacks, cancers and strokes, which may be have increased due to the reallocation of NHS resources to handling the Covid19, to the detriment of other forms of care. Alternatively, or additionally, there may well have been some deaths caused by Covid19 but not mentioned on the death certificate. On 24 May, there had been 55,000 excess deaths since the start of March 2020  substantially higher than the 37,000 Covid19 deaths reported by DHSC on that date. This all goes to highlight, even today, the difficulty in being sure of how many people have died during a pandemic. As with nearly every country shown here, lockdown measures are now being eased in England and more gradually in Scotland, Wales and Northern Ireland. The key question is whether or not this will produce an upturn in infections rates which then feed into the death figures in due course.
Spain, Italy and France I show below the Worldometer data for deaths to date for various different countries as a function of time. The curves show the fits to the available data using the principle of least squares, as for the approach used for the UK above. The plot below shows the numbers of new deaths per day. The epidemics in Italy and Spain are now well advanced and the daily deaths are now tailing off. Each of the dashed curves show one of the equations described at the top of this page fitted to the daily death values. The predicted final numbers of deaths are around 30,00035,000 for each country. In Spain, daily deaths have been in single figures for several days now, although they remain somewhat higher in Italy. Both countries have been easing their lockdown restrictions for some time now.
For France, the numbers have been very erratic; on the plot below an average over the last 3 days is shown. Even with this averaging there are many fluctuations and the initial rise in deaths doesn't fill very well to the current curve. There was a large increase being caused by the inclusion of care home deaths on day 36, but a decline is now well underway, with the modelled final total being also around the 30,000 mark, very similar to Italy and Spain. The daily figure went negative for some strange reason on day 82! The daily figures have now been below 100 for the last 4 days in a row, despite recent lockdown easing.
USA The USA numbers do not fit to a single curve very well. There was a large rise on day 47, and since then the total deaths appear to be following a different curve than before. Excluding the values before 47 days from the first death, the modelled overall total is now up to around 125,000. Although this is far higher than in the European counties shown above, the US population is correspondingly much larger (330 million), than those of the European countries shown here (for example, the UK population is 68 million). This is shown more clearly in the first graph on this page which shows the deaths in each country as a percentage of the total populations. A slow decline now appears to be underway.
Sweden and Germany Unlike all the other countries featured on this page, Sweden has not yet had a major lockdown. Hence a comparison with other countries that have much higher levels of restriction in interesting. Sweden has a significantly smaller population (about 10 million) and a lower population density than any of the other countries given here. The daily figures (3day smoothing) show a strong weekly cycle. The fitted curve suggested that the peak in the daily figures was reached on about day 45 and that a slow decline is now underway. The modelled total epidemic deaths is around 5,000. There is currently concern in Sweden over the current relatively high death rate per head of population. In Germany, the approach has been completely different with a huge amount of testing and followup of those infected, combined with a major lockdown. At present, the fitted curve has a final total death toll of about 9,000, in stark contrast to the UK, Italy, Spain and France. The daily figures (3day smoothing) again show a pronounced weekly cycle. The fitted curve shows the peak in the daily numbers was reached on about day 35 and are now tailing off well, despite some easing of lockdown rules. I find it surprising that the patterns for Sweden and Germany are so similar, given that there hasn't been a lockdown in Sweden whereas in Germany there has been a very different interventionist regime.
For China the present phase of the pandemic is apparently over. It can therefore be used as useful test case for the modelling approach described above. The plot below the available data for China up to 50 days since the first death. Note immediately how closely the 2parameter equation given above fits to the measurements, over almost the entire course of the pandemic. In this country at least, the equation seems to be more than plausible  it provides a good fit to the entire pandemic.
I have then tested how accurately the modelling approach predicts the final death toll, based on different amounts of the available data. The results are shown below. This graph shows how the predicted total deaths vary depending on the date at which the modelling is performed. All predictions were within a factor of two of the final value. This is unlike my experience with any of the other countries modelled to date. In all these cases, the predictions for the final death toll have been varying by large amounts, indicating the approach is not providing meaningful values. It is however surely a coincidence that the prediction, performed on only the first six days of data (I excluded the values below 4 days from first death), is almost spot on the final figure.

© All plots copyright Stephen Burch 