Placeholder Image

字幕表 動画を再生する

  • everyone, not a typical number file video for obvious reasons.

  • Ben Sparks, who, ironically, is the person who lives closest to me.

  • He's only about 40 miles.

  • Uh, think he's that way.

  • Uh, but he's a home at the moment.

  • So am I.

  • But we're gonna have a talk via technology.

  • Hopefully.

  • And what are we talking about?

  • Ben?

  • What are we gonna try and discuss?

  • I think there's a lot of videos and check out there about how mathematicians are modeling this spread off the covert 19 virus.

  • And it's kind of like this sort of house in days for mathematical model is, despite it being a horrible circumstance, everybody is curing upto.

  • Ask the mathematicians opinion on what's gonna happen next, and I guess it's a shower.

  • Mathematical modeling is what helps us predict what happens in the world in general.

  • What I wanted to show you was a way of using one of the standard models of disease spread on free piece of software that people could just try themselves and see that the modeling that people are doing to predict this is is kind of accessible.

  • I see you've got the honoree brown paper needs must we've got to do something properly.

  • Number five actually don't have any physical brown paper I could find.

  • So I had to, you know, get a screen grab of brown paper and put it in joji brah, which I'm gonna use to show you a model off a disease spread.

  • Hope that.

  • Is that an image taken from an actual number five for actual noble fell brown people.

  • Yeah.

  • I mean, spared no expense here.

  • So I'm gonna try and build you a mathematical file in this program called Joe Dobro, which anyone can try and follow along with the programs.

  • Free to grab it if you want to try it.

  • The three very was.

  • I'm gonna use a written on the screen already.

  • Just second.

  • You could see that right s for susceptible.

  • Meaning a bunch of people that are possibly able to get Aziz I for infected people who have got the disease are for recovered by which I mean are not infected anymore.

  • To be honest, that doesn't necessarily mean recovered right that they may be dead, which means they're not gonna be infectious anymore.

  • And that's the sad truth of modeling diseases like this is that there were two ways out.

  • You recover or you don't.

  • But either way, you stop infecting people.

  • I'm gonna I'm gonna use our for recover.

  • Some people call it removed.

  • But I will forget to say that word.

  • So I'm gonna just He's recovered, as long as you know what I mean.

  • We're gonna build up like organ mathematical models, some sort of simple, almost naive assumptions of how diseases spread and follow the mathematical consequences of those simple things.

  • Just to make a prediction on DATs the judge, we will do our butt lifting the heavy lifting for us.

  • So happy for me to start chatting mass.

  • Okay, I'm gonna set up a population of size one.

  • This sounds a little bit confusing, and I'm typing into the top of the thing here and equals one, which is mean I'm using, like, my entire population to me, like 100% 0 to 1 measures some fraction of the population on the whole population.

  • Size one.

  • You can do these models with a large number, but it everything to scale.

  • So I'm just gonna go with between zero and one.

  • Which is why my graph is zero and one about here on the screen.

  • I'm also going to set up some initial set up.

  • So presumably, there are some infected people in my population of the ways you gotta be asking why we're doing the model.

  • So I'm gonna start some values off infected and susceptible and recovered in the infected.

  • I'm gonna call.

  • I start No meaning me starting.

  • I mean, the number of infected people have the star of this.

  • I'm gonna call 1% which is 0.1 on get there.

  • Ever announces, therefore susceptible.

  • So they're susceptible, people start is gonna be end.

  • The total number people take away.

  • I start because that's not 9% susceptible.

  • That's because no one of this stage has recovered.

  • So our started zero on those, like my initial conditions for a model here looks a bit cryptic.

  • Basically programming in maths.

  • I'm gonna set up 23 more variables, in fact, which were used in a minute.

  • And you'll feel a bit arcane until you realize why.

  • But use sliders for this.

  • There's a slider tool here.

  • It's gonna put it here.

  • This slider is gonna represent How quickly does this disease gets transmitted?

  • Like you?

  • The infection rate s so I'm making a slider.

  • Won't do anything yet, being c I can change this number.

  • It's gonna be something to do with how quickly infects people and then another slider for how quickly people recover from this disease, which is gonna be smaller because it takes a while to recover from diseases other ways they usually don't really register anymore.

  • What are the units of time here back that it doesn't actually matter.

  • Were so we could pick a unit and run with it.

  • Let's say days, but I'm not necessarily gonna have the numbers right to model this in days.

  • But then if you change the union time, you just have to change these parameters to reflect that we can do some because they're on sliders.

  • We can do the playground later on to see if we can change the units.

  • Okay.

  • And at the moment they're called A and bay A and B.

  • Yeah, T I give them different names.

  • If you like to really help me, help me remember what they are.

  • Well, yeah, Let's rename it.

  • Let's call.

  • This transmission was quite trans or coding has to have a horrible names, right?

  • but I still typing really long names all the time.

  • Let's call it recover.

  • So I've got transmission rate and a recovery rate, and I'm gonna use them to build some night.

  • What's one more parameter I need, Which is how long I'm gonna let the model run for.

  • You'll see why this is useful.

  • Later.

  • I'm gonna call.

  • It's the max time.

  • I'm gonna get up to about 24.

  • Okay, Good.

  • Now we're into the real master.

  • What I'm gonna do is set up three what they call differential equations, which sounds scarier than it should.

  • But these are equations which tell us the sort of naive assumptions were gonna make about these three numbers.

  • What I want to know in the end, is what these numbers are over time.

  • How many susceptible, How many are infected and how many have recovered.

  • But what I can tell you is straight away what those numbers are.

  • I can guess that how quickly they're gonna change depending on various things.

  • So I'm gonna write down three equations would tell me about the rate of change of these things.

  • The 1st 1 is called s Dash.

  • I'm gonna call it s dash on.

  • That is sort of mathematical code for if you're gonna write it longhand, maybe D S d T If you know any calculus that's the derivative off s with respect to time.

  • But in everyday language is the rate of change of the number of susceptible people, how quickly it's changing and it's gonna depend on time.

  • So this bit looks technical, But I'm typing in a bunch of variables.

  • The rate of change of susceptible depends on time on the number of susceptible.

  • Lt's on the number of effective on the number of coverage.

  • One of these things might affect that, but in practice and here, this is the first time we actually gets a matter it on the screen.

  • The rate of change of susceptible Sze is negative because the number of successful people will go down because they're getting infected.

  • Does that bit makes it?

  • And we're working on this assumption that once you've been infected, if you've recovered or died, you can't get again.

  • Yeah, we are assuming in this particular mortal of disease that won't see you've infected and recovered, you are now sort of immune.

  • In some sense, you don't become susceptible again.

  • The thing is, the if you got loads of susceptible people on a few infected people first, anyway, the susceptible we will go down.

  • So what I'm expecting here is a negative rate of change, which is arriving and negative Sign of the top of the screen there, and it's gonna depend on three things.

  • One is the parameter a, which I've called trends now, trying the transmission rate on DDE that will also depend on how many people are susceptible.

  • So if there's lots of susceptible people you can imagine, we're gonna lose them to the infection's quite quickly and also depend on how many infected people are.

  • So this is a relatively simple There's a number, the transmission rate multiplied by the central people multiplied by the infected people on its negative because the susceptible people going down, they're gonna turn into infected people.

  • So that is my first equation.

  • It's a differential equation is a rate equation.

  • That's what it means it by different situation we need to do to MME.

  • Or for the other two variables, and it's not too bad.

  • So I'm gonna go with my next I dash is gonna depend on the same four possibilities here.

  • But this time the first was obvious because if people were susceptible and that's what this first equation we typed in was capturing, they're gonna become infected next.

  • So anything that's gone away from susceptible has become infected.

  • So it's exactly the same as what I just wrote down.

  • But this time, positive.

  • So you see, it's the same thing.

  • Transmission rate, times s times I.

  • But this time it's not gonna negative, son, because the infected people going up, presumably if they're moving from susceptible to infected.

  • However, I hope we're all aware that some people can recover, and so that will cause the number infected to go down.

  • So I need a negative bit, and this is where the recovery becomes in liquid.

  • It recovered for that right, and that would depend on how many people are infected.

  • The more people infected, the more people that can recover.

  • Obviously I had a certain rate, so that's got my number in there as well.

  • I noticed you're not attaching any, like waiting's or anything to these.

  • To these numbers, it all seems like a really what one.

  • There are two waiting's, the two waiting's of these precise numbers trans transmission right and recovery rate.

  • So there are waiting's.

  • But I'm trying to keep the model simple.

  • So there's at this moment it's 3.2, and that'll affect how many people are gonna move from susceptible to infected and the recovery right?

  • He's gonna affect how many people move from infected to recover it.

  • So those are the waiting's if you like, but they're the only parameters, and this is the thing with models.

  • You you start simple, and you realize that even simple mortals can capture behavior.

  • And then you upgrade the models, which will be a whole week's course instead of a single word.

  • Let's do one more equation, which is the R Dash, the rate of change of recovered people.

  • So the same four variables in here.

  • And this time it's a simple and again because anyone who's infected and now recovered is gonna move into this category.

  • So it's precisely the term I just had a the end of the infected rate, but this time positive.

  • So the recovery most plied by the number of infected.

  • So actually there are only two terms in this.

  • There's the negative version in the susceptible to infected one, then agains up negative there in positive there and then the effective.

  • When you got in the negative people that's recovering from infected to recover it.

  • So again, some turned up negative there and positive that.

  • So that was That was the hard man.

  • That's that's the modeling.

  • But that's what mathematicians get paid for to come up with these models.

  • To be honest, they're not rocket science there.

  • Sensible guesses of how things might behave.

  • Solving these equations is a different matter.

  • Before we do that, I'm just gonna change the color soon.

  • Keep track of this so susceptible.

  • We made blue infected.

  • We had a sort of brownie read on recovered.

  • Let's go with curry.

  • Is that all right?

  • Can you see those colors?

  • Okay.

  • Ben's color blonde, by the way, people.

  • Which is why he's asking me all the time.

  • You got no idea I had a long chat with Brady about Is that actually read?

  • Anyway, we're gonna go with this.

  • We got a brownie red infected color, which is.

  • So if you want to solve differential equations, then you two go and study some serious math.

  • And I'm not here to teach you to solve different equations.

  • What's nice about mathematicians is that they have programmed computers to do numerical solution, just like a calculate IQ and solve equations for you.

  • Judge over here can solve differential equations s o I got type in here.

  • Come on called end sold, in fact, that his insulin OD the O.

  • D.

  • Stands for ordinary differential equation.

  • Mathematicians are as bad as everyone else coming up with the acronyms that no one recognizes but ordinary differential equation.

  • In this case, it's a system of three differential equations on dhe.

  • This command is just gonna spit out the solution.

  • So this is the exciting.

  • But you just get to type it in on a well, should duel the work for us.

  • First of all, I need a list of derivatives, and that's the three things I just typed in these air rate equations or derivatives injured.

  • We need curly brackets for a list.

  • So it s dash.

  • I called it and then by dust and then our dust close that list.

  • They asked the initial X coordinate and on our scale, X axis is time.

  • So we're gonna start time zero.

  • We were a list of initial Y coordinates or in this case, the initial values of our three functions on those are things I set up in the very beginning.

  • So let's go in the same order s start the number of people starting susceptible.

  • And then I started thinking in the older part stuff.

  • Finally, I need a final X coordinate.

  • And this is why I set up a max time thing because it's gonna tell me how long to go on the simulation.

  • For now, he's already done something.

  • That's my command.

  • That's the sort of magic of using a piece of software to solve an equation for you.

  • If I return, it has done three things which look kind of down here.

  • They don't look very complete yet.

  • But can you see that one is going down?

  • What?

  • I was going up on weapons going up a little bit more slowly is that they're all black.

  • What sort of the colors?

  • Because judge who doesn't do the colors for us.

  • I wish it did, frankly, from my own color vision deficiency.

  • But I could also increase the timing tap carries on.

  • So, you see, this is the important bit when I crank up the time you see how these things develop over time and actually be much likely to see this with colors.

  • Let's rewind that and put some colors on the 1st 1 It sold his s So let's rename that two B s on Make it excitingly blue Turnover white blue is exciting.

  • The next one is brown.

  • He read Rename that to be infected Finally we've got recovered on That was a green click Finally let's just make them nice and thick And now we can see if I could even just animate this right like an animated.

  • And you see what happens to the numbers of central, effective, recovered over time a CZ maybe we're guessing what you think will happen, but let's just go.

  • And so what I hope you're seeing is this Red Graff has been in the news a lot this bump off infected people, which does tail off again.

  • But it's nice that judge was just doing this for us.

  • You're going back in time now?

  • Yeah.

  • I gotta change the properties of the number here to stop it oscillating, but ain't going tinker with this yourself.

  • The that's what it starts with the numbers set, we were goes down effect.

  • It's goes up on.

  • People do start recovering enough that the effect is the jump off.

  • But it's how high that bump is is really what's causing all the headlines of the moment.

  • Cause if that bump of infected people the red bump, that's that.

  • That's when the infect number of infected people is at its highest.

  • Yeah, red bump, isn't it?

  • And according to this model, which is going between zero and 100% like almost 80% of population got it at once on that.

  • That's obviously if you project that to our n hs, that's a problem, which is what?

  • Which we've just started this week of Locked down in the UK I mean, it's unprecedented because they're trying to stop this bump from dominating the entirety of all hospital, um, intensive cabins.

  • But now we've done it, and this is the nice thing about doing a model is that we can change these parameters.

  • So I said this we can flatten the curve.

  • We can flatten the curve, weaken squatch, the bubble, whatever you wanna call it.

  • And there are two ways, according to our model, right Well, let's crank up the time.

  • So we've got enough model.

  • We can decrease the transmission rate, which means, like, stop people from talking to each other, social, distancing all that stuff.

  • And if I start knocking that down, if I'm just gonna animate that down, you see what's happening to the model there as you lower the transmission.

  • Right, That red bump.

  • Look, it's lower.

  • Yeah, And that means there are fewer people needing the hospital at once.

  • Exactly.

  • We're squashing the bubble of beers for flattening the curve.

  • And that's kind of what we're trying to do at the moment.

  • And you see that this model s just try and see how much you have to do that and you see that eventually.

  • If you reduce this rate hugely, no, only D flat on the curve.

  • You also stop everyone from getting the disease in the long run way can crank up the maximum time I'm a go off the edge of our pre arranged paper here, but let's just see what happens.

  • But crank up time and see, See what we see here.

  • So this is settled down now.

  • And no, everyone has the disease.

  • So maybe 10%.

  • This blue line receptacles.

  • There's still 10% people susceptible in the long run, but they've never got the disease.

  • That is kind of what we're praying for.

  • Some people what survives this disease, and if we can stop at least nine maybe 10% of the most vulnerable from getting it, that would be great.

  • The seaway Reducing the transmission rate doesn't just squash the curve.

  • It also reduces the number.

  • People actually gained disease in the long run.

  • And, of course, the vaccine may be developed in the in the interim in that, in which case the susceptible people could be made susceptible.

  • Absolutely.

  • What?

  • You can take them out of the equation entirely if you vaccinated.

  • I mean, you can also increase the recovery rate.

  • If you crank up the way that people recover.

  • You see they're increasing their flattens the curve as well, but that's much harder to do.

  • The N H s is doing that.

  • They're trying to keep people healthy and recover quickly in hospital.

  • But in practice we know that it takes at least a week or so to get over this thing, and sometimes a lot longer there are treatments or cures that can really help us move that slide over.

  • Exactly.

  • Yeah, we'll do our level best, obviously, in the N h s, but we can't control it very well on what you might have heard some people talking about on the on the sort of chat shows about modeling.

  • This stuff is something called Are Zero, which is the sort of rate of infection is actually a comparison of these two numbers.

  • So it's one divided by the other.

  • If I If I do transmission divided by recover that number, let's just crank it onto the screen.

  • There.

  • We should call the Are zero for the sake of the yeah, let's call it a zero.

  • That sounds sensible.

  • You know, it's confusing calling our zero sometimes because it might also refer to the R start, which was very WeII.

  • This is our zero meaning some sort of reproduction rate, and you see that we think they are zero for the covert.

  • 19 is about three, perhaps, and it's kind of like a ratio of these two things, but this is possibly a good model for our disease we're looking at now.

  • Obviously, we haven't sorted out the unit of time.

  • But even maybe it's about right.

  • The number of days might spike in about two weeks from when things start off.

  • I'm not doing a firm analysis, but you can see that even in a free piece of software with three basic differential equations, it solves it for you.

  • And you can begin to get predicting model that tells us what's gonna happen in the future.

  • Been the transmission rate like your pure moving at like a slider.

  • It's like almost like an abstraction that you just play with.

  • How do the model is?

  • Go change that number based on things like we're going to close the cinema's, we're going to close.

  • The schools were going to stop people.

  • We're going to keep people in their house for two weeks or three weeks.

  • How does how do those real world interactions turn into another number?

  • What?

  • This is where there's a lot of argument out there in the press, right?

  • This is guesswork.

  • We don't know what the transmission rate and recovery times are.

  • They're not written in the back of a textbook.

  • All we can do is estimate them from the data we get from, say, China who've been dealing with it longer than the rest of the world.

  • So which is what the data from China is super valuable and also whether we why we need to know whether we can trust it.

  • So you go get data from China and then maybe Italy and then maybe Iran, and then you are serious questions about whether that data is reliable to build your models on.

  • And then you start saying, What if we social isolate?

  • Maybe we can reduce this by a certain amount, and you have to look at other studies that have been done to see how much certain actions will reduce that.

  • But it is guesswork.

  • This is why having a model is super importance because you can't do the guesswork live and wait to see if anyone dies, because it's just not how things should run it.

  • One thing that was absolutely clear, though, is no matter what happened.

  • Whenever you slid to the transmission down the red, the red bump flattened.

  • Yeah, finds a lot, even if we don't know how much it's flattening, it does flatten it absolutely, and the more we can plan it, the better the actual details of exactly what numbers we need to keep our society safe is guesswork from everybody.

  • Which is why I mean, the government has got a difficult job and everybody is gonna be second guessing them, including experts, including the experts that they're relying on for their information.

  • But it's important stuff.

  • And for once, you've gotta listen to the mathematicians because they're the only ones with the access to this model to predict what will happen.

  • Oh, and number five years now could make it our own model number 14 years because there are gonna be making their own model.

  • So there is a file I made earlier which this file here, which I just put a little animation on so you can see these numbers tracking over time on this one I have left in his A and B, But people can make their own and come up with their own labels on this and actually think realizing that the model is within their own grasp is certainly it's kind of useful for me.

  • I'm a mathematician, but I have to go and dig up my knowledge on these things.

  • And I had already programmed this and it turns out to be not that hard, particularly if the computer will do the grunt work of solving the things for you then as a math guy, as you've been following this, like this pandemic is that unfolds and the way it's been covered in the media and social media and things like that.

  • Hell, have you felt about the way that laypeople are grasping the mathematics, and how well do you think it's being explained?

  • I think it's hard to explain well, because, like all maths, it needs a bit of a run up.

  • Even in this description, I've been talking about differential equations.

  • If you're not sure what a rate of change or differentiation is, then that run up needs to happen to make you comfortable with the rest of the explanation.

  • But the number of people have been talking about exponential growth.

  • Logarithmic scales, which most number five years will be familiar with it turns out they're desperately important to discuss the sort of epidemics that we're seeing.

  • So it's been fascinating and sobering to realize sometimes in our mathematical worlds, we think we live in these abstract things, but this is desperately important in a very real life way.

  • That's both exciting for me.

  • Is a mass educator like people realized this is important?

  • A sobering because it does seem to be the crises.

  • When we noticed that it's important when everything's running normally, we don't really notice that these models are important.

  • So in the video description for this video, I'm gonna put some links to some files from Bend more stuff that you can tweak and play around with.

  • I'm also going to link Thio some other YouTube videos that have been made by other creators that are really good about what's going on with Corona Virus and the pandemic.

  • But, uh, Ben, I want you to stay inside and go on with your hands.

  • You, too, Brady A test.

  • Get that letter in the mail saying you have tested positive for this disease.

  • If you get that letter, if you're anything like me, your stomach falls into your feet and you start to worry a question that mathematics can help us.

  • Answer is how worried Do you really need to be maybe very worried?

everyone, not a typical number file video for obvious reasons.

字幕と単語

ワンタップで英和辞典検索 単語をクリックすると、意味が表示されます