Hey, I want to write a Computer Simulation in C++, which simulates the development of a DNA sequence with a probability to mutate(adsbygoogle = window.adsbygoogle || []).push({}); xin one "generation". I do have a variable number (=n) of copies of this DNA. Now one might think, to simulate the mutation by simply:

sum(n*Poisson distributed random variable(x) ) to get the number of mutated DNA copies. But this would be too slow.

So my question is, could I also just create a

binomically distributed random variable and multiply it by n * xto get the number of mutated DNA's? Or is this statistically incorrect?

If not, how might I set the Params for the Bin. dis.? Can I take 1 as a mean and multiply the result x or has the mean to be x? And how do I set / transform the variance of the distribution in a ratio to number of copies.

As you might probably have guessed, I'm a beginner in statistics, but i would be really grateful for any help. Thanks in advance,

Hagen

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Binomical vs poisson distribution in Simulations

Loading...

Similar Threads - Binomical poisson distribution | Date |
---|---|

A Poisson/exponential process with step-wise decreasing rate | Tuesday at 11:55 PM |

I Conditional Expectation Value of Poisson Arrival in Fixed T | Dec 21, 2017 |

I Poisson distribution regarding expected distance | Oct 22, 2017 |

I Is this a Poisson distribution problem? | Jun 8, 2017 |

Converting Binomal cpk to a fair dice deviation. | Feb 23, 2012 |

**Physics Forums - The Fusion of Science and Community**