RiskTruncate2
Description
|
RiskTruncate2(minimum,maximum) truncates the corresponding input distribution. Truncating a distribution restricts samples drawn from the distribution to values within the entered minimum-maximum range. Truncated forms of specific distributions available in earlier versions of @RISK (such as RiskTnormal and RiskTlognorm) are still supported.
|
Examples
|
RiskTriang(10,20,30,RiskTruncate2(13,27)) restricts the samples drawn from the RiskTriang(10,20,30) distribution to a minimum possible value of 13 and a maximum possible value of 27.
|
Guidelines |
minimum must be less than or equal to maximum. To enter a distribution that is truncated on only one side, leave the argument for the unbounded side blank, as in RiskNormal(10,1,RiskTruncate2(5,)). This sets the minimum to 5 but leaves the maximum unbounded. If RiskTruncate2 is applied to a distribution that also has a RiskShift function, the truncation occurs after the shift. If it is desirable to have the truncation occur before the shift, use the RiskTruncate property function. |