Okay, I thought I had this, but it seems I have no idea.
We have two events, A and B. And each event has 3 "states". We will call these states 1,2,3. And we have the following rules:
- For each event, states 1,2 and 3 are mutually exclusive. This means that for example $P(A1)+P(A2)+P(A3) = 1$
So, if I start by considering one event only, and I have $P(A1) = 0.5$ and $P(A2) = 0.3$, I can deduce $P(A3) = 0.2$.
However I now want to add this rule:
- Among the two events, if A is in state 2, B cannot be in state 2. This means, state 2 is mutually exclusive with the other event.
And I'm lost completely. I'll try to put an example with dies to see if I can explain myself better. Event A will be the first dice, Event B will be the second dice. These dice are special, they only have 3 numbers in them, these being 1, 2, and 3.
Now, If I take each dice separately, I know the probabilities. For example, for dice A, I only have three possibilities, it is either a 1, a 2 or a 3. And these are mutually exclusive. However, if I now take into consideration that if one dice gets a state 2 the other dice magically cannot get a state 2, how would I get the probability of getting a sum of 4?
If there was not that second rule, it would be:
$P(A1\cap B3) + P(A2\cap B2) + P(A3\cap B1)$
This means, all the states possible that result in a 4. However, now I don't have $P(A2\cap B2)$, because it is $0$.
I'm gonna put some numbers. Charged dies, yeah.
- P(A1) = 0.5, P(A2) = 0.2, P(A3) = 0.3
- P(B1) = 0.5, P(B2) = 0.2, P(B3) = 0.3
Now, what would be the probability of getting a $4$? If I use the previous equation but simply putting a 0 in the forbidden combination
$P(4) = 0.5\times 0.3 + 0 + 0.3\times 0.5 = 0.30$
However, the whole search space of addition are 2,3,4,5,6. And they do not add up to 1.
$P(2) = P(A1\cap B1) = 0.5\times 0.5 = 0.25$ $P(3) = P(A1\cap B2) + P(A2\cap B1) = 0.5\times 0.2 + 0.2 \times 0.5 = 0.20$ $P(5) = P(A2\cap B3) + P(A3\cap B2) = 0.2\times 0.3 + 0.3 \times 0.2 = 0.12$ $P(6) = P(A3\cap B3) = 0.3\times 0.3 = 0.09$
The sum gives: $P(2+3+4+5+6) = 0.96$. What is lacking? Correct, $P(A2\cap B2) = 0.2\times 0.2 = 0.04$.
How would the corect modified probabilities be? What would be the correct probability of getting a sum of 4? I'm totally lost :c
--- UPDATE ----
Thank you very much for the answers. I really got more insight in all this conditioned probability thingy and probability spaces. If I could get a last help here it would be much appreciated.
The real simplified case I'm facing is something like, we have two machines, $1$ and $2$. They have three possible states, working ($W$), maintenance ($M$) and repair ($R$). When they work by themselves, only one at a time, it follows the rule:
(1) Cannot be working and in maintenance or repairing at the same time. Cannot be in maintenance and working or repairing at the same time. Cannot be repairing and in maintenance or working at the same time.
This rules gives me a probability space of $P(W) + P(M) + P(R) = 1$. And I have these numbers, things like:
- P(W1) = 0.6, P(M1) = 0.3, P(R1) = 0.1
- P(W2) = 0.5, P(M2) = 0.2, P(R2) = 0.3
The problem is when I try to map the space of the two machines. I have to add this new rule:
(2) If machine 1 is in maintenance, then machine 2 will never be in maintenance, and viceversa.
The rule is intuitive, maintenance is a state that you can program, so it would be obvious to not want make both maintenances at the same time. The complete space would be now:
- $P(\text{one of the two works}) + P(\text{both work}) + P(\text{none work}) = 1$
I'm totally lost to how calculate any of these. I don't really know which events are independent here and which are not, or if I should scale things like told.
Sorry for being this hardheaded on this matter, I really want to understand better probability.
You're modeling the events as unconditional but introduced a condition (one outcome is impossible). The general conditional probability formula is: $P(B|A) = P(A$ and $B) / P(A)$. In this problem, we will only need to find the probability of each outcome (each 3-sided dice sum) given $A2 \cap B2$ cannot occur. These conditional probabilities are what will sum to 1. Ultimately we'll use the general conditional probability formula to effectively reduce our probability space to $1-P(A2 \cap B2)=P((A2 \cap B2)')=0.96$ due to the condition.
First, let's apply the conditional probability rule with a simple example using a 6-sided die (values are 1 though 6). We ask, what is the probability of rolling a 2 given we know the result is even? We write this using our general conditional probability formula: $P(2|E)=P(2$ and $E)/P(E)$. So $P(2$ and $E)$ is simply the probability of rolling a 2 and having the number be even. This is the same as $P(2)=1/6$ as every 2 we roll will be even. $P(E)=1/2$ so we're left to conclude that $P(2|E)=(1/6)/(1/2)=1/3$ which is the intuitive result. This type of condition only had the effect of shrinking the probability space from 6 to 3 possibilities (the 3 even values).
Now the case stated where the event of interest is the sum of 2 3-sided dice with values 1 through 3 of varying probabilities. As stated in the question, the (unconditional) probability of a sum of 2 is 0.25. We now ask, what is the probability of a sum of 2 given (conditional on) the probability of rolling two 2's concurrently (in the same trial) is set to zero. Instead of the unconditional $P(S2)=0.25$, where S2=a sum of 2 result, we're interested in $P(S2|i)$ where $i$ is the known impossibility of both dice rolling 2 in the same trial (we could think of $i$ as "impossibility" or "new information"). At first this may not seem to impact the event $S2$ but in fact we're reducing the possible outcomes of our trials just the same as reducing the probability space to only include even results in the previous example.
Plugging into the conditional probability formula we see that $P(S2|i)=P(S2$ and $i)/P(i)$
$P(S2$ and $i)=P(S2)=0.25$ as the special property is applied to the dice already in the same way that adding the "even" condition in the previous simple example had no impact on the numerator of the conditional probability formula.
$P(i)=0.96$ the condition $i$ represents 96% of all possible unconditional outcomes in the same way that the "even" condition represented 50% of all possible outcomes in the simple example.
$P(S2|i)=P(S2$ and $i)/P(i)=P(S2)/P(i)=0.25/0.96 \approx 0.26$
When we conduct the same operation to all conditional events the sum is 1:
$P(S2|i)=0.25/0.96 \approx 0.260$
$P(S3|i)=0.20/0.96 \approx 0.208$
$P(S4|i)=0.30/0.96 \approx 0.313$
$P(S5|i)=0.12/0.96 \approx 0.125$
$P(S6|i)=0.09/0.96 \approx 0.094$
Intuition: An intuitive way of thinking of this is that you decreased the probability/possibility space by removing a possible event, thus you need to scale the individual event probabilities by dividing by 0.96 (think "out of the 96% of space we have left").
Alternate Intuition: Instead of imposing a condition on our dice we can instead imagine truncating observations already made to achieve the same result. Imagine just running the experiment unconditionally 100 times (rolling both dice, recording the sum) and the results aligned exactly to the probabilities (if it helps, imagine we ran this trial ad-infinitum). We would record the sum of each trial and would expect 25 (25%) of trials to result in a sum of 2. If we then deleted 4 (4%) of our data/trials (the sums of 4 resulting from $A2 \cap B2$ results) the remaining trials resulting in a sum of 2 would represent $25/96 \approx 26$% of the trials in our truncated (condition/filter-applied) dataset.