Math.Random.PoissonDistribution
-------------------------------

Generates a random number using poisson distribution.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Math](component_Math.md) | [14.0](newinversion140.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Math.Random.PoissonDistribution"; Mean ) 

**MBS**( **"Math.Random.PoissonDistribution";** /\* Generates a random number using poisson distribution. \*/  
**$Mean**) /\* The mean value to use.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Mean | The mean value to use. | 1 |

### Result

Returns number or error.

### Description

Generates a random number using poisson distribution.  
Produces random non-negative integer values i, distributed according to discrete probability function.  
### Examples

Get a list of 10 values:

 While(  
 \[  
 count = 10;  
 sum = 0;  
 i = 0;  
 list = ""  
 \];  
 i &lt; count;  
 \[  
 value = MBS ( "Math.Random.PoissonDistribution"; 5);  
 sum = sum + value;  
 list = list &amp; value &amp; ¶;  
 i = i + 1  
 \];  
 list &amp; ¶ &amp; sum / count  
)  
<small>  
Example result:   
3  
1  
5  
6  
5  
5  
5  
7  
6  
6  
  
4.9</small>### See also

- [Math.Random.NormalDistribution](MathRandomNormalDistribution.md)

### Release notes

- **Version 14.0**
    - Added [Math.Random.ExponentialDistribution](https://www.mbsplugins.eu/MathRandomExponentialDistribution.shtml), [Math.Random.NormalDistribution](https://www.mbsplugins.eu/MathRandomNormalDistribution.shtml) and [Math.Random.PoissonDistribution](https://www.mbsplugins.eu/MathRandomPoissonDistribution.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 14.0](https://www.mbsplugins.de/archive/2024-01-23/New_in_MBS_FileMaker_Plugin_14/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 14.0 für Claris FileMaker](https://www.mbsplugins.de/archive/2024-01-16/Neues_MBS_Plugin_140_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 14.0 for Claris FileMaker](https://www.mbsplugins.de/archive/2024-01-16/MBS_FileMaker_Plugin_140_for_C/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.6pr2](https://www.mbsplugins.de/archive/2023-12-07/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 2nd December 2023 , last changed 2nd December 2023

  
[Math.Random.NormalDistribution](MathRandomNormalDistribution.md) - [Math.Rate](MathRate.md)

[HTML Version](MathRandomPoissonDistribution.shtml)