Brian Dunning's FileMaker Custom Functions

RandomPareto ( scale ; shape )

Returns random values from a Pareto distribution

  Average rating: 4.7 (26 votes) Log in to vote

Jeremy Bante   Jeremy Bante

https://github.com/jbante/

Share on Facebook Share on Twitter

  Sample input:
List (
RandomPareto ( 10 ; 5 );
RandomPareto ( 10 ; 5 );
RandomPareto ( 10 ; 5 );
RandomPareto ( 10 ; 5 );
RandomPareto ( 10 ; 5 );
RandomPareto ( 10 ; 5 );
RandomPareto ( 10 ; 5 );
RandomPareto ( 10 ; 5 );
RandomPareto ( 10 ; 5 );
RandomPareto ( 10 ; 5 )
)
  Sample output:
10.5075522381065894
10.524957808845031
10.2187113385470931
14.2580587120924929
14.9641695165561222
10.7538731493954288
11.4079729903101383
11.2475005409345975
10.8063240404453201
10.3323346040929216

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

When called repeatedly, RandomPareto creates values consistent with a Pareto random variable with the given parameters.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: