I hope that helps and if you have any more questions, please ask.

  • Thread starter daigo
  • Start date
  • Tags
    Theorem
In summary, Bayesian statistics is a powerful tool that allows us to understand probability and make statistical inferences in a more flexible and accurate way. By considering parameters as random variables, we are able to handle complex distributions and make better use of data. This method is based on Bayes' Theorem, which allows us to calculate posterior probabilities from a prior and likelihood. This approach can be used as a more intuitive way to understand probability and statistics, and can lead to more accurate results in many cases.
  • #1
daigo
27
0
So here is the typical question:

1% of women at age forty who participate in routine screening have breast cancer. 80% of women with breast cancer will get positive mammographies. 9.6% of women without breast cancer will also get positive mammographies. A woman in this age group had a positive mammography in a routine screening. What is the probability that she actually has breast cancer?

I know that Bayes' Theorem should be applied here, but I don't understand why. I am going to pretend I don't know the formula and try to solve this, but I can't seem to get it:

W = Women in age group 40
B = Has Breast cancer
P = Positive tested for breast cancer

.01W = B
(.8B)W = P
(.096[W - B])W = P

Since 1% of women in this age group have breast cancer,
80% of those with breast cancer in this age group have positive mammographies,
and 9.6% of those without breast cancer in the age group also have positive mammographies.

I solved for W, B, and P and got 9.333 (repeating), .09333 (repeating), and .0696888 (repeating) respectively.

So the probability of having breast cancer from a positive mammography would be: .09333 / .0696888, no? But obviously that isn't the correct answer since that's over 100% chance.

How does one work this out intuitively? I don't even understand how the Bayesian formula is derived for this type of problem. I understand that I have to use it and why it works, but not why I have to use it and why I have to apply it.
 
Mathematics news on Phys.org
  • #2
Actually, I had much better luck with these:

.01W = B
(.8B) / W = P
(.096[W - B]) / W = P

And B/P = 0.11666 (repeating) which would be around 11.66%, much closer to the real answer.
 
  • #3
daigo said:
So here is the typical question:

I know that Bayes' Theorem should be applied here, but I don't understand why. I am going to pretend I don't know the formula and try to solve this, but I can't seem to get it:

Hey daigo and welcome to the forums.

Bayesian statistics is basically a fancy way of using conditional probabilities and associated results to do things like statistical inference. Bayesian probability is based on the same sort of thing but its in the context of probability and not statistics.

With the Bayesian probability, what we do is consider parameters in a distribution to be a random variable. In classical statistics parameters are fixed quantities (constants). In Bayesian statistics, these parameters actually have a distribution and this needs to be taken into account and the way we do this kind of thing is to use Bayesian methods.

With your probability example for health, what you are doing is considering a situation where results are conditional on something. In this instance you are considering the cases of false negatives and false positives which in english mean the chance of getting a negative result given that you actually have a disease and getting a positive result given that you do not actually have the disease. We represent this kind of thing as a conditional probability like P(R+ | D-) which would mean probability that we get a positive result given that we don't have the disease.

In terms of Bayes rule, what we are doing is we are looking at three things: calculating a posterior from a likelihood and a prior. The prior is a random variable that corresponds to some parameter and the likelihood is a normal likelihood function like in classical. So for example consider a binomial model: The prior is an independent distribution for the probability parameter, the likelihood is the standard binomial likelihood and the posterior is a distribution for the parameter given the data that you have.

When you see the above in symbols its a way of converting P(A|B) to P(B|A). But in english what this is doing is allowing us for parameters to be random variables.

We do this for a number of reasons. One reason is that we can generalize distributions to take account for the many possible distributions that can exist. Also if we know a particular prior or can estimate it, then we will get more accurate results. This leads to things like being able to use less data points to make an accurate statistical inference.

In terms of theoretical statistics, you can derive all the classical results in classical statistics using the Bayesian methods and you end up getting the same results as the classical for many of the results. Basically classical statistics are a special case of Bayesian statistics.

Also Bayesian statistics allows us to simulate very very complex distributions that can not be simulated through other means. This is used everywhere where probabilities and inferences need to be made, but can't using classical means. It's not just for probabilities though: it's for the whole statistical side of doing hypothesis testing and inference.

There are also philosophical differences but I won't get into those.

If the above is confusing, then the best thing to take away from this is that a) Classical statistics is a special case of Bayesian statistics b) Bayesian statistics allows us to find probabilities and distributions where we can't do with classical means and c) It allows us to understand probability (and statistics) in a different way when we look at things from the conditional perspective.
 

What is Bayes' Theorem?

Bayes' Theorem is a mathematical formula that helps us calculate the probability of an event occurring, given certain prior knowledge or information. It is named after Reverend Thomas Bayes, an 18th-century mathematician who first described the concept.

How does Bayes' Theorem work?

Bayes' Theorem is based on the idea of conditional probability, which is the likelihood of an event occurring given that another event has already occurred. It involves multiplying the prior probability (the initial probability of the event) by the likelihood ratio (the probability of the evidence given the event) and then normalizing the result to get the updated probability.

What are the applications of Bayes' Theorem?

Bayes' Theorem has numerous applications in fields such as statistics, artificial intelligence, and machine learning. It is used to make predictions, classify data, and update beliefs based on new evidence. It is also widely used in medical diagnosis, spam filtering, and risk assessment.

What is the difference between frequentist and Bayesian statistics?

Frequentist statistics relies on long-term frequencies and uses a fixed probability to make predictions. On the other hand, Bayesian statistics takes into account prior knowledge and uses probability as a measure of beliefs. Frequentist statistics is often seen as more objective, while Bayesian statistics allows for more flexibility and subjectivity.

Are there any limitations to Bayes' Theorem?

While Bayes' Theorem is a powerful tool for calculating probabilities, it does have some limitations. It relies on having accurate prior probabilities and a large enough sample size. It can also be influenced by subjective beliefs and assumptions. In addition, it may not be suitable for complex and non-linear problems.

Similar threads

Replies
80
Views
3K
  • Calculus and Beyond Homework Help
Replies
1
Views
859
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
Replies
1
Views
1K
  • Beyond the Standard Models
Replies
23
Views
3K
  • General Discussion
Replies
4
Views
10K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Other Physics Topics
Replies
10
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
22
Views
18K
Back
Top