Understanding the Poisson Distribution of a Random Number Generator

I am working with a random number generator available in C ++ 11. At the moment I am using a uniform distribution, which should give me an equal chance of getting any number within the range A and B that I specify.

However, I am confused about creating Poisson distributions. Although I understand how to determine the Poisson probability , I do not understand how a random series of numbers can be “distributed” based on the Poisson distribution.

For example, the C ++ 11 constructor for the Poisson distribution takes one argument - λ, which is a means of distribution

std::tr1::poisson_distribution<double> poisson(7.0);
std::cout << poisson(eng) << std::endl;

In the Poisson probabilistic problem, this is equal to the expected number of successes / occurrences during a given interval. However, I do not understand what he represents in this case. What is success / occurrence in a random number scenario?

I appreciate any help or reference that I can use to help me figure this out.

+5
source share
1 answer

- . , , . , . , , , , (0 ) . & Lambda; , .

RNG, , ( ). ; , , , , .

, , , , , :

http://www.mathworks.com/help/toolbox/stats/brn2ivz-127.html

, , . & lambda; == 2 13% 0, 27% 1, 27% 2... 0.0 1.0. <= 0,13, 0. <= 0,40 1. <= 0,67 2 .....

+3

All Articles