Should we allow for functions that sample nFathers to sample 0? #292
-
In reality, if the drones are in the vicinity, the queens would fly as many times as necessary to mate. Should we then even allow for functions that pull drones groups from DCA to pull out 0 drones? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
I think it depends on what a user would like to model. I thinking it’s important to split: i) biology, ii) function behaviour, iii) flexibility - at least as much as possible. Obviously we should follow biology as much as possible!!! But, we can make the functions a bit more general and then give the user option to follow biology closely or deviate from it somewhat. Ideally, the default should be in line with biology. This is why I was not happy with the Poisson distribution in sampling the number of fathers in #84 and suggested zero-truncated Poisson. |
Beta Was this translation helpful? Give feedback.
-
If other virgin queens are mated successfully, it means there are drones around - hence the virgin queen would take as many mating flights as needed to get mated. The only option that the mating is unsuccessful is if she doesn't return (this is summarizing Janez's words). |
Beta Was this translation helpful? Give feedback.
-
Which is why we have the truncated Poisson distribution. I don’t buy that mating is always successful though, hence good to have Poisson as an option should one need it. |
Beta Was this translation helpful? Give feedback.
-
Ok, just to write down current functionality. We now have a function
Here is the code for these tests:
|
Beta Was this translation helpful? Give feedback.
-
Another question. If |
Beta Was this translation helpful? Give feedback.
-
I think the best behaviour would be to proceed when we are in the warning mode. Don’t worry about too much warnings just now. We can address that later. At any rate, this will be an “advanced” simulation - most simulations will have more than zero fathers so this is just an extreme. Does this make sense? |
Beta Was this translation helpful? Give feedback.
I think the best behaviour would be to proceed when we are in the warning mode. Don’t worry about too much warnings just now. We can address that later. At any rate, this will be an “advanced” simulation - most simulations will have more than zero fathers so this is just an extreme. Does this make sense?