https://um.mendelu.cz/...
in URL, click View on GitHub
to open this file on github.com.e
on GitHub). However, an advanced VS Code editor (press .
on GitHub) is better, since it provides preview how the Markdown code renders. Alternatively press pencil for simple editor or press triangle next to the pencil to get access to VS Code described as github.dev
.Ctrl+V
and K
. Keep the preview open as you work, or close using a mouse.Source control
(describe your changes, such as “Polish translation started”) and then press Commit&Push.is_finished: False
in header to is_finished: True
.https://um.mendelu.cz/...
, otevřete jej na serveru github.com.e
na GitHubu). Lepší je však pokročilý editor VS Code (stikněte .
na GitHubu), protože poskytuje náhled, jak se kód Markdown interpretuje. Případně stiskněte tužku pro jednoduchý editor nebo stiskněte trojúhelníček vedle tužky, abyste získali přístup k editoru VS Code popsaný jako github.dev
.Ctrl+V
. a K
. Během práce nechte náhled otevřený nebo jej zavřete pomocí myši.Zpráva
(popište své změny, např. “Zahájen překlad do polštiny”) a poté stiskněte tlačítko Commit&Push.is_finished: False
v záhlaví na is_finished: True
.Nejznámějším případem epidemie z poslední doby je pandemie virové choroby COVID-19, která je způsobena koronavirem SARS-CoV-2. Tato epidemie vypukla v prosinci 2019 ve městě Wu-chan v provincii Chu-pej v centrální Číně.
Začátek epidemie COVID-19 v Evropě se datuje na leden 2020. První potvrzené případy byly hlášeny ve Francii dne 24. ledna 2020. Jednalo se o tři pacienty, kteří se nedávno vrátili z Číny, kde byla epidemie již v plném proudu.
Do České republiky se pak nemoc rozšířila před 1. březnem 2020, kdy byly potvrzeny první tři případy. K 18. březnu 2020 bylo u nás potvrzeno již 464 případů.
Šíření nemoci mívá na začátku epidemie exponenciální charakter. Až později se obvykle toto šíření zpomalí a dále už má jiný průběh (lineární, logistický apod.).
Na základě získaných dat zkusíme namodelovat počet nakažených osob v závislosti na dnech od začátku epidemie. V tabulce jsou data popisující počet nakažených v závislosti na dnech od začátku epidemie.
Den |
Počet nakažených ( |
---|---|
Poznámka. Jedná se o reálná data z České republiky od 1. března 2020.
Úloha 1. Vypočítejte poměr počtu nakažených osob v jednom dni vzhledem k předchozímu dni.
Řešení. Označíme-li
Den |
Počet nakažených ( |
Poměr počtu nakažených |
---|---|---|
Vypočtenou hodnotu poměru počtu nakažených v jednom dni vzhledem k předchozímu dni můžeme interpretovat jako rychlost šíření nemoci. Pro přesně exponenciální růst nebo pokles by tento poměr vycházel konstantní. My pracujeme pouze s “naměřenými” daty, takže nám hodnota poměru vychází pouze přibližně. Pojďme se proto na tento poměr podívat blíže.
Úloha 2. Vypočítejte aritmetický a geometrický průměr poměru počtu nakažených. Který z nich je v tomto případě vhodnější?
Řešení. Aritmetický průměr
Aritmetický průměr může být ovlivněn extrémními hodnotami (pro nás například hodnota
Navíc v exponenciálním případě růstu (pokud se omezíme na základní typ tvaru
Úloha 3. Navrhněte funkci, která by aproximovala počet nakažených v jednotlivých dnech. Vytvořte graf v Geogebře (případně jiném programu).
Řešení. Metodou pokus-omyl se pro tvorbu exponenciální funkce, která vhodně reprezentuje naše data, nabízí například využití vypočítaných průměrů. Pro zápis funkce budeme využívat obvyklé značení, které je použité i v Geogebře a na obrázku níže. V grafu
S aritmetickým průměrem získáme funkci
Úloha 4. Po využití regresní analýzy dat lze získat vhodnější funkci popisující chování počtu nakažených, která je tvaru
Poznámka. Exponenciální funkci získanou regresní analýzou lze vytvořit v tabulkovém procesoru nebo Geogebře. V Geogebře je nutný příkaz, v němž zadáme body získané z tabulky: RegreseExponencialni({(1,3), (2,3), (3,5),...,(16,384)})
.
Řešení. Všechny tři funkce jsou v obrázku níže. Pouhým pohledem můžeme vidět, že všechny funkce jsou si na začátku podobné, ale pro další hodnoty funkce
Toto pozorování můžeme i kvantifikovat pomocí údajů z tabulky.
Den |
Počet nakažených ( |
Počet dle funkce |
Počet dle funkce |
Počet dle funkce |
---|---|---|---|---|
Jako ukazatel přesnosti s jakou naše funkce reprezentují daná data můžeme uvážit, jak moc se liší jednotlivé hodnoty od sebe. Postupně tak dostaneme
Obvykle se ale pro posouzení přesnosti používají druhé mocniny (čtverce) uvedených rozdílů. A to proto, že malé rozdíly (menší než 1) se umocněním zmenšují a velké rozdíly se ještě zvětšují.
V tomto případě dostáváme
Úloha 5. Bude se epidemie šířit neustále podle navržené funkce? Co může mít vliv na její další chování?
Řešení. Pro zachování exponenciálního průběhu epidemie by se nesměly měnit podmínky šíření nemoci. V praxi se lidé začnou chránit ochrannými prostředky, minimalizovat kontakt s ostatními nebo očkovat, čímž se nárůst počtu nakažených sníží. Epidemie se dostane do svého vrcholu a počty nakažených se začnou snižovat. Pro trvalý exponenciální růst by také muselo existovat neomezené množství jedinců, kteří se mohou danou nemocí nakazit.
European Centre for Disease Prevention and Control Novel Coronavirus: three cases reported in France. Dostupné z https://www.flickr.com/photos/ecdc_eu/50321985653/in/dateposted/ [cit. 08.08.2024]
Ministerstvo zdravotnictví ČR. Onemocnění aktuálně - COVID 19. Dostupné https://onemocneni-aktualne.mzcr.cz/api/v2/covid-19 [cit. 30.8.2023]
The most well-known recent epidemic is the COVID-19 pandemic, a viral disease caused by the SARS-CoV-2 coronavirus, which broke out in December 2019 in the city of Wuhan in Hubei province in central China.
The beginning of the COVID-19 epidemic in Europe dates back to January 2020. The first confirmed cases were reported in France on January 24, 2020. They were three patients who had recently returned from China, where the epidemic was already in full swing.
The disease then spread to the Czech Republic before March 1, 2020, when the first three cases were confirmed. As of March 18, 2020, 464 cases had already been confirmed in our country.
The early phase of an epidemic is typically characterized by exponential growth. As time progresses, the spread tends to slow down and follow a different trajectory (such as linear, logistic, etc.).
Based on the collected data, we will try to model the number of infected individuals as a function of the number of days since the start of the epidemic. The table contains the data describing the number of infected individuals with respect to the number of days since the beginning of the pandemic.
Day |
Number of infected individuals ( |
---|---|
Note. These are real data from the Czech Republic starting on March 1, 2020.
Exercise 1. Calculate the ratio of the number of infected individuals on a given day to the number of the previous day.
Solution. If we denote by
Day |
Number of infected individuals ( |
Ratio of infected individuals |
---|---|---|
The calculated ratio of the number of infected people on a given day to the previous day can be interpreted as the rate of disease spread. For a strictly exponential growth or decline, this ratio would be constant. However, since we are working with observed data only, the value of the ratio is only approximate. Let’s take a closer look at this ratio.
Exercise 2. Calculate the arithmetic and geometric mean of the ratio of the number of infected. Which one is more appropriate in this case?
Solution. The arithmetic mean
The arithmetic mean can be affected by extreme values (for us, for example, the value of
Moreover, in the case of exponential growth (if we restrict ourselves to the basic form
Exercise 3. Design a function that approximates the number of infected individuals on each day. Create a graph in GeoGebra (or another program).
Solution. Using trial and error, we can create an exponential function that suitably represents our data, for example by making use of the calculated averages. We will use the standard notation that is also used in GeoGebra and in the figure below. In the graph,
By using the arithmetic mean we get the function
Exercise 4. By applying regression analysis to the data, a more suitable function describing the behavior of the number of infected individuals can be obtained:
Note. The exponential function obtained by regression analysis can be created using either a spreadsheet or Geogebra. In Geogebra, the points obtained from the table must be entered using the following command: FitExp({(1,3), (2,3), (3,5),...,(16,384)})
.
Solution. All three functions are shown in the figure below. At first glance, we can see that all the functions are similar at the beginning, but for larger values of
We can also quantify this observation using the data from the table.
Day |
Number of infected individuals ( |
Modelled values according to |
Modelled values according to |
Modelled values according to |
---|---|---|---|---|
We can use the extent to which the individual values differ from each other as an indicator of the accuracy with which our functions represent the given data. This gives us the following results:
However, usually the squares of the differences are used to assess accuracy. This is because squaring reduces the impact of small differences (less than 1) and increases the effect of large ones even more.
This results in:
Exercise 5. Will the epidemic continue to spread according to the designed function? What might influence its future behaviour?
Solution. In order for the epidemic to continue to grow exponentially, the conditions for the spread of the disease must remain unchanged. In practice, people will start to protect themselves with protective equipment, minimize contact with others or get vaccinated. This will reduce the rate at which the number of infected individuals increases. The epidemic will reach its peak and the number of infected individuals will start to decrease. For sustained exponential growth, there would also have to be an unlimited number of individuals who can become infected with the disease.
European Centre for Disease Prevention and Control Novel Coronavirus: three cases reported in France. Dostupné z https://www.flickr.com/photos/ecdc_eu/50321985653/in/dateposted/ [cit. 08.08.2024]
Ministerstvo zdravotnictví ČR. Onemocnění aktuálně - COVID 19. Available from https://onemocneni-aktualne.mzcr.cz/api/v2/covid-19 [cit. 30.8.2023]