- #1
pretley
- 4
- 0
I hope this the right place to ask this question. I appologize if this is in the wrong place.
I am not from a probability background. I have tried to search for an answer to my question, but I have not found it in any of the literature which I can understand. I'm not even sure exactly how to classify the question, which has hampered my search efforts! Maybe someone can point me in the right direction.
The question could be put something like this:
"If A occurs then there is a 50% of C occurring next. If B occurs then there is a 60% chance of C occurring next. What is the chance of C occurring next if both A and B occur at the same time?"
This is not a "homework" question or a question from a textbook! It is a simplified version of a question I am facing in a piece of Arduino code I am trying to write which predicts changes in galvanic skin response (currently as a hobby, but potentially moving towards medical research if it yields results).
I won't enter on a tangent by using the specifics of the code in this forum, but a similar non-coding analogy might be if a teenager asks his/her parents if they can stay out late, and the mother (A) is 50% likely to say yes (C) if asked on her own and the father (B) is 60% likely to say yes (C) if asked on his own - so what is the likelihood they will say yes (C) if asked together when they are both in the same room?
Obviously A and B are not exclusive - but nor are they completely independent. Sometimes they are influenced by the same causes, and sometimes they can be influenced by independent causes. When they do occur together then their effects can "stack", and if the probability of C following B is higher than the probability of C following A then the overall probability of C following both A and B occurring at the same time is at least greater than that of C following the smallest probability (of A on its own).
My problem is that I'm unsure how to approach the combined probability. The literature I have read seems to suggest I either add the probabilities or multiply them, but neither would work in this case.
If I add 50% and 60% I end up with 110% - which would make C occurring a certainty when A and B both occur together, which testing has proven is false.
If I multiply 50% by 60% I end up with 30% - which is less than either, and so clearly wrong!
I'm guessing I might need to take a mean average of 50% and 60%? Is that a standard process in these situations?
I am unsure if A has an affect on B when they both occur together. At the moment I just want to work out the answer as if they have no affect on each other. Later I might go back and try to work out the influence of one on the other. I'm guessing that I should take a mean average of the two, and if it later turns out that either of A or B influences the other when they both occur together (eg, if one takes a more prominent role over the other) then I can give one of the values a greater weighting in the average?
I have tried to work out the probability of C when both A and B occur through observational testing - but the reason I have to do it by looking at them both separately is that they both occur together so rarely that they do not produce a large enough sample size to be confident in the answer. There are hundreds of times when A occurs on its own, and hundres of times when B occurs on its own, but less than about 10 times when they both occur together (in each test period).
I was hoping to take advantage of the large sample sizes for A and B separately to give a more confident answer to when A and B occur together than just relying on a < 10 sample size.
I hope I have explained it clearly enough. Sorry if this is an obvious question, but I have very little experience in probability and I haven't managed to find the answer by searching so far. Perhaps someone could tell me the name of this problem at least so that I know where to look it up. Thanks.
I am not from a probability background. I have tried to search for an answer to my question, but I have not found it in any of the literature which I can understand. I'm not even sure exactly how to classify the question, which has hampered my search efforts! Maybe someone can point me in the right direction.
The question could be put something like this:
"If A occurs then there is a 50% of C occurring next. If B occurs then there is a 60% chance of C occurring next. What is the chance of C occurring next if both A and B occur at the same time?"
This is not a "homework" question or a question from a textbook! It is a simplified version of a question I am facing in a piece of Arduino code I am trying to write which predicts changes in galvanic skin response (currently as a hobby, but potentially moving towards medical research if it yields results).
I won't enter on a tangent by using the specifics of the code in this forum, but a similar non-coding analogy might be if a teenager asks his/her parents if they can stay out late, and the mother (A) is 50% likely to say yes (C) if asked on her own and the father (B) is 60% likely to say yes (C) if asked on his own - so what is the likelihood they will say yes (C) if asked together when they are both in the same room?
Obviously A and B are not exclusive - but nor are they completely independent. Sometimes they are influenced by the same causes, and sometimes they can be influenced by independent causes. When they do occur together then their effects can "stack", and if the probability of C following B is higher than the probability of C following A then the overall probability of C following both A and B occurring at the same time is at least greater than that of C following the smallest probability (of A on its own).
My problem is that I'm unsure how to approach the combined probability. The literature I have read seems to suggest I either add the probabilities or multiply them, but neither would work in this case.
If I add 50% and 60% I end up with 110% - which would make C occurring a certainty when A and B both occur together, which testing has proven is false.
If I multiply 50% by 60% I end up with 30% - which is less than either, and so clearly wrong!
I'm guessing I might need to take a mean average of 50% and 60%? Is that a standard process in these situations?
I am unsure if A has an affect on B when they both occur together. At the moment I just want to work out the answer as if they have no affect on each other. Later I might go back and try to work out the influence of one on the other. I'm guessing that I should take a mean average of the two, and if it later turns out that either of A or B influences the other when they both occur together (eg, if one takes a more prominent role over the other) then I can give one of the values a greater weighting in the average?
I have tried to work out the probability of C when both A and B occur through observational testing - but the reason I have to do it by looking at them both separately is that they both occur together so rarely that they do not produce a large enough sample size to be confident in the answer. There are hundreds of times when A occurs on its own, and hundres of times when B occurs on its own, but less than about 10 times when they both occur together (in each test period).
I was hoping to take advantage of the large sample sizes for A and B separately to give a more confident answer to when A and B occur together than just relying on a < 10 sample size.
I hope I have explained it clearly enough. Sorry if this is an obvious question, but I have very little experience in probability and I haven't managed to find the answer by searching so far. Perhaps someone could tell me the name of this problem at least so that I know where to look it up. Thanks.
Last edited: