Thursday, 17 September 2020

UK: Plotting new Covid cases per 1000 tested

Following on from my analysis of the trend in Covid deaths (and using the same dataset), here is a plot (for each day since 8 April*) of the number of new cases per 1000 people tested. Contrary to what is being shown by the media (see below), this plot is the one that should be used to base decisions on if and when new social distancing or lockdown rules are needed.

When we consider that a higher proportion of new cases now (compared to the first 2 months) are minor or totally asymptomatic**, I find it is rather incredible that the following graph of just new cases (that strongly indicates 'second wave') is the one used by almost all media outlets.  This graph does not take account of the increase in number of people tested. Neither does it take account of the decrease in proportion of deaths per cases, nor the false positive test rate (and so further exagerrates the scale of the problem):


Of course this graph conveniently shows 'strong evidence' of a 'second wave' - something which better fits the narrative of a lot of influential people.


*This is the first date for which there is a record of number of people tested.

**As evidenced by the continued very low death rates shown in my previous piece:


UPDATE 18 Sept. Here are the latest data on hospitalizations and deaths from the Government's own Coronovirus website:



See also



The Cab accident problem: new insights into probabilistic reasoning when there is uncertainty about the witness reliability

 

One of the classic problems used to evaluate how well lay people perform probabilistic updating is the "Blue/Green Cab accident problem" (or equivalently with buses). The problem is usually expressed as follows:

 A cab was involved in a hit-and-run accident at night. Two cab companies, the Green and the Blue, operate in the city. 

90% of the cabs in the city are Green and 10% are Blue. 

A witness identified the cab as Blue. The court tested the reliability of the witness under the circumstances that existed on the night of the accident and concluded that the witness correctly identified each of the two colours 80% of the time and failed 20% of the time. 

What is the probability that the cab involved in the accident was Blue rather than Green? 

A major finding of the original study was that many participants neglected the population base rate data (i.e. that 90% of the cabs are Green) entirely in their final estimate, simply giving the witness’s accuracy (80%) as their answer. 

However, what was not considered in this and similar studies was any uncertainty about the witness reliability (this is called second order uncertainty). If the 80% figure was based on 80 correct answers in 100 then the 80% estimate seems reasonable. But what if it was based only on 5 tests in which the witness was correct in 4? In that case there is much more uncertainty about the "80%" figure; using a Bayesian network model to get the correct 'nomative' solution, it can be shown that while the witness's report does increase the probability of the cab being Blue, it simultaneously decreases our estimate of their future accuracy (because Blue cabs are so uncommon).

A new paper by lead author Stephen Dewitt that addresses how well lay people reason about this second order uncertainty has been published in Frontiers in Psychology. It was based on a study of 131 participants,  who were asked to update their estimates of both the probability the cab involved was Blue, as well as the witness's accuracy, after they claim it was Blue. While some participants responded normatively, most wrongly assumed that one of the probabilities was a certainty; for example, a quarter assumed the cab was Green, and thus the witness was wrong, decreasing their estimate of their accuracy. Half of the participants refused to make any change to the witness reliability estimate. 

Dewitt, S., Fenton, N. E., Liefgreen, A,  & Lagnado, D. A. (2020). "Propensities and second order uncertainty: a modified taxi cab problem". Frontiers in Psychology, https://doi.org/10.3389/fpsyg.2020.503233

Monday, 14 September 2020

COVID19 trend plots: deaths by numbers tested

The UK now enters a new period of 'semi lockdown' with private gatherings restricted to groups of 6 people. This seems to be in response to an 'increase in confirmed cases'; but such an increase is inevitable as more people are being tested (especially young people, many of whom will not suffer any major symptoms), and with the false positive problem. It seems to me that the most relevant COVID19 trend plot should be number of deaths per 100K people tested. I've not seen such a plot  - so I just downloaded the relevant raw data from https://ourworldindata.org/covid-deaths and produced the following plot for the UK from 1 April 2020:

 


As the 'tail' is too small to see, here is the same data, but just from 1 May 2020


For comparison, here is the plot for the USA. Not the same kind of decrease because it is made up of many large states which had increasing infection rates at different times.

 

And another comparison is Israel, which is the first country to implement a second complete shutdown (beginning this week). The issue here is that, because numbers are relatively small and outbreaks occur mainly in very localised orthodox (Jewish and Muslim) communities, bigger variation than UK/USA is inevitable 

 


And here are the three countries together plotted on the same scale. UK now doing much better than USA and Israel (which both are similar now despite being very different in May)

 


 It does seem that the introduction now of the new UK rules is a very strange move..... 


See also https://probabilityandlaw.blogspot.com/search/label/COVID

Sunday, 19 July 2020

A privacy-preserving Bayesian network model for personalised COVID19 risk assessment and contact tracing



Concerns about the practicality and effectiveness of using Contact Tracing Apps (CTA) to reduce the spread of COVID19 have been well documented and, in the UK, led to the abandonment of the NHS CTA shortly after its release in May 2020.

One of the key non-technical obstacles to widespread adoption of CTA has been concerns about privacy. In this new paper our group present a causal probabilistic model (a Bayesian network) that provides the basis for a practical CTA solution that does not compromise privacy. Users of the model can provide as much or little personal information as they wish about relevant risk factors, symptoms, and recent social interactions. The model then provides them feedback about the likelihood of the presence of asymptotic, mild or severe COVID19 (past, present and projected). When the model is embedded in a smartphone app, it can be used to detect new outbreaks in a monitored population and identify outbreak locations as early as possible. For this purpose, the only data needed to be centrally collected is the probability the user has COVID19 and the GPS location.

The paper contains details of how to download and run the model.


And here is a 7-minute video showing the model in action:


Thursday, 16 July 2020

The need for causal models to understand and explain whether statistics provide evidence of racially biased policing


Even before the recent George Floyd case, there has been much debate about the extent to which claims of systemic racism are supported by statistical evidence. Contradictory conclusions have been made about whether unarmed blacks are more likely to be shot by police than unarmed whites using the same data. The problem is that, by relying only on data of ‘police encounters’, there is the possibility that genuine bias can be hidden.

In this short paper we provide a causal Bayesian network model to explain this bias – which is called collider bias or Berkson’s paradox – and show how the different conclusions arise from the same model and data. We also show that causal Bayesian networks provide the ideal formalism for considering alternative hypotheses and explanations of bias.

Wednesday, 8 July 2020

UK Covid19 death rates by religion: Jews by far the highest and atheists by far the lowest 'overall' - but what does it mean?

15 July 2020 Update:  an updated pdf version of this article is available here.

The most recent UK Office of National Statistics (ONS) report on Covid19 deaths by religion (covering the period 2 March - 15 May)  provides the overall number of fatalities for each religious group but, curiously, provides no simple overall fatality rate by religious group. So, I have done it myself.

Using Table 2 of the report (which provides the total deaths per religious group) and Table 1 of the report (which provides the population proportion per religion) and assuming the UK population size is 65 million, we get the following table of deaths per 100,000 by religion:


So, looking only at these population totals, Jews (by far) and then Christians have the highest death rate with atheists (no religion)* by far the lowest.

Now, while there are many Black Christians who come under the “BAME” (Black And Minority Ethnic) classification, there are very few Black Jews in the UK. So the results here seem to contradict the widely accepted narrative about BAME being ‘by far’ the highest risk group.

The question is whether an obvious confounding factor like age is causing a Simpson's paradox effect here whereby - although the overall rate is highest for a particular class of people - it may be possible that a different class is highest in each age sub-category. For example, as Dana Mackenzie shows for US statistics:

 although in every age category (except ages 0-4), whites have a lower case fatality rate than non-whites, when we aggregate all of the ages, whites have a higher fatality rate. The reason is simple: whites are older.

So, is that what we have here also, i.e. is it all explained by the fact that Jews and Christians are older?

Well, according to the statistical analysis in the ONS report it may be to a certain extent.  The report uses ‘age standardized mortality rates’ to take account of the age distribution differences and concludes that Muslims, rather than Jews, have the highest fatality risk (something which seems very surprising given the above table).

However, the report does not define how the ‘age standardized mortality rates’ are calculated and it does not provide the raw data to check the results either (just as this Barts study failed to provide the necessary raw data to check if its bold claims about higher risk for BAME people were valid). Another concerning aspect of the report is that a lot of it focuses on the under 65s. Yet, the the total number of fatalities in the under 65s is dwarfed by the number of fatalities in the over 65s.

Our approach** to this problem is to construct causal (probabilistic) models such as the one below (this is, of course, also the approach recommended by Pearl and Mackenzie in their excellent "Book of Why").

The kind of causal model required to fully understand impact of religion and ethnicity on Covid19 death risk (dotted nodes represent variables that cannot be directly observed)


Note that there are many factors other than just age that must be incorporated into any analysis of the observed data before making definitive conclusions about risk based on religion/ethnicity. Moreover, if we discount unknown genetic factors, then religion and ethnicity have NO impact at all on a person's Covid19 death risk once we know their age, underlying medical conditions, work/living conditions, and extent of social distancing.

Fenton, N. (2020). A Note on UK Covid19 death rates by religion: which groups are most at risk? http://arxiv.org/abs/2007.07083

Thanks to Georgina Prodhan for alerting us to the ONS report.


*It is fair to assume these are atheists because these are people who declared "no religion" as opposed to those who did not declare any religion (i.e. those who fall into the category "not stated or required")


References:




Friday, 12 June 2020

Bayesian networks in healthcare



A paper published today in the Journal Artificial Intelligence in Medicine  provides a comprehensive classification of the health conditions for which Bayesian networks have been used (the paper is part of a much bigger scoping review).

Four conditions - cardiac, cancer, psychological and lung disorders - make up over two-thirds of the research. The paper identifies differences in the approaches used by authors between each of these four primary health conditions and contributes to our understanding of how and what Bayesian networks are being considered for in healthcare.

Full details and download:


Full details and download of the full scoping review preprint: