Skip to main content
added 209 characters in body
Source Link

Here $x$ is the number of deaths, $n$ is the total number of people infected, and $p$ is the mortality rate, or the probability of dying given that you have the disease. When we say something is distributed according to a binomial distribution, we mean that the observed counts $x$ are the result of $n$ independent trials, each with probability of "success" (in this case, death) $p$. These are usually termed "Bernoulli trials".

We can now examine the likelihood of $p$ given $x$ and $n$ -- i.e., how likely it would be to see the data we have observed, given different values of $p$. Imagine we had 100 cases, 50 of which resulted in deaths:

This shows that a point estimate (the maximum likelihood estimate) would be 0.5, which of course makes sense. Something important to consider here is the amount of data we have observed. Since we have a good amount of observations, the likelihood is fairly narrow. If we have less data, the likelihoodThis means that there is much broadera relatively small range of values for $p$ for which the data we observed would be likely to occur.

Now, imagine if we had only 10 cases, 5 of which resulted in deaths:

When we don't have much information, the likelihood is quite broad, indicating that the data would be fairly likely underfor a wide range of different values for $p$.

It can be helpful in cases like this to incorporate a prior, or how likely we think differentdifferent parameter values are, based on our existing knowledge. For example, imagine that we knew that the distribution of mortality rates across all known human diseases looked something like this:

This is a Beta prior with $\alpha=32$ and $\beta=64$, i.e., $ p \sim \text{Beta}(32, 64)$. We might want to use this prior information to guide our inferences about the mortality rate of a new disease for which we have very little information. We can combine this prior information with the likelihoods we've already plotted. If you want details about how this is done, one great starting point is this blog by David Robinson. Basically, the posterior distribution over our parameters is a Beta distribution. For parameters we take the $\alpha$ of our prior and add $x$, and take the $\beta$ of our prior and add $n-x$.

Here $x$ is the number of deaths, $n$ is the total number of people infected, and $p$ is the mortality rate, or the probability of dying given that you have the disease. When we say something is distributed according to a binomial distribution, we mean that the observed counts $x$ are the result of $n$ trials, with probability of "success" (in this case, death) $p$. These are usually termed "Bernoulli trials".

We can now examine the likelihood of $p$ given $x$ and $n$ -- i.e., how likely it would be to see the data we have observed, given different values of $p$.

This shows that a point estimate (the maximum likelihood estimate) would be 0.5, which of course makes sense. Something important to consider here is the amount of data we have observed. Since we have a good amount of observations, the likelihood is fairly narrow. If we have less data, the likelihood is much broader.

When we don't have much information, the likelihood is quite broad, indicating that the data would be fairly likely under a range of different values for $p$.

It can be helpful in cases like this to incorporate a prior, or how likely we think different parameter values are, based on our existing knowledge. For example, imagine that we knew that the distribution of mortality rates across all known human diseases looked something like this:

This is a Beta prior with $\alpha=32$ and $\beta=64$, i.e., $ p \sim \text{Beta}(32, 64)$ We might want to use this prior information to guide our inferences about the mortality rate of a new disease for which we have very little information. We can combine this prior information with the likelihoods we've already plotted. If you want details about how this is done, one great starting point is this blog by David Robinson. Basically, the posterior distribution over our parameters is a Beta distribution. For parameters we take the $\alpha$ of our prior and add $x$, and take the $\beta$ of our prior and add $n-x$.

Here $x$ is the number of deaths, $n$ is the total number of people infected, and $p$ is the mortality rate, or the probability of dying given that you have the disease. When we say something is distributed according to a binomial distribution, we mean that the observed counts $x$ are the result of $n$ independent trials, each with probability of "success" (in this case, death) $p$. These are usually termed "Bernoulli trials".

We can now examine the likelihood of $p$ given $x$ and $n$ -- i.e., how likely it would be to see the data we have observed, given different values of $p$. Imagine we had 100 cases, 50 of which resulted in deaths:

This shows that a point estimate (the maximum likelihood estimate) would be 0.5, which of course makes sense. Something important to consider here is the amount of data we have observed. Since we have a good amount of observations, the likelihood is fairly narrow. This means that there is a relatively small range of values for $p$ for which the data we observed would be likely to occur.

Now, imagine if we had only 10 cases, 5 of which resulted in deaths:

When we don't have much information, the likelihood is quite broad, indicating that the data would be fairly likely for a wide range of values for $p$.

It can be helpful in cases like this to incorporate a prior, or how likely we think different parameter values are, based on our existing knowledge. For example, imagine that we knew that the distribution of mortality rates across all known human diseases looked something like this:

This is a Beta prior with $\alpha=32$ and $\beta=64$, i.e., $ p \sim \text{Beta}(32, 64)$. We might want to use this prior information to guide our inferences about the mortality rate of a new disease for which we have very little information. We can combine this prior information with the likelihoods we've already plotted. If you want details about how this is done, one great starting point is this blog by David Robinson. Basically, the posterior distribution over our parameters is a Beta distribution. For parameters we take the $\alpha$ of our prior and add $x$, and take the $\beta$ of our prior and add $n-x$.

added 66 characters in body
Source Link

Here $x$ is the number of deaths, $n$ is the total number of people infected, and $p$ is the mortality rate, or the probability of dying given that you have the disease. When we say something is distributed according to a binomial distribution, we mean that the observed counts $x$ are the result of $n$ trials, with probability of "success" (in this case, death) $p$. These are usually termed "Bernoulli trials".

Here $x$ is the number of deaths, $n$ is the total number of people infected, and $p$ is the mortality. When we say something is distributed according to a binomial distribution, we mean that the observed counts $x$ are the result of $n$ trials, with probability of "success" (in this case, death) $p$. These are usually termed "Bernoulli trials".

Here $x$ is the number of deaths, $n$ is the total number of people infected, and $p$ is the mortality rate, or the probability of dying given that you have the disease. When we say something is distributed according to a binomial distribution, we mean that the observed counts $x$ are the result of $n$ trials, with probability of "success" (in this case, death) $p$. These are usually termed "Bernoulli trials".

added 357 characters in body
Source Link

Here $x$ is the number of deaths, $n$ is the total number of people infected, and $p$ is the mortality. When we say something is distributed according to a binomial distribution, we mean that the observed counts $x$ are the result of $n$ trials, with probability of "success" (in this case, death) $p$. These are usually termed "Bernoulli trials".

We can now examine the likelihood of $p$ given (i$x$ and $n$ -- i.e., how likely it would be to see the data we have observed, given different values of $p$).

Thus, whenWhen we don't have much information about, the likelihood is quite broad, indicating that the data would be fairly likely under a range of different values for $p$.

It can be helpful in cases like this to incorporate a prior, or how likely we think different parameter values are, based on our existing knowledge. For example, imagine that we knew that the distribution of mortality rates across all known human diseases looked something like this:

This is a Beta prior with $\alpha=32$ and $\beta=64$, i.e., $ p \sim \text{Beta}(32, 64)$ We might want to use this prior information to guide our inferences about the mortality rate of a new disease for which we have very little information. We can combine this prior information with the likelihoods we've already plotted. If you want details about how this is done, one great starting point is this blog by David Robinson. Basically, the posterior distribution over our parameters is a Beta distribution. For parameters we take the $\alpha$ of our prior and add $x$, and take the $\beta$ of our prior and add $n-x$.

When we have very little data, this prior information really shrinks our estimates towards what we believe is a reasonable estimate of mortality, given what we've observed in the past about other diseases.

You can continually update this posterior distribution as new data comes in by adding deaths to the $\alpha$ parameter and survivals to the $\beta$ parameter of the Beta distribution.

Here $x$ is the number of deaths, $n$ is the total number of people infected, and $p$ is the mortality. We can now examine the likelihood of $p$ (i.e., how likely it would be to see the data we have observed, given different values of $p$).

Thus, when we don't have much information about, the likelihood is quite broad, indicating that the data would be fairly likely under a range of different values for $p$.

It can be helpful in cases like this to incorporate a prior. For example, imagine that we knew that the distribution of mortality rates across all diseases looked something like this:

This is a Beta prior with $\alpha=32$ and $\beta=64$, i.e., $ p \sim \text{Beta}(32, 64)$ We might want to use this prior information to guide our inferences about the mortality rate of a new disease for which we have very little information. We can combine this prior information with the likelihoods we've already plotted. If you want details about how this is done, one great starting point is this blog by David Robinson.

When we have very little data, this prior information really shrinks our estimates towards what we believe is a reasonable estimate of mortality, given what we've observed in the past about other diseases.

Here $x$ is the number of deaths, $n$ is the total number of people infected, and $p$ is the mortality. When we say something is distributed according to a binomial distribution, we mean that the observed counts $x$ are the result of $n$ trials, with probability of "success" (in this case, death) $p$. These are usually termed "Bernoulli trials".

We can now examine the likelihood of $p$ given $x$ and $n$ -- i.e., how likely it would be to see the data we have observed, given different values of $p$.

When we don't have much information, the likelihood is quite broad, indicating that the data would be fairly likely under a range of different values for $p$.

It can be helpful in cases like this to incorporate a prior, or how likely we think different parameter values are, based on our existing knowledge. For example, imagine that we knew that the distribution of mortality rates across all known human diseases looked something like this:

This is a Beta prior with $\alpha=32$ and $\beta=64$, i.e., $ p \sim \text{Beta}(32, 64)$ We might want to use this prior information to guide our inferences about the mortality rate of a new disease for which we have very little information. We can combine this prior information with the likelihoods we've already plotted. If you want details about how this is done, one great starting point is this blog by David Robinson. Basically, the posterior distribution over our parameters is a Beta distribution. For parameters we take the $\alpha$ of our prior and add $x$, and take the $\beta$ of our prior and add $n-x$.

When we have very little data, this prior information really shrinks our estimates towards what we believe is a reasonable estimate of mortality, given what we've observed in the past about other diseases.

You can continually update this posterior distribution as new data comes in by adding deaths to the $\alpha$ parameter and survivals to the $\beta$ parameter of the Beta distribution.

Source Link
Loading