<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blog | Patrick Nasser</title><link>https://www.patricknasser.com.br/blog/</link><atom:link href="https://www.patricknasser.com.br/blog/index.xml" rel="self" type="application/rss+xml"/><description>Blog</description><generator>HugoBlox Kit (https://hugoblox.com)</generator><language>en-us</language><image><url>https://www.patricknasser.com.br/media/icon_hu_da05098ef60dc2e7.png</url><title>Blog</title><link>https://www.patricknasser.com.br/blog/</link></image><item><title>The bias your LLM forgets when you log-transform</title><link>https://www.patricknasser.com.br/blog/bias-your-llm-forgets-when-you-log-transform/</link><pubDate>Sun, 24 May 2026 00:00:00 +0000</pubDate><guid>https://www.patricknasser.com.br/blog/bias-your-llm-forgets-when-you-log-transform/</guid><description>
&lt;blockquote class="border-l-4 border-neutral-300 dark:border-neutral-600 pl-4 italic text-neutral-600 dark:text-neutral-400 my-6"&gt;
&lt;p&gt;&lt;strong&gt;TL;DR.&lt;/strong&gt; When you fit a regression on $\ln Y$ and exponentiate the prediction back, you get a biased estimate of $Y$ — Jensen&amp;rsquo;s inequality says so. It&amp;rsquo;s a small detail nobody enforces, every codebase I&amp;rsquo;ve seen ignores it, and LLMs cheerfully reproduce that habit by default. The problem isn&amp;rsquo;t math, it&amp;rsquo;s the knowledge–practice gap, and the way out is shared context (SKILL files, open-source patterns) that bridges domains the model doesn&amp;rsquo;t know to consult.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="the-knowledgepractice-gap-amplified"&gt;The knowledge–practice gap, amplified&lt;/h2&gt;
&lt;p&gt;This is a consistent mistake I keep running into while vibe coding common data science problems, and it made me realize how much current LLMs amplify the &lt;strong&gt;knowledge–practice gap&lt;/strong&gt; — the distance between what is &lt;em&gt;known&lt;/em&gt; in a field and what is actually &lt;em&gt;done&lt;/em&gt; day to day.&lt;/p&gt;
&lt;p&gt;When training, labs like Anthropic and OpenAI weight their data sources by credibility so the model produces better predictions. Weighting is fragile, though, and that fragility shows up the moment you ask a token-prediction machine to do something where a field&amp;rsquo;s consensus and a field&amp;rsquo;s practice disagree. I see it most clearly with &lt;strong&gt;big numbers&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="why-we-log-transform"&gt;Why we log-transform&lt;/h2&gt;
&lt;p&gt;Big numbers are ugly to read (unless they&amp;rsquo;re in your bank account). They&amp;rsquo;re also a pain to interpret, and worse to compare — stock prices against inflation, house prices against rentals, that kind of thing. So data scientists, economists, and any data nerd reach for the &lt;strong&gt;log scale&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Variance shrinks, so heteroscedasticity stops being a fire.&lt;/li&gt;
&lt;li&gt;Coefficients in log–log or log–level models read directly as % changes.&lt;/li&gt;
&lt;li&gt;Optimizers tend to behave better on heavy-tailed targets.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If we do it, the LLM does it — which is what brought me here. Until here everything is fine, but then comes &lt;strong&gt;the catch&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="the-catch-you-cant-just-exponentiate-back"&gt;The catch: you can&amp;rsquo;t just exponentiate back&lt;/h2&gt;
&lt;p&gt;Once you fit a linear model on the log scale, you have a sample estimate of the conditional mean of $\ln Y$:&lt;/p&gt;
$$\widehat{\ln Y} = \hat{\beta}_0 + \hat{\beta}_1 X$$&lt;p&gt;which estimates the population quantity&lt;/p&gt;
$$E[\ln Y \mid X] = \beta_0 + \beta_1 X$$&lt;p&gt;The naive move — what almost everyone does — is to exponentiate it and call that your prediction of $Y$:&lt;/p&gt;
$$\hat{Y}_{\text{naive}} = e^{\widehat{\ln Y}} = e^{\hat{\beta}_0 + \hat{\beta}_1 X}$$&lt;p&gt;In code, that&amp;rsquo;s the two lines you&amp;rsquo;ve probably written a hundred times:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-python" data-lang="python"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;X&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="n"&gt;y_pred&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;np&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;predict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;X_new&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="c1"&gt;# ← the bias lives on this line&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;But this introduces bias, courtesy of &lt;strong&gt;Jensen&amp;rsquo;s inequality&lt;/strong&gt;. The exponential is strictly convex, so for any random variable&lt;/p&gt;
$$E[e^{g(X)}] \geq e^{E[g(X)]}$$&lt;p&gt;with strict inequality whenever there&amp;rsquo;s any real variation in $g(X)$. Applied here:&lt;/p&gt;
$$E[Y \mid X] = E[e^{\ln Y \mid X}] \;\geq\; e^{E[\ln Y \mid X]}$$&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;
&lt;img alt="Jensen&amp;rsquo;s inequality: the gap between $E[e^X]$ (green) and $e^{E[X]}$ (red) is the bias you inherit by exponentiating naively."
srcset="https://www.patricknasser.com.br/blog/bias-your-llm-forgets-when-you-log-transform/jensen_inequality_hu_66a1ade5860d879a.webp 320w, https://www.patricknasser.com.br/blog/bias-your-llm-forgets-when-you-log-transform/jensen_inequality_hu_27a9784ea975fa2e.webp 480w, https://www.patricknasser.com.br/blog/bias-your-llm-forgets-when-you-log-transform/jensen_inequality_hu_111c21d70feb9f4.webp 760w"
sizes="(max-width: 480px) 100vw, (max-width: 768px) 90vw, (max-width: 1024px) 80vw, 760px"
src="https://www.patricknasser.com.br/blog/bias-your-llm-forgets-when-you-log-transform/jensen_inequality_hu_66a1ade5860d879a.webp"
width="760"
height="451"
loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;In plain English: exponentiating the estimated mean of $\ln Y$ does &lt;strong&gt;not&lt;/strong&gt; give you the estimated mean of $Y$. It gives you a biased estimate that &lt;strong&gt;systematically underestimates&lt;/strong&gt; the true arithmetic mean and messes up predicted variance. The bias lives in the error term and it doesn&amp;rsquo;t go away with more data.&lt;/p&gt;
&lt;p&gt;I won&amp;rsquo;t go through the corrections here. There are several — &lt;strong&gt;Duan&amp;rsquo;s smearing&lt;/strong&gt; for the nonparametric route, the &lt;strong&gt;$e^{\hat\sigma^2/2}$ adjustment&lt;/strong&gt; if you&amp;rsquo;re willing to assume normal errors — none is perfect, and your favorite LLM can find them faster than I can summarize them.&lt;/p&gt;
&lt;h2 id="what-this-looks-like-with-an-llm"&gt;What this looks like with an LLM&lt;/h2&gt;
&lt;p&gt;The problem is: most people don&amp;rsquo;t apply any correction, so the LLM, dutifully following the corpus, doesn&amp;rsquo;t either — unless you tell it to.&lt;/p&gt;
&lt;p&gt;In every single place I&amp;rsquo;ve worked, I&amp;rsquo;ve found people doing the naive conversion without realizing there&amp;rsquo;s a bias. And every single time I asked an LLM to build a model where a log transform was obviously the right call, it did the transform — and then naively transformed the predictions back, with no mention of Jensen.&lt;/p&gt;
&lt;figure style="max-width: 480px; margin: 1.5rem auto; text-align: center;"&gt;
&lt;img src="printclaude1.png"
alt="The prompt: asking Claude to build a model for house prices from a few explanatory variables, with the transforms it would recommend."
style="width: 100%; height: auto;" /&gt;
&lt;figcaption style="font-size: 0.85em; color: var(--hb-color-foreground, #6b7280); margin-top: 0.5rem;"&gt;
&lt;strong&gt;The prompt&lt;/strong&gt; — asking Claude to build a model for house prices from a few explanatory variables, and to choose the appropriate transforms.
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;figure style="max-width: 480px; margin: 1.5rem auto; text-align: center;"&gt;
&lt;img src="printclaude2.png"
alt="The answer Claude produced in the same session — np.expm1 quietly bringing the prediction back to price space, with no correction for the Jensen bias."
style="width: 100%; height: auto;" /&gt;
&lt;figcaption style="font-size: 0.85em; color: var(--hb-color-foreground, #6b7280); margin-top: 0.5rem;"&gt;
&lt;strong&gt;The answer&lt;/strong&gt;, same session — &lt;code&gt;np.expm1&lt;/code&gt; quietly bringing the prediction back to price space, with no correction for the Jensen bias.
&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;h2 id="so-what-do-we-do"&gt;So what do we do?&lt;/h2&gt;
&lt;p&gt;I don&amp;rsquo;t think there&amp;rsquo;s a clean fix. This is an &lt;strong&gt;epistemic&lt;/strong&gt; problem about how we transmit knowledge and how AI reproduces it. The best lever we have is to write &lt;strong&gt;SKILL files&lt;/strong&gt; — context the model can read at task time — that bridge the domains the base model doesn&amp;rsquo;t know to consult on its own.&lt;/p&gt;
&lt;p&gt;As an open-source advocate I think this gets solved through community, not by labs alone. SKILL files are popping up in different repos every day. Use them. Enhance them. Make sure the AI you&amp;rsquo;re working with has the best context you can give it.&lt;/p&gt;
&lt;p&gt;Speeding up the easy stuff is revolutionary. But there&amp;rsquo;s still an opportunity to &lt;em&gt;close&lt;/em&gt; the knowledge–practice gap, not widen it — and that&amp;rsquo;s where the real social win is right now.&lt;/p&gt;</description></item><item><title>Como ler um número?</title><link>https://www.patricknasser.com.br/blog/como-ler-um-numero/</link><pubDate>Wed, 15 Jul 2020 00:00:00 +0000</pubDate><guid>https://www.patricknasser.com.br/blog/como-ler-um-numero/</guid><description>&lt;p&gt;Em 1998, a cidade do Vaticano registrou um taxa de homicídio de 256 mortes por 100.000 habitantes.&lt;/p&gt;
&lt;p&gt;Para se ter um comparativo, no mesmo ano no Brasil, um país violento, esta taxa foi de aproximadamente
.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;&lt;img src="https://media1.tenor.com/images/386e87a20317b5c10c1e071240cbe519/tenor.gif?itemid=14956212" alt="hannibal lecter" loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center style="font-size:15px"&gt; &lt;i&gt; "Não, não foi culpa desse Papa"&lt;/i&gt;&lt;/center&gt;
&lt;p&gt;Quem não percebeu o detalhe pode estar se perguntando nesse momento que tragédia ou atentado ocorreu na pequena Cidade-Estado para registrar essa mortalidade de guerra. Na verdade, ocorreu apenas um evento:
.&lt;/p&gt;
&lt;p&gt;A assustadora taxa de 256 por 100.000 foi alcançada porque o Vaticano possuía somente 782 moradores na época: 2/782 $\approx$ 256/100.000 habitantes.&lt;/p&gt;
&lt;h3 id="números-que-nos-confundem"&gt;Números que nos confundem&lt;/h3&gt;
&lt;p&gt;O Vaticano é um excelente exemplo para mostrarmos como é preciso ter cuidado com a interpretação de indicadores.&lt;/p&gt;
&lt;p&gt;De fato, enquanto a maioria dos países não possui nenhum Papa, o Vaticano sozinho tem a impressionante taxa de 2 Papas por quilômetro quadrado! Seu território é claro, é de menos de um quilômetro quadrado, mas se você for um político querendo criticar o Vaticano por ter Papas demais, poderia utilizar esse dado a seu favor sem estar mentindo em sentido estrito mas, ao mesmo tempo, estaria promovendo uma interpretação equivocada ou desinformada da realidade.&lt;/p&gt;
&lt;img src="https://i.imgflip.com/nmafg.jpg" style="zoom:50%;" /&gt;
&lt;center style="font-size:15px"&gt; &lt;i&gt; "Ou seriam 4 por km²?"&lt;/i&gt;&lt;/center&gt;
&lt;p&gt;O uso político dos números já é antigo. Interpretações incorretas ou desinformativas sobre os números do cotidiano são espalhadas a todo o momento, seja por ingenuidade, desconhecimento ou desonestidade.&lt;/p&gt;
&lt;p&gt;Há uma infinidade de exemplos que descrevem o uso e a construção de narrativas políticas com o números por distopias autoritárias. Na literatura talvez a aparição mais emblemática se dê pela &amp;ldquo;propaganda do progresso&amp;rdquo; criada pelos porcos para enaltecer a fazenda em
, de George Orwell. No mundo real, o mesmo tipo de propaganda pode ser muito bem ilustrado pela extensiva e protocolar divulgação dos aumentos salariais de mais de 500% entre 1928 e 1940 pela comunicação soviética, acompanhada, é claro, da omissão das estatísticas de aumento nos custos de vida
.&lt;/p&gt;
&lt;p&gt;Apesar de diferenciados pela maior transparência, essas mesmas narrativas sustentadas por números estão presentes em praticamente todos os discursos do debate democrático, e são consideradas uma forma convincente de argumentação, pois números têm o peso de fatos
, transmitindo precisão e convencimento em arguições de maneira geral.&lt;/p&gt;
&lt;p&gt;O problema é que, mesmo em democracias, nem sempre temos segurança sobre a confiabilidade da fonte dos números, e mesmo quando este problema não existe, estamos sujeitos à interpretação de quem nos apresenta o dado. Uma mesma fonte de informação de estatísticas pode muito bem possibilitar diferentes interpretações das mesmas
.&lt;/p&gt;
&lt;p&gt;Quem não se lembra da polêmica em março deste ano sobre o boletim publicado pelo Ministério da Economia separando
? Mesmo com especialistas divergindo sobre o uso da metodologia, a conta em si não foi feita com números fabricados: os números estão lá sendo apresentados de forma a corroborar uma narrativa.&lt;/p&gt;
&lt;p&gt;Mas como saber se essa narrativa faz sentido? Essa é a pergunta relevante para o debate público que pode ou não ter uma resposta clara.&lt;/p&gt;
&lt;p&gt;É em cima disto que espero guiar o resto do texto. Estamos em uma época delicada em que crise econômica, crise sanitária e eclosão social se apresentam ao mesmo tempo em um efervescente debate público, e por essa razão vamos falar aqui sobre algumas formas de interpretar a leitura dos números que constituem as narrativas que nos são apresentadas todos os dias.&lt;/p&gt;
&lt;p&gt;O texto a seguir é a primeira parte de uma pequena série que pretendo escrever.&lt;/p&gt;
&lt;h3 id="indicadores-e-a-pandemia"&gt;Indicadores e a pandemia&lt;/h3&gt;
&lt;p&gt;Indicadores são ferramentas de análise úteis para que possamos agregar e tentar compreender dados que refletem alguma situação social, mas ao mesmo tempo podem ser de difícil interpretação.&lt;/p&gt;
&lt;p&gt;Entre 2000 e 2018 o Brasil conseguiu reduzir a
(mortes de crianças até 27 dias após nascerem a cada 1.000 nascimentos) em 56%. Para se ter uma comparação, a Noruega, o país conhecido por ter o
, performou para o mesmo período uma taxa de 44%. Então, não só conseguimos atingir um patamar de redução da mortalidade neonatal elevadíssimo, como também superamos em performance um país desenvolvido!&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;gráficos: coloque o celular de lado para melhorar a visualização e interagir
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta charset="utf-8" /&gt;&lt;/head&gt;
&lt;body&gt;
&lt;div&gt;
&lt;script type="text/javascript"&gt;window.PlotlyConfig = {MathJaxConfig: 'local'};&lt;/script&gt;
&lt;script src="https://cdn.plot.ly/plotly-latest.min.js"&gt;&lt;/script&gt;
&lt;div id="9cae3382-837b-421c-a271-32835dfb07f0" class="plotly-graph-div" style="height:100%; width:100%;"&gt;&lt;/div&gt;
&lt;script type="text/javascript"&gt;
window.PLOTLYENV=window.PLOTLYENV || {};
if (document.getElementById("9cae3382-837b-421c-a271-32835dfb07f0")) {
Plotly.newPlot(
'9cae3382-837b-421c-a271-32835dfb07f0',
[{"alignmentgroup": "True", "hovertemplate": "Country=%{x}&lt;br&gt;Redu\u00e7\u00e3o % 2000-2018=%{y}&lt;extra&gt;&lt;/extra&gt;", "legendgroup": "", "marker": {"color": "rgb(158,202,225)", "line": {"color": "rgb(8,48,107)", "width": 1.5}}, "name": "", "offsetgroup": "", "opacity": 0.6, "orientation": "v", "showlegend": false, "textposition": "auto", "type": "bar", "x": ["Brazil", "Norway"], "xaxis": "x", "y": [0.5573770491803279, 0.44444444444444453], "yaxis": "y"}],
{"barmode": "relative", "legend": {"tracegroupgap": 0}, "margin": {"t": 60}, "template": {"data": {"bar": [{"error_x": {"color": "#2a3f5f"}, "error_y": {"color": "#2a3f5f"}, "marker": {"line": {"color": "#E5ECF6", "width": 0.5}}, "type": "bar"}], "barpolar": [{"marker": {"line": {"color": "#E5ECF6", "width": 0.5}}, "type": "barpolar"}], "carpet": [{"aaxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "baxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "type": "carpet"}], "choropleth": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "choropleth"}], "contour": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "contour"}], "contourcarpet": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "contourcarpet"}], "heatmap": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "heatmap"}], "heatmapgl": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "heatmapgl"}], "histogram": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "histogram"}], "histogram2d": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "histogram2d"}], "histogram2dcontour": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "histogram2dcontour"}], "mesh3d": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "mesh3d"}], "parcoords": [{"line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "parcoords"}], "pie": [{"automargin": true, "type": "pie"}], "scatter": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatter"}], "scatter3d": [{"line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatter3d"}], "scattercarpet": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattercarpet"}], "scattergeo": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattergeo"}], "scattergl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattergl"}], "scattermapbox": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattermapbox"}], "scatterpolar": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolar"}], "scatterpolargl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolargl"}], "scatterternary": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"title": {"font": {"family": "Rockwell", "size": 24}}}}, "title": {"text": "Redu\u00e7\u00e3o percentual da mortalidade neonatal entre 2000 e 2018"}, "xaxis": {"anchor": "y", "domain": [0.0, 1.0], "title": {"text": "Country"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "tickformat": "%", "title": {"text": "Redu\u00e7\u00e3o % 2000-2018"}}},
{"responsive": true}
)
};
&lt;/script&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;p&gt;Incrível, não? Talvez nem tanto. A Noruega possuía em 2000 uma taxa de 2,7 mortos por 1.000 nascidos vivos. Em 2018 essa taxa era de 1,5, colocando o país em 6º lugar no ranking de menor mortalidade, não tão distante dos primeiros colocados, Japão e São Marino, com o patamar de 0,9.&lt;/p&gt;
&lt;p&gt;Ao mesmo tempo, o Brasil, que apresentava uma taxa de 18,3 recém nascidos mortos em 2000, reduziu-a a 8,1 em 2018. Embora expressiva, a redução coloca o país na 62ª posição do ranking, perto de Barbados e das Ilhas Salomão.&lt;/p&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta charset="utf-8" /&gt;&lt;/head&gt;
&lt;body&gt;
&lt;div&gt;
&lt;script type="text/javascript"&gt;window.PlotlyConfig = {MathJaxConfig: 'local'};&lt;/script&gt;
&lt;script src="https://cdn.plot.ly/plotly-latest.min.js"&gt;&lt;/script&gt;
&lt;div id="593f20c9-7533-4411-9637-079da5fe43a1" class="plotly-graph-div" style="height:100%; width:100%;"&gt;&lt;/div&gt;
&lt;script type="text/javascript"&gt;
window.PLOTLYENV=window.PLOTLYENV || {};
if (document.getElementById("593f20c9-7533-4411-9637-079da5fe43a1")) {
Plotly.newPlot(
'593f20c9-7533-4411-9637-079da5fe43a1',
[{"hovertemplate": "%{y:.1%}", "marker": {"line": {"width": 1}}, "name": "Brasil", "type": "scatter", "x": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018], "y": [0.183, 0.17300000000000001, 0.16399999999999998, 0.156, 0.147, 0.139, 0.132, 0.126, 0.121, 0.11599999999999999, 0.11199999999999999, 0.107, 0.10300000000000001, 0.1, 0.09699999999999999, 0.094, 0.096, 0.085, 0.081]}, {"hovertemplate": "%{y:.1%}", "marker": {"line": {"width": 1}}, "name": "Noruega", "type": "scatter", "x": [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018], "y": [0.027000000000000003, 0.026000000000000002, 0.025, 0.024, 0.024, 0.023, 0.022000000000000002, 0.021, 0.02, 0.019, 0.019, 0.018000000000000002, 0.017, 0.017, 0.017, 0.016, 0.016, 0.015, 0.015]}],
{"legend": {"orientation": "h", "x": 0.5, "xanchor": "center", "y": 1.1, "yanchor": "top"}, "template": {"data": {"bar": [{"error_x": {"color": "#2a3f5f"}, "error_y": {"color": "#2a3f5f"}, "marker": {"line": {"color": "#E5ECF6", "width": 0.5}}, "type": "bar"}], "barpolar": [{"marker": {"line": {"color": "#E5ECF6", "width": 0.5}}, "type": "barpolar"}], "carpet": [{"aaxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "baxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "type": "carpet"}], "choropleth": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "choropleth"}], "contour": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "contour"}], "contourcarpet": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "contourcarpet"}], "heatmap": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "heatmap"}], "heatmapgl": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "heatmapgl"}], "histogram": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "histogram"}], "histogram2d": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "histogram2d"}], "histogram2dcontour": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "histogram2dcontour"}], "mesh3d": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "mesh3d"}], "parcoords": [{"line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "parcoords"}], "pie": [{"automargin": true, "type": "pie"}], "scatter": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatter"}], "scatter3d": [{"line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatter3d"}], "scattercarpet": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattercarpet"}], "scattergeo": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattergeo"}], "scattergl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattergl"}], "scattermapbox": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattermapbox"}], "scatterpolar": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolar"}], "scatterpolargl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolargl"}], "scatterternary": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"title": {"font": {"family": "Rockwell", "size": 24}}}}, "title": {"text": "Mortalidade neonatal por 1.000 nascidos entre 2000 e 2018"}, "yaxis": {"tickformat": "%"}},
{"responsive": true}
)
};
&lt;/script&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;p&gt;Esse caso ilustra que a interpretação da realidade por meio dos números/indicadores está longe de ser trivial. É muito difícil para um país com mortalidade muito baixa, como a Noruega, reduzir ainda mais este indicador; afinal, algum grau de mortes sempre será esperado. Já para o Brasil, o resultado pode ser considerado ainda mundo longe do ideal, uma vez que a redução da mortalidade neonatal não está acompanhando a velocidade da tecnologia disponível
.&lt;/p&gt;
&lt;p&gt;Isso significa que indicadores são ferramentas ruins? É claro que não! Indicadores são essenciais por conta de sua comparabilidade. Comparar indicadores nos permite avaliar desempenho e estabelecer metas, pois colocamos um mesmo fenômeno (no caso anterior, mortes neonatais) sobre uma mesma régua (mortos a cada 1.000 nascidos com até 27 dias) para diferentes países.&lt;/p&gt;
&lt;p&gt;Outra analogia possível para a comparação de indicadores é enxergá-los como fotografias de cenários diferentes feitas por uma mesma câmera. Dessa forma, analisar o comportamento de um indicador no tempo seria como ver uma foto depois da outra de maneira a construir um filme do fenômeno que queremos analisar.&lt;/p&gt;
&lt;p&gt;Mas é verdade que uma foto ou filme tem seus limites. Por mais que seja tirada por uma mesma câmera, não podemos esquecer que fotografar um país nórdico é muito diferente de fotografar um país latino tropical. Saber que foram assassinadas 272 pessoas por 100.000 habitantes no Vaticano em 1998 é uma fotografia interessante, porém pouco elucidativa se desconsiderarmos quantas pessoas tiveram que morrer para que esta marca fosse atingida.&lt;/p&gt;
&lt;p&gt;Por conta disso, uma análise de como funciona a formação dos indicadores é sempre importante antes de sua interpretação para que não acabemos em discursos que desvirtuem a compreensão de um fenômeno.&lt;/p&gt;
&lt;p&gt;
&lt;figure &gt;
&lt;div class="flex justify-center "&gt;
&lt;div class="w-full" &gt;&lt;img src="https://media.tenor.com/images/b65206600a139020d3046b7da90d2a62/tenor.gif" alt="faz sentido" loading="lazy" data-zoomable /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;As estatísticas oficiais do coronavirus no Brasil são, infelizmente, um exemplo ótimo de como as fotografias podem nos confundir. Frente a 65.487 mortes confirmadas por coronavirus (
), por exemplo, foram muitas as narrativas falhas que se construíram, principalmente, para minimizar a gravidade da situação sanitária.&lt;/p&gt;
&lt;p&gt;Um exemplo clássico está na minimização da pandemia com narrativas fracas, como &amp;ldquo;a pandemia no Brasil não está tão grave como em outros países, pois temos uma proporção de mortes por milhão baixa&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Como toda a narrativa ingênua ou desinformativa, essa interpretação parte de um fato real - que o Brasil possui uma taxa de mortos por milhão, em geral, bem menor do que os países europeus - e chega a uma conclusão errada: a de que, por conta disso, a pandemia estaria sendo tranquila no Brasil.&lt;/p&gt;
&lt;img src="https://media1.tenor.com/images/e3103c9605eb280b0b16c3246bc066a7/tenor.gif?itemid=11599212" style="zoom:80%;" /&gt;
&lt;p&gt;O equívoco desse raciocínio tem raízes semelhantes a ambos os problemas com os números do Vaticano ou da mortalidade neonatal: uma má interpretação dos números que formam o indicador aliado à falta de conhecimento sobre o processo que esses dados nos descrevem.&lt;/p&gt;
&lt;p&gt;Vamos fazer um experimento mental aqui sobre como funciona a disseminação de uma doença. Sem mecanismos de controle, espera-se que uma pessoa infectada com o coronavirus espalhe o mesmo, em média,
pessoas. Chamamos este número de &lt;strong&gt;taxa de reprodução&lt;/strong&gt; da doença que proporciona o chamado &lt;strong&gt;crescimento exponencial&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Para entender o conceito de &lt;strong&gt;crescimento exponencial&lt;/strong&gt; imagine que em um país fictício uma pessoa traga o vírus que contraiu em alguma viagem para o exterior. Essa pessoa, para facilitar, passará o vírus para mais 3 pessoas, totalizando 4 infectados. Cada uma dessa pessoas passarão para mais três, infectando assim mais nove já que 3x3 = 9 = 3². Em números, temos que a evolução dos novos infectados que segue uma régua parecida com $1, 3, 9, 27, 81, 243, 729...$ ou de forma equivalente $3^0,3^1,3^2,3^3,3^4,3^5,3^6...$ .&lt;/p&gt;
&lt;p&gt;Se quisermos ver o acumulado dos que já foram infectados podemos fazer $1, 4, 13, 40...$ que equivale a $1, 1+3, 1+3+9, 1+3+9+27...$ ou $3^0, 3^0+3^1, 3^0+3^1+3^2, 3^0+3^1+3^2...$ .&lt;/p&gt;
&lt;p&gt;Suponhamos agora, para facilitar o exemplo, que as infecções sejam diárias (no &amp;ldquo;mundo real&amp;rdquo; existe uma janela entre quando a pessoa é infectada e quando passa a transmitir o vírus) e que uma parcela fixa da população morra ao ser infectada. Imagine também que 1% dos infectados em média venham a óbito.&lt;/p&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta charset="utf-8" /&gt;&lt;/head&gt;
&lt;body&gt;
&lt;div&gt;
&lt;script type="text/javascript"&gt;window.PlotlyConfig = {MathJaxConfig: 'local'};&lt;/script&gt;
&lt;script src="https://cdn.plot.ly/plotly-latest.min.js"&gt;&lt;/script&gt;
&lt;div id="4b6fe844-23a6-41af-8d12-55da62c9c62f" class="plotly-graph-div" style="height:100%; width:100%;"&gt;&lt;/div&gt;
&lt;script type="text/javascript"&gt;
window.PLOTLYENV=window.PLOTLYENV || {};
if (document.getElementById("4b6fe844-23a6-41af-8d12-55da62c9c62f")) {
Plotly.newPlot(
'4b6fe844-23a6-41af-8d12-55da62c9c62f',
[{"marker": {"line": {"width": 1}}, "name": "Novos infectados", "type": "scatter", "x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "y": [1, 3, 9, 27, 81, 243, 729, 2187, 6561, 19683, 59049, 177147, 531441, 1594323, 4782969]}, {"marker": {"line": {"width": 1}}, "name": "J\u00e1 infectados", "type": "scatter", "x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "y": [1, 4, 13, 40, 121, 364, 1093, 3280, 9841, 29524, 88573, 265720, 797161, 2391484, 7174453]}],
{"legend": {"orientation": "h", "x": 0.5, "xanchor": "center", "y": 1.1, "yanchor": "top"}, "template": {"data": {"bar": [{"error_x": {"color": "#2a3f5f"}, "error_y": {"color": "#2a3f5f"}, "marker": {"line": {"color": "#E5ECF6", "width": 0.5}}, "type": "bar"}], "barpolar": [{"marker": {"line": {"color": "#E5ECF6", "width": 0.5}}, "type": "barpolar"}], "carpet": [{"aaxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "baxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "type": "carpet"}], "choropleth": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "choropleth"}], "contour": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "contour"}], "contourcarpet": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "contourcarpet"}], "heatmap": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "heatmap"}], "heatmapgl": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "heatmapgl"}], "histogram": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "histogram"}], "histogram2d": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "histogram2d"}], "histogram2dcontour": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "histogram2dcontour"}], "mesh3d": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "mesh3d"}], "parcoords": [{"line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "parcoords"}], "pie": [{"automargin": true, "type": "pie"}], "scatter": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatter"}], "scatter3d": [{"line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatter3d"}], "scattercarpet": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattercarpet"}], "scattergeo": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattergeo"}], "scattergl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattergl"}], "scattermapbox": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattermapbox"}], "scatterpolar": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolar"}], "scatterpolargl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolargl"}], "scatterternary": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"title": {"font": {"family": "Rockwell", "size": 24}}}}, "title": {"text": "Novos infectados e j\u00e1 infectados com tx. de reprodu\u00e7\u00e3o de 3"}},
{"responsive": true}
)
};
&lt;/script&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta charset="utf-8" /&gt;&lt;/head&gt;
&lt;body&gt;
&lt;div&gt;
&lt;script type="text/javascript"&gt;window.PlotlyConfig = {MathJaxConfig: 'local'};&lt;/script&gt;
&lt;script src="https://cdn.plot.ly/plotly-latest.min.js"&gt;&lt;/script&gt;
&lt;div id="fbddd0be-88d8-4e92-8181-81f1f56f1494" class="plotly-graph-div" style="height:100%; width:100%;"&gt;&lt;/div&gt;
&lt;script type="text/javascript"&gt;
window.PLOTLYENV=window.PLOTLYENV || {};
if (document.getElementById("fbddd0be-88d8-4e92-8181-81f1f56f1494")) {
Plotly.newPlot(
'fbddd0be-88d8-4e92-8181-81f1f56f1494',
[{"marker": {"line": {"width": 1}}, "name": "Novos \u00f3bitos", "type": "scatter", "x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "y": [0.01, 0.03, 0.09, 0.27, 0.81, 2.43, 7.29, 21.87, 65.61, 196.83, 590.49, 1771.47, 5314.41, 15943.23, 47829.69]}, {"marker": {"line": {"width": 1}}, "name": "\u00f3bitos acumulados", "type": "scatter", "x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "y": [0.01, 0.04, 0.13, 0.4, 1.21, 3.64, 10.93, 32.8, 98.41, 295.24, 885.73, 2657.2, 7971.61, 23914.84, 71744.53]}],
{"legend": {"orientation": "h", "x": 0.5, "xanchor": "center", "y": 1.1, "yanchor": "top"}, "template": {"data": {"bar": [{"error_x": {"color": "#2a3f5f"}, "error_y": {"color": "#2a3f5f"}, "marker": {"line": {"color": "#E5ECF6", "width": 0.5}}, "type": "bar"}], "barpolar": [{"marker": {"line": {"color": "#E5ECF6", "width": 0.5}}, "type": "barpolar"}], "carpet": [{"aaxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "baxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "type": "carpet"}], "choropleth": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "choropleth"}], "contour": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "contour"}], "contourcarpet": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "contourcarpet"}], "heatmap": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "heatmap"}], "heatmapgl": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "heatmapgl"}], "histogram": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "histogram"}], "histogram2d": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "histogram2d"}], "histogram2dcontour": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "histogram2dcontour"}], "mesh3d": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "mesh3d"}], "parcoords": [{"line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "parcoords"}], "pie": [{"automargin": true, "type": "pie"}], "scatter": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatter"}], "scatter3d": [{"line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatter3d"}], "scattercarpet": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattercarpet"}], "scattergeo": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattergeo"}], "scattergl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattergl"}], "scattermapbox": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattermapbox"}], "scatterpolar": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolar"}], "scatterpolargl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolargl"}], "scatterternary": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"title": {"font": {"family": "Rockwell", "size": 24}}}}, "title": {"text": "Novos \u00f3bitos e \u00f3bitos acumulados para 1% de mortalidade"}},
{"responsive": true}
)
};
&lt;/script&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;p&gt;Imaginemos agora que estamos olhando três países com &lt;strong&gt;populações totais diferentes&lt;/strong&gt;, mas que &lt;strong&gt;todo o resto seja igual&lt;/strong&gt;: como composição da população, riqueza, problemas sociais, e, principalmente, que um viajante trouxe o vírus no mesmo dia em cada um desses lugares.&lt;/p&gt;
&lt;p&gt;A população do &lt;strong&gt;País A&lt;/strong&gt; é de 100 milhões de pessoas, a do &lt;strong&gt;País B&lt;/strong&gt;, 200 milhões e, por fim, do &lt;strong&gt;País C&lt;/strong&gt;,800 milhões.&lt;/p&gt;
&lt;p&gt;A conta do indicador de óbitos por milhão para cada instante no tempo é feita da seguinte forma:&lt;/p&gt;
&lt;p align=center&gt;$\frac{ÓbitosAcumulados}{PopulaçãoTotal}. 1.000.000$&lt;/p&gt;
&lt;html&gt;
&lt;head&gt;&lt;meta charset="utf-8" /&gt;&lt;/head&gt;
&lt;body&gt;
&lt;div&gt;
&lt;script type="text/javascript"&gt;window.PlotlyConfig = {MathJaxConfig: 'local'};&lt;/script&gt;
&lt;script src="https://cdn.plot.ly/plotly-latest.min.js"&gt;&lt;/script&gt;
&lt;div id="99792270-7286-44e6-ae69-99a16ca7569f" class="plotly-graph-div" style="height:100%; width:100%;"&gt;&lt;/div&gt;
&lt;script type="text/javascript"&gt;
window.PLOTLYENV=window.PLOTLYENV || {};
if (document.getElementById("99792270-7286-44e6-ae69-99a16ca7569f")) {
Plotly.newPlot(
'99792270-7286-44e6-ae69-99a16ca7569f',
[{"hovertemplate": "Populata\u00e7\u00e3o: 100M, \u00d3bitos PM: %{y:.1f}", "marker": {"line": {"width": 1}}, "name": "Pa\u00eds A", "type": "scatter", "x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "y": [0.0001, 0.0004, 0.0013, 0.004, 0.0121, 0.0364, 0.1093, 0.32799999999999996, 0.9841, 2.9524, 8.8573, 26.572, 79.7161, 239.1484, 717.4453]}, {"hovertemplate": "Populata\u00e7\u00e3o: 200M, \u00d3bitos PM: %{y:.1f}", "marker": {"line": {"width": 1}}, "name": "Pa\u00eds B", "type": "scatter", "x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "y": [5e-05, 0.0002, 0.00065, 0.002, 0.00605, 0.0182, 0.05465, 0.16399999999999998, 0.49205, 1.4762, 4.42865, 13.286, 39.85805, 119.5742, 358.72265]}, {"hovertemplate": "Populata\u00e7\u00e3o: 800M, \u00d3bitos PM: %{y:.1f}", "marker": {"line": {"width": 1}}, "name": "Pa\u00eds C", "type": "scatter", "x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "y": [1.25e-05, 5e-05, 0.0001625, 0.0005, 0.0015125, 0.00455, 0.0136625, 0.040999999999999995, 0.1230125, 0.36905, 1.1071625, 3.3215, 9.9645125, 29.89355, 89.6806625]}],
{"legend": {"orientation": "h", "x": 0.5, "xanchor": "center", "y": 1.1, "yanchor": "top"}, "template": {"data": {"bar": [{"error_x": {"color": "#2a3f5f"}, "error_y": {"color": "#2a3f5f"}, "marker": {"line": {"color": "#E5ECF6", "width": 0.5}}, "type": "bar"}], "barpolar": [{"marker": {"line": {"color": "#E5ECF6", "width": 0.5}}, "type": "barpolar"}], "carpet": [{"aaxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "baxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "type": "carpet"}], "choropleth": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "choropleth"}], "contour": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "contour"}], "contourcarpet": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "contourcarpet"}], "heatmap": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "heatmap"}], "heatmapgl": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "heatmapgl"}], "histogram": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "histogram"}], "histogram2d": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "histogram2d"}], "histogram2dcontour": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "histogram2dcontour"}], "mesh3d": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "type": "mesh3d"}], "parcoords": [{"line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "parcoords"}], "pie": [{"automargin": true, "type": "pie"}], "scatter": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatter"}], "scatter3d": [{"line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatter3d"}], "scattercarpet": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattercarpet"}], "scattergeo": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattergeo"}], "scattergl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattergl"}], "scattermapbox": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scattermapbox"}], "scatterpolar": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolar"}], "scatterpolargl": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterpolargl"}], "scatterternary": [{"marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "type": "scatterternary"}], "surface": [{"colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "type": "surface"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}]}, "layout": {"title": {"font": {"family": "Rockwell", "size": 24}}}}, "title": {"text": "\u00d3bitos por milh\u00e3o de habitantes"}},
{"responsive": true}
)
};
&lt;/script&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;p&gt;Ou seja, sabemos que o indicador para o &lt;strong&gt;País A&lt;/strong&gt; será sempre $\frac{ÓbitosAcumulados}{100}$ o do &lt;strong&gt;País B&lt;/strong&gt; $\frac{ÓbitosAcumulados}{200}$ e o &lt;strong&gt;País C&lt;/strong&gt; $\frac{ÓbitosAcumulados}{800}$. Isso significa que, como os óbitos são iguais em nosso exemplo, os &lt;strong&gt;Países B e C&lt;/strong&gt; terão uma taxa respectivamente sempre 2x e 8x menor do que a do &lt;strong&gt;País A&lt;/strong&gt; &lt;strong&gt;simplesmente porque suas populações são maiores&lt;/strong&gt; apesar de terem a mesma regra de dispersão do vírus e, consequentemente, o mesmo número de óbitos!&lt;/p&gt;
&lt;p&gt;O que isso nos diz sobre as taxas de morte por milhão na pandemia? Que são inúteis? De forma alguma! São uma forma de indicador importante para sabermos o grau de devastação como proporção da população do país, mas o exercício acima demonstra que não nos diz necessariamente sobre o desempenho do controle da disseminação da doença, uma vez que em todos os países de nosso exemplo foi a óbito o mesmo número de indivíduos.&lt;/p&gt;
&lt;p&gt;De fato, o esforço das medidas de contenção na pandemia são para reduzir a taxa de reprodutibilidade do vírus e frear a velocidade de disseminação da doença. Medidas de distanciamento social, por exemplo, buscam fazer com que um infectado atinja menos pessoas do que atingiria em média sem essas mesmas medidas. Para frear o crescimento exponencial, uma política eficiente de saúde teria de conseguir baixar essa taxa para um patamar inferior a 1, uma vez que, ao multiplicarmos um número menor que um e maior que zero por si a cada rodada, sempre obteremos um valor inferior ao da rodada anterior .&lt;/p&gt;
&lt;h3 id="referências"&gt;Referências&lt;/h3&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;</description></item></channel></rss>