Binomical vs poisson distribution in Simulations

hagen
Hey, I want to write a Computer Simulation in C++, which simulates the development of a DNA sequence with a probability to mutate x in 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 * x​
to 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 news on Phys.org
Hm, if I remember correct, there is a link between the binomial and Poisson distribution.. Poisson's probability function is given with f(x)=\frac{\lambda^x}{x!}e^{-\lambda}. Now, I think you can put \lambda=mp, where the number of repetitions of a Bernoulli scheme experiment m \rightarrow \infty and it's probability p \rightarrow 0.
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Back
Top