I know that $$p(a|b)=\frac{p(a, b)}{p(b)}$$ And I also know $$p(a, b) = p(a)p(b)$$
So, algebraically, it all seems to me that $$p(a|b)=p(a)$$
I know something is wrong with this situation that I'm thinking about but I don't know where I am wrong.
My problem is that I have Bayesian network like
this image.
I have the probability distribution for the MotherGene and FatherGene, and I wanna calculate the conditional probability $p(ChildGene=1|MotherGene=0,FatherGene=2)$. So it's gonna be $$ \frac{p(ChildGene=1, MotherGene=0, FatherGene=2)}{p(MotherGene=0, FatherGene=2)}$$
It's exactly like $p(ChildGene=1)$ when I try to calculate and the Bayesian network doesn't affect anything.
For example if eye colour is the gene, let $p(B)$ be the probability that the child's eye colour is blue, and $P(B|MB)$ be the probability that the child's eye colour is blue given that the mother's eye colour is blue.
Suppose the probability that the eye colour is blue is 0.25 but mothers with blue eyes give birth to children with blue eyes 50% of the time then $$ P(B)=0.25\\ P(B|MB)=0.5 $$ Now assuming mothers come from the same population as the children, $P(MB)=0.25$, so $P(B)P(MB)=0.25^2={1\over 16}$ but $P(B|MB)=0.5\neq P(B)P(MB)$.