Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Math.Random.PoissonDistribution
Generates a random number using poisson distribution.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Math | 14.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Math.Random.PoissonDistribution"; Mean ) More
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 < count;
[
value = MBS( "Math.Random.PoissonDistribution"; 5);
sum = sum + value;
list = list & value & ¶;
i = i + 1
];
list & ¶ & sum / count
)
Example result:
3
1
5
6
5
5
5
7
6
6
4.9
See also
Release notes
- Version 14.0
- Added Math.Random.ExponentialDistribution, Math.Random.NormalDistribution and Math.Random.PoissonDistribution functions.
Blog Entries
- New in MBS FileMaker Plugin 14.0
- Neues MBS Plugin 14.0 für Claris FileMaker
- MBS FileMaker Plugin 14.0 for Claris FileMaker
- MBS FileMaker Plugin, version 13.6pr2
This function is free to use.
Created 2nd December 2023, last changed 2nd December 2023