Stephen Burch's Birding & Dragonfly Website
Covid-19 total deaths and fitted curves for different countries
Weekly summary (28 February 2021)
For the current Covid-19 pandemic, death statistics by country are widely available, with the Worldometers website being one of the most convenient sources.
There have also been many plots given in the media, including in the Guardian, the FT on-line, and 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.
Deaths per head of population
As politicians are keen to highlight, it is difficult to make valid comparisons between countries, but 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 even now the totals are still comparatively small as a percentage of each country's population, with the highest being about 0.18% (which corresponds to about 1 in 550). To put these figures into perspective, in the UK (and I presume elsewhere) the percentage of the population dying each year is just under 1% or 620,000 (2018 figure) in its population of 67 million.
As a percentage of its population, the total deaths in the UK are now the highest of the countries shown here - an unenviable position to be in. At least the rate of increase for the UK has now slowed. But this has also occurred in all but one of the other countries featured here and on present trends, the UK is most unlikely to be "overtaken" by any of the countries covered here anytime soon.
For further comments, see the sections below on each country in turn.
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. The constant t0 also allows a second wave to be added to the deaths from the first wave, and displaced in time relative to it.
To fit the above curves to the available data for a country, I compare the modelled and actual reported new deaths for each day, and sum the square of the differences between them. 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 in the above formulae.
In the early stages of the pandemic in each country, 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 with any confidence a value for the "curvature" parameter, a. Without that, any projections of the numbers into the future are 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.
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.
I first give here the results for the UK, followed by those for other selected 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 Covid-19, there must now have been a positive Covid-19 test within the last 28 days. These figures hence do not include deaths from Covid-19 where a test had not been performed, which may have occurred most often in care homes and the community. Conversely, any death, from whatever cause, within 28 days of a positive Covid-19 test is now included, including presumably obviously unrelated deaths such as car accidents.
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. As the daily figures show considerable fluctuations, with lower values at weekends, I now am now following many others in showing values averaged over the previous week (i.e. a rolling average).
On the plot below, also shown are the separate weekly registered death figures reported by the ONS (England) added to the numbers from the corresponding separate bodies for Scotland and Northern Ireland. These are all deaths where Covid-19 is mentioned on the death certificate, and are counted by date of registration of the death. These numbers are higher than those reported by the DHSC, which only counts those with positive Covid-19 tests. The registered death figures are also accompanied by information on all deaths and how they compare with the long-term average. These show a significant number of unaccounted for excess deaths where Covid-19 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 Covid-19, to the detriment of other forms of care. Alternatively, or additionally, there may well have been some deaths caused by Covid-19 but not mentioned on the death certificate. On 14 June, there had been about 65,000 excess deaths in the UK since the start of March 2020 - substantially higher than the 42,000 Covid-19 deaths reported by DHSC on that date. Since then the total number of deaths has been slightly lower than the 5-year average, so the excess deaths are declining slightly. This all goes to highlight, even today, the difficulty in being sure of how many people have died during a pandemic.
Note added 9 August: I have now stopped updating the ONS figures on the plot below, as they take a considerable time to work out. This is because the information, all in different formats, needs to be downloaded separately for England, Scotland and Northern Ireland and then added together!
In the UK, the first wave was met by a national lockdown that appeared to be sufficient to bring down cases and death rates after about 2 months. These measures were then eased during the summer, only for a second wave to emerge in the autumn. Initially this was tackled by a piece-meal series of local measures, few of which had the intended effect of driving cases down. The 4-week second national lockdown followed which was partially successful in bringing deaths back under control and overall cases were reduced slightly. However the dip in deaths was slight due to an upsurge caused by the new variant and also by the easing of the second national lockdown restrictions.
For the modelling, I have now added a third wave to fit to the recorded deaths. This week model 3 is showing the peak having past with a rapid decline now underway (apparently faster than after the first wave peak). The total number of deaths predicted in the third wave is now about 40,000 (unchanged from last week). This is very similar to the first wave. Note that the third and second wave models are overlapping and that the total number of deaths predicted in both is now about 90,000. Hence the overall total for the three waves is predicted to be close to 130,000.
In the plot below I show the results from model 1 (for the first wave), model 2 (for the second wave) and now a third model (model 3) for the recent upsurge. The total is the sum of all three waves and is a remarkably close fit to the actual values. It is interesting to speculate that the vaccination programme may be helping to speed the decline in the daily deaths, which are slightly below the fitted curve.
The plot below shows the daily deaths for Spain. After a strong first wave, Spain then experienced a smaller more gradual second wave. However from about day 300 the deaths started to rise again forming a third wave, as has happened in the UK. The peak of the third wave has been reached with a decline now underway.
I have now added a third wave model to these figures. The plot below shows all three models and their sum. The total number of deaths in the 3 curves in now about 60,000.
The plot below shows the daily deaths for Italy together with the fitted curve. The curve is a pretty good fit to the actual deaths. Back in March, the pandemic gripped Italy a few weeks before other countries, and the deaths rose very sharply before falling back quite quickly, possibly due to the strict lockdown measures imposed. Deaths then stayed low, until about day 220 when an increase was first apparent.
The daily deaths in this second wave reached a very similar peak to the maximum in the first wave and a decline then began. The model 2 fitted to these values gives a total number of deaths at about 50,000 which is about 40% higher than the first wave total. Around day 305 the decrease in the deaths abruptly halted and a small further increase occurred which has now peaked and started dropping off again. To account for this, I have now added a third wave into the modelling. For Italy this third wave is clearly evident but is weaker than in other countries such as France and the UK. The sum of all three modelled waves gives an estimate of 100,000 for the total deaths.
The modelling now has three curves for the three different waves. As in the UK and Spain, the increases in deaths in the second wave were slower than in the first wave. After a peak at about day 260, there was then a slow decline. However, as with Italy, this has halted and deaths are now increasing to form a third wave with deaths continuing to gradually increase. The modelling has now been extended to include 3 waves, as in the UK, Italy etc. At present it is unclear how large this third wave will be in France. There are signs from the data that the increase has peaked and a third decline is now occurring. The sum of all three modelled waves gives an estimate of about 95,000 for the total deaths - very similar to Italy.
As can be seen below, the USA numbers now show three distinct waves of the pandemic. After the first wave, and having been in decline for some time, the daily figures started increasing again around day 120. A second wave then occurred which appeared to peak around day 170. A slow second decline then took place before the latest upturn in deaths from about day 240.
I have modelled the USA figures using the sum of three different curves fitted to the daily death figures. The first curve is intended to match (approximately) the initial stages of the epidemic while the second curve is to account for the rise in deaths after around day 120.
I've now incorporated a third wave into the modelling to account for the latest large increase in deaths. These showed fluctuations up and down, but the fitted curve has now peaked and the recent deaths in the last few days show a steep decline. It seems unlikely that such a steep decline will be maintained, as it seems too early to be due to the vaccination programme, but time will tell. The prediction for the total number of third-wave deaths in now 500,000 (very similar to last week). This is clearly much higher than in the first two waves. The combined total for all three waves from the curves is 700,000 - by far the largest national total in the world.
Unlike all the other countries featured on this page, Sweden has not 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. Sweden has experienced the familiar pattern of a first wave starting in March, followed by a decline and then an autumn second wave.
The modelling of this second wave is now shown below within the total modelled deaths curve (I have not shown the separate model 1 and model 2 components). The second wave has peaked, and deaths are in rapid decline, although there are unusually large fluctuations in the values in the second wave. The fitted curve suggests that the total second wave deaths will be about 8,500 (down from 9,000 last week). Given the speed of the recent decline, this may be an overestimate.
In Germany, the approach has been completely different from Sweden with a huge amount of testing and follow-up 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 fitted curve shows the peak in the daily numbers was reached on about day 35 and then tailing off well, despite some easing of lockdown rules.
The second wave deaths have dwarfed those in the first wave, although of course the first wave peak in Germany was comparatively very low. The second wave deaths now have peaked and a strong decline ("inside" the modelled curve) is underway. The predicted total number of deaths in the second wave is now 75,000 (down from 80,000 last week). As with Sweden, this may be an overestimate, given the strong recent decline.
For Brazil, unlike most of the countries looked at here, it is clear the the modelled curves do not fit the actual deaths as well as in most of the other countries shown here. In the first wave, following the initial rise, there was an unusual plateau, with almost constant values from day 80 to about day 160. There was then a progressive decrease until around day 240. In the days since then, a second wave has developed despite it not being autumn in this southern hemisphere country.
The modelling is now based on two separate curves for the first and second waves respectively. The actual deaths may still be increasing slowly.
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 2-parameter 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|