Description
Returns or sets the "standard" arguments of the distribution function. Standard arguments are the traditional arguments used by @RISK, which do not include shift factors, truncation limits, or value tables (e.g. the {x} and {p} tables used by the RISKGeneral function).
Syntax
object.Arg(argIndex as Integer)
Arguments
argIndex (Required Integer) – the index into the array of arguments. The Arg list is one-based (that is, the first argument is 1, the second is 2, etc) and the ordering is the same as in the @RISK program.
Return Value
(Double) – the argument value.
Example
'Create a normal with a mean of 22 and a stdev of 5:
Dim dist as New RDKDistribution
With dist
.DistType = RDKDistTypeNormal
.Arg(1) = 22
.Arg(2) = 5
End With