LOGNORM_INV
function LOGNORM_INV(arg1: number = null, arg2: number = null, arg3: number = null): number
Description
Returns the inverse of the lognormal cumulative distribution function of x, where ln(x) is normally distributed with the specified parameters.
Parameters
- arg1
number
null A probability associated with the lognormal distribution, a number between 0 and 1, inclusive.
- arg2
number
null The mean of ln(x).
- arg3
number
null The standard deviation of ln(x), a positive number.
Returns
number
Try It
var oWorksheet = Api.GetActiveSheet();
var oFunction = Api.GetWorksheetFunction();
oWorksheet.GetRange("A1").SetValue(oFunction.LOGNORM_INV(0.3, 2, 0.2));