POISSON sizeNumber lambdaNumber resultVariable

Replaces the contents of the result variable with sizeNumber numbers randomly selected from the Poisson distribution with the specified lambdaNumber.

POISSON 10000 5 Successes
HISTOGRAM percent Successes

The above program produces the following output, where the "Frequency (%)" is the probability of exactly k successes, and k corresponds to the bin number:


If you would like a more numerical emphasis, you can use the HISTOGRAMPLOT command:

POISSON 10000 5 result
HISTOGRAMPLOT percent result

The above program produces the following output, where the "Pct Freq" is the probability of exactly k successes, and k corresponds to the bin number:

       Bin     Bin     Pct     Cum Pct
Bin#   Start   Center  Freq    Freq    result
0      0.0     0.5     0.72    0.72    X
1      1.0     1.5     3.55    4.27    XXXXXXXX
2      2.0     2.5     8.34    12.61   XXXXXXXXXXXXXXXXXXXXX
3      3.0     3.5     14.12   26.73   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
4      4.0     4.5     17.15   43.88   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5      5.0     5.5     17.8    61.68   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
6      6.0     6.5     14.96   76.64   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7      7.0     7.5     10.53   87.17   XXXXXXXXXXXXXXXXXXXXXXXXXX
8      8.0     8.5     6.17    93.34   XXXXXXXXXXXXXXX
9      9.0     9.5     3.53    96.87   XXXXXXXX
10     10.0    10.5    1.78    98.65   XXXX
11     11.0    11.5    0.74    99.39   X
12     12.0    12.5    0.39    99.78   
13     13.0    13.5    0.16    99.94   
14     14.0    14.5    0.05    99.99   
15     15.0    15.5    0.01    100