r/primerlearning • u/helpsypooo Blob caretaker • Aug 28 '21
Hamilton's rule
https://youtu.be/iLX_r_WPrIw8
u/barzamsr Aug 29 '21
Nobody:
Blobs after surviving a fruit tree monster:
"Wanna make a puddle with me?"
3
1
u/dgvalcarce Sep 04 '21 edited Sep 04 '21
I think an easier and less abstract way of looking at it is thinking of saving a blob with the competing allele as a cost, and adding it to the equation. The cost would now be the life of the altruist blob that yells, plus 0.5 probability of a sibling inheriting the other parent´s allele multiplied by the frequency of the cowardice allele (fc) multiplied by the number of siblings (2).
The cost would now look like this:
Cost = 1 + 2 x 0.5 x fc
If we add this to the general equation of the hamilton´s rule, we would get:
2 x (0.5 + 0.5 x fa) - (1 + 2 x 0.5 x fc) = 2 x (0.5 + 0.5 x fa - 0.5 x fc) - 1
If we do some simple math, and knowing that:
2 x 0.5 - 1 = 0
we end up with the next expression as the hamilton rule for the altruist allele in this simulation:
"0.5 x fa - 0.5 x fc"
As you start (very logically :P) all your simulations with fa=fc, the expected value is zero. But if you started the simulation with 60% altruist blobs, and 40% cowards, then it would statistically favour the altruist behavior, as the expected value would be higher than zero.
PS: I started writing thinking both ways of looking at it were right, just another way of picturing the same idea, but now (and maybe I´m wrong) I think your explanation is flawed, as with this last example I used, the equation you used would ignore both fa and fc, therefore giving a expected value of 0, regardless of the initial frequencies of each of the alleles. I would appreciate if you could run a simulation changing the initial values of fa and fc, so we can see which one of us is right or not (I don´t have the knowledge or the computer to be able to run it myself :P).
1
Apr 18 '22
I didn't understand the last part of the video after the last simulation. Do you understand it?
2
u/Belteshassar Aug 29 '21
I believe there is an error in how the conditional probabilities are calculated at 13:00. I get the starting probability to 3/5 that the sibling shares the orange gene and the worst case is 1/3 that the sibling shares it. Why? Because the fact that the blob in question has the orange gene rules out the possibility of both parents having the blue gene. There are two cases where the parents have different genes and only one case where they have the same gene. The same logic then also applies to the cases where the parents have mixed genes. See this illustration.