# We're in for 2 months

One of my activities during the lockdown here in France is trying to predict how much time will the lockdown last. The data I'm using comes from here.

Below is a plot of the rate of growth of Covid-19 in Hubei, Italy, and France, starting from the day each region has started its lockdown. The rate of growth at a given day is the number of new cases on this day, as a percentage of the number of cases from the previous day. The rate of growth is constant for an exponential evolution, and is 0 when there is no more growth. (Mathematically, it is the derivative of the function divided by the function itself.)

Hubei has some statistical aberrations which make the plot goes wild at some places. They may be the result of changes from one counting method to another. For example, at some point they started adding people clinically diagnosed with symptoms of pneumonia (most likely Covid-19) on top of those who tested positive to SARS-Cov-2.

What we see in the plot is that:

- Locking down works. For each of the countries, locking down eventually brings the growth significantly down. Italy has been on a smooth decline since the beginning of their lockdown. You may read articles in the press about how they're finally beating the virus, which is just a way of saying that the rate of growth has decreased under some arbitrary threshold. It has been decreasing from the start.
- It takes time to kill growth. Hubei needed 30 days for the growth to almost come to a stop.
- Even if they don't start at the same rate of growth, it looks that each country is ultimately going to take around 30 or 40 days to kill growth.

Why does it take so much time? I have 2 explanations for it.

Explanation number 1 is the incubation period of Covid-19, which ranges between 5 days and 14 days. This means that the last people who have been contaminated just before the lockdown (which is much of the contaminated people, because of exponential growth) will start going through the disease between 5 days and 14 days *in* the lockdown. Once they are sick, the symptoms tend to peak between 2 and 3 days in the illness, which is the moment they reach for medical assistance and get tested. So it is expected that the *measured* number of contaminated people could continue growing up to 17 days after the start of the lockdown.

17 days are still lesser than the 30 days we're observing here, which brings me to the second explanation: the lockdown is not perfect. Some people cannot work from home and still go to work. People need to buy groceries, and go to the shop. People order deliveries, with packing touched by other people. People get sick for various reasons, so they do to the doctor, where other people are waiting. And so on and so forth.

The fact that there are contaminations even during the lockdown seems to be corroborated by another metric, which is: once there is no more growth, how many of all the people who have tested positive are still sick? The answer is: most of them. The following graph shows the number of *unrecovered* cases of Covid-19 against the total number of cases in Hubei after 30 days of lockdown. That is, once there is almost no more growth.

We see that even when the virus has stopped spreading, a large majority of all Covid-19 cases are still positive, and it takes another 30 days before most of them recover and there is only a small minority which is still positive.

My initial reaction was that it is no problem to stop the lockdown after the first month, you just have to keep the still-ill locked down until they recover. The problem is that it is well-known that the number of measured cases is way lesser than the number of total cases, because only the worst cases get tested. So we must imagine that this graph only represent a subset of the entire set of Covid-19 cases, and their sizes evolve proportionally. So if you let out people at Day 30, you're actually letting out people among a sh#tload of people who are positive, and therefore at risk of spreading the virus again.

You can read the complete Hubei lockdown timeline here, from which I extract 3 bullet points:

- 23 January: lockdown
- 6 March: first day with 0 new case
- 27 March: lockdown lifted

The rest of the world waited for the last moment to put lockdowns in place, and started experiencing hindsight bias about the fact that it was pretty much announced by China one month before. If this time we stop playing the game of "in our country it's going to be different than in China", then the prediction for the duration of the lockdown is: 2 months.