Distributions

MM_CDF

Cumulated Distribution Function (CDF)

MM_CDF(Dist, X, Parameter1, Parameter2, Parameter3)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

X
Value at which the CDF is evaluated

Parameter1
First parameter of the distribution

Paramater2
Second parameter of the distribution (if any)

Parameter3
Third parameter of the distribution (if any)


MM_CDF_TRUNC

Truncated Cumulated Distribution Function (CDF)

MM_CDF_TRUNC(Dist, X, Parameter1, Parameter2, Parameter3, LowerBound, UpperBound)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

X
Value at which the CDF is evaluated

Parameter1
First parameter of the distribution

Paramater2
Second parameter of the distribution (if any)

Parameter3
Third parameter of the distribution (if any)

LowerBound
Lower bound of X

UpperBound
Upper bound of X


MM_CDF_MS

Cumulated Distribution Function (CDF) from Mean and Std Dev

MM_CDF_MS(Dist, X, Mean, StdDev, Parameter3)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

X
Value at which the CDF is evaluated

Mean
Mean of the desired distribution

StdDev
Standard Deviation of the desired distribution

Parameter3
Third parameter of the distribution (if any)


MM_CDF_MS_TRUNC

Truncated Cumulated Distribution Function (CDF) from Mean and Std Dev

MM_CDF_MS_TRUNC(Dist, X, Mean, StdDev, Parameter3, LowerBound, UpperBound)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

X
Value at which the CDF is evaluated

Mean
Mean of the desired distribution

StdDev
Standard Deviation of the desired distribution

Parameter3
Third parameter of the distribution (if any)

LowerBound
Lower bound of X

UpperBound
Upper bound of X


MM_DISTRIBUTIONSLIST

Return the list of available distributions. The result is a matrix.

MM_DISTRIBUTIONSLIST()

MM_InvCDF

MILLIMAN Inverted Cumulated Distribution Function (CDF)

MM_InvCDF(Dist, X, Parameter1, Parameter2, Parameter3)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

X
Probability between 0 and 1

Parameter1
First parameter of the distribution

Parameter2
Second parameter of the distribution (if any)

Parameter3
Third parameter of the distribution (if any)


MM_InvCDF_TRUNC

MILLIMAN Truncated Inverted Cumulated Distribution Function (CDF)

MM_InvCDF_TRUNC(Dist, X, Parameter1, Parameter2, Parameter3, LowerBound, UpperBound)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

X
Probability between 0 and 1

Parameter1
First parameter of the distribution

Parameter2
Second parameter of the distribution (if any)

Parameter3
Third parameter of the distribution (if any)

LowerBound
Lower bound of X

UpperBound
Upper bound of X


MM_InvCDF_MS

Inverse Cumulated Distribution Function (InvCDF) from Mean and Std Dev

MM_InvCDF_MS(Dist, X, Mean, StdDev, Parameter3)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

X
Probability between 0 and 1

Mean
Mean of the desired distribution

StdDev
Standard Deviation of the desired distribution

Parameter3
Third parameter of the distribution (if any)


MM_InvCDF_MS_TRUNC

Truncated Inverse Cumulated Distribution Function (InvCDF) from Mean and Std Dev

MM_InvCDF_MS_TRUNC(Dist, X, Mean, StdDev, Parameter3, LowerBound, UpperBound)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

X
Probability between 0 and 1

Mean
Mean of the desired distribution

StdDev
Standard Deviation of the desired distribution

Parameter3
Third parameter of the distribution (if any)

LowerBound
Lower bound of X

UpperBound
Upper bound of X


MM_PARAMNAME

Return the name of a parameter

MM_PARAMNAME(DistName, ParamNumber)

DistName
Distribution name

ParamNumber
Index of the parameter to be return


MM_PDF

MILLIMAN Probability Distribution Function (PDF)

MM_PDF(Dist, X, Parameter1, Parameter2, Parameter3)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

X
Value at which the PDF is evaluated

Parameter1
First parameter of the distribution

Parameter2
Second parameter of the distribution (if any)

Parameter3
Third parameter of the distribution (if any)


MM_PDF_MS

MILLIMAN Probability Distribution Function (PDF)

MM_PDF_MS(Dist, X, Mean, StdDev, Parameter3)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

X
Value at which the PDF is evaluated

Mean
Mean of the desired distribution

StdDev
Standard Deviation of the desired distribution

Parameter3
Third parameter of the distribution (if any)


MM_RANDOM

Use MILLIMAN random number generator to return a number between 0 and 1 (excluded).

MM_RANDOM()

MM_RANDOMIZE

Reinitialize MILLIMAN random number generator to the desired seed

MM_RANDOMIZE(Seed, FIXRS)

Seed
Initial seed of used random generator: if <0 takes clock, if >1 takes int of value, if 0<=seed<1, the random function will always return the seed

FIXRS
If true then the random seed will be fixed


MM_SIMULATE

Simulation of the desired distribution

MM_SIMULATE(Dist, Parameter1, Parameter2, Parameter3)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

Parameter1
First parameter of the distribution

Parameter2
Second parameter of the distribution (if any)

Parameter3
Third parameter of the distribution (if any)


MM_SIMULATE_TRUNC

Simulation of the desired truncated distribution

MM_SIMULATE_TRUNC(Dist, Parameter1, Parameter2, Parameter3, LowerBound, UpperBound)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

Parameter1
First parameter of the distribution

Parameter2
Second parameter of the distribution (if any)

Parameter3
Third parameter of the distribution (if any)

LowerBound
Lower bound of X

UpperBound
Upper bound of X


MM_SIMULATE_MS

Simulation of the desired distribution from Mean and Std Dev

MM_SIMULATE_MS(Dist, Mean, StdDev, Parameter3)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

Mean
Mean of the desired distribution

StdDev
Standard Deviation of the desired distribution

Parameter3
Third parameter of the distribution (if any)


MM_SIMULATE_MS_TRUNC

Simulation of the desired truncated distribution from Mean and Std Dev

MM_SIMULATE_MS_TRUNC(Dist, Mean, StdDev, Parameter3, LowerBound, UpperBound)

Dist
Distribution Name (e.g. Beta, Gamma, Lognormal, Normal, ...)

Mean
Mean of the desired distribution

StdDev
Standard Deviation of the desired distribution

Parameter3
Third parameter of the distribution (if any)

LowerBound
Lower bound of X

UpperBound
Upper bound of X